Bug #9273
closedunable to view compute resource information related to docker via cli
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1190139
Description of problem:
unable to view compute resource information related to docker via cli.
Trying to view information related to libvirt compute-resource works fine though.
Version-Release number of selected component (if applicable):
Beta-snap1-compose3
How reproducible:
always
Steps to Reproduce:
1. add a compute-resource of type docker
2. try to fetch info related to it
3.
Actual results:
[root@yyy yum.repos.d]# hammer u admin -p changeme compute-resource info --id 1|-----------------|---------
/usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
Error: can't convert nil into Array
[root@yyy yum.repos.d]# hammer -u admin -p changeme compute-resource info --name docker_resource
/usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
Error: can't convert nil into Array
[root@yyy yum.repos.d]# hammer -u admin -p changeme compute-resource list --organization-id 1
/usr/lib/ruby/gems/1.8/gems/hammer_cli-0.1.4/lib/hammer_cli/./apipie/../abstract.rb:68: warning: already initialized constant DEFAULT_LABEL_INDENT
--
ID | NAME | PROVIDER
---|-----------------|---------
1 | docker_resource | Docker
---|-----------------|---------
Expected results:
should display the info related to compute-resources
Additional info:
no errors seen in foreman/production.log