** Changed in: glance
Status: Fix Committed => Fix Released
** Changed in: glance
Milestone: None => grizzly-rc1
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1132294
Title:
glance image-list does not return shared images using v1 api
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Released
Bug description:
Listing images using "glance image-list" does not seem to return
shared images. This appears to be a regression. I discovered this
when looking into bug #1114821 and also ran across bug #1098700
Testing with devstack and master (the same testing works fine on
stable/folsom):
mathrock@devstack:~/devstack$ source openrc admin admin
mathrock@devstack:~/devstack$ glance image-create --name
"cirros-test-shared-image" --disk-format qcow2 --container-format bare
--is-public False --copy-from
https://launchpad.net/cirros/trunk/0.3.0/+download/cirros-0.3.0-x86_64-disk.img
mathrock@devstack:~/devstack$ glance image-list | grep shared
| de18981e-1b72-4467-b2a4-5bc69cb09c56 | cirros-test-shared-image |
qcow2 | bare | 9761280 | active |
mathrock@devstack:~/devstack$ source openrc demo demo
mathrock@devstack:~/devstack$ glance image-list | grep shared
mathrock@devstack:~/devstack$ source openrc admin admin
mathrock@devstack:~/devstack$ glance member-create
de18981e-1b72-4467-b2a4-5bc69cb09c56 254593691e45404cb8b683b2d713aff1
mathrock@devstack:~/devstack$ glance member-list --image-id
de18981e-1b72-4467-b2a4-5bc69cb09c56
+--------------------------------------+----------------------------------+-----------+
| Image ID | Member ID |
Can Share |
+--------------------------------------+----------------------------------+-----------+
| de18981e-1b72-4467-b2a4-5bc69cb09c56 | 254593691e45404cb8b683b2d713aff1 |
|
+--------------------------------------+----------------------------------+-----------+
mathrock@devstack:~/devstack$ source openrc demo demo
mathrock@devstack:~/devstack$ glance image-list | grep shared
mathrock@devstack:~/devstack$ glance image-list
+--------------------------------------+---------------------------------+-------------+------------------+----------+--------+
| ID | Name |
Disk Format | Container Format | Size | Status |
+--------------------------------------+---------------------------------+-------------+------------------+----------+--------+
| 1fd5bd38-31cc-48c4-97a1-c603cfc5fa88 | cirros-0.3.1-x86_64-uec |
ami | ami | 25165824 | active |
| 344ef6b7-9108-494b-ab05-d20bca396668 | cirros-0.3.1-x86_64-uec-kernel |
aki | aki | 4955792 | active |
| 415726bc-8276-42c2-b7a1-bbcf5e28f31e | cirros-0.3.1-x86_64-uec-ramdisk |
ari | ari | 3714968 | active |
+--------------------------------------+---------------------------------+-------------+------------------+----------+--------+
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1132294/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp