yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #01959
[Bug 1132294] Re: glance image-list does not return shared images using v1 api
** Changed in: glance/grizzly
Importance: Undecided => Critical
** Changed in: glance/grizzly
Status: New => Fix Released
** Changed in: glance/grizzly
Milestone: None => 2013.1
** Changed in: glance/grizzly
Assignee: (unassigned) => Nathanael Burton (mathrock)
--
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
Status in Glance grizzly series:
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