[
https://issues.apache.org/jira/browse/JCLOUDS-71?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13662029#comment-13662029
]
TangYong commented on JCLOUDS-71:
---------------------------------
Backing to Ioannis's reviewing, I made detailed investigation about the issue.
My env is an OSGi env(Karaf), I have found that
1. Both the property file loading and ManagedShellTableFactory injection way
all happened while running image-list command.
Based on Ioannis's comment, current source has not made a differentiation for
this.
2. ManagedShellTableFactory bean's updated method(config admin) has not been
triggered by some place while using injection way, that has cause
shellTableFactory field has not been initialized correctly.
Thanks
Tang
> jclouds:image-list can not list current image of openstack env
> --------------------------------------------------------------
>
> Key: JCLOUDS-71
> URL: https://issues.apache.org/jira/browse/JCLOUDS-71
> Project: jclouds
> Issue Type: Improvement
> Components: jclouds-karaf
> Affects Versions: 1.7.0
> Environment: openstack 2012.1.3-dev(Essex)
> karaf 2.3.1
> jclouds-karaf master
> Reporter: TangYong
> Priority: Critical
> Attachments: jclouds-commands.xml.patch
>
>
> Seeing the following:
> karaf@root> jclouds:compute-service-create --api openstack-nova --endpoint
> http://10.167.157.86:5000/v2.0 --identity admin:admin --credential ******
> --add-option jclouds.keystone.credential-type=passwordCredentials
> Waiting for compute service with name: openstack-nova.
> karaf@root> jclouds:node-list
> [id] [location]
> [hardware] [group] [status]
> RegionOne/a1da4e27-9974-4941-bf25-c53a7d2a0f5d
> 1ce52682441c34ad7afde77fb30634211b5ce02884ba54ca0f35ff0a RegionOne/1 null
> RUNNING
> RegionOne/285c730c-bd64-4818-91aa-b87db88e1e3e
> 1ce52682441c34ad7afde77fb30634211b5ce02884ba54ca0f35ff0a RegionOne/2 null
> RUNNING
> RegionOne/d18ff351-7c1e-452c-bcbb-1e4e4ac34ae7
> 1ce52682441c34ad7afde77fb30634211b5ce02884ba54ca0f35ff0a RegionOne/2 null
> RUNNING
> karaf@root> jclouds:image-list
> null
> null
> karaf@root>
> In my openstack env, using nova image-list can obtain the following:
> root@ubuntu:~# nova image-list
> +--------------------------------------+-----------------------------+--------+--------+
> | ID | Name | Status
> | Server |
> +--------------------------------------+-----------------------------+--------+--------+
> | 7cf21d93-d04a-4fb4-a09b-f546a9461726 | Ubuntu 12.04 cloudimg amd64 | ACTIVE
> | |
> +--------------------------------------+-----------------------------+--------+--------+
> So, I think that this is a bug. Wish team can confirm it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira