[Bug 1826665] [NEW] openstack image list does not list *all* images
Cyril Roelandt
cyril.roelandt at enovance.com
Sat Apr 27 18:53:31 UTC 2019
Public bug reported:
This was tried on a recent Devstack:
$ source openrc demo demo
$ openstack image create --community communityImg
$ openstack image create --private privateImg
$ openstack image list
+--------------------------------------+--------------------------+--------+
| ID | Name | Status |
+--------------------------------------+--------------------------+--------+
| 2de81c08-0e90-4877-8394-7561a2938fe0 | cirros-0.4.0-x86_64-disk | active |
| 02afb1b5-ca35-4a09-933b-799cb4577fab | communityImg | queued |
| 8c7b3f89-6355-4a3a-b3c7-11429d20f3cb | privateImg | queued |
+--------------------------------------+--------------------------+--------+
$ source openrc admin admin
$ openstack image list
+--------------------------------------+--------------------------+--------+
| ID | Name | Status |
+--------------------------------------+--------------------------+--------+
| 2de81c08-0e90-4877-8394-7561a2938fe0 | cirros-0.4.0-x86_64-disk | active |
| 8c7b3f89-6355-4a3a-b3c7-11429d20f3cb | privateImg | queued |
+--------------------------------------+--------------------------+--------+
The admin cannot list all images at once. There is a "--community"
option that allows the admin to see all community images, but not other
images. The glanceclient provide "glance image-list --visibility all",
and the OpenStack client should have something similar.
** Affects: python-openstackclient (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to python-openstackclient in Ubuntu.
https://bugs.launchpad.net/bugs/1826665
Title:
openstack image list does not list *all* images
Status in python-openstackclient package in Ubuntu:
New
Bug description:
This was tried on a recent Devstack:
$ source openrc demo demo
$ openstack image create --community communityImg
$ openstack image create --private privateImg
$ openstack image list
+--------------------------------------+--------------------------+--------+
| ID | Name | Status |
+--------------------------------------+--------------------------+--------+
| 2de81c08-0e90-4877-8394-7561a2938fe0 | cirros-0.4.0-x86_64-disk | active |
| 02afb1b5-ca35-4a09-933b-799cb4577fab | communityImg | queued |
| 8c7b3f89-6355-4a3a-b3c7-11429d20f3cb | privateImg | queued |
+--------------------------------------+--------------------------+--------+
$ source openrc admin admin
$ openstack image list
+--------------------------------------+--------------------------+--------+
| ID | Name | Status |
+--------------------------------------+--------------------------+--------+
| 2de81c08-0e90-4877-8394-7561a2938fe0 | cirros-0.4.0-x86_64-disk | active |
| 8c7b3f89-6355-4a3a-b3c7-11429d20f3cb | privateImg | queued |
+--------------------------------------+--------------------------+--------+
The admin cannot list all images at once. There is a "--community"
option that allows the admin to see all community images, but not
other images. The glanceclient provide "glance image-list --visibility
all", and the OpenStack client should have something similar.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-openstackclient/+bug/1826665/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list