[Openstack-operators] image-list doesn't show anything and image-show does

Eric_E_Smith at DELL.com Eric_E_Smith at DELL.com
Fri Jun 7 19:01:21 UTC 2013


Mark it as public and try your list command again.

From: Juan José Pavlik Salles [mailto:jjpavlik at gmail.com]
Sent: Friday, June 07, 2013 1:57 PM
To: openstack-operators at lists.openstack.org
Subject: [Openstack-operators] image-list doesn't show anything and image-show does

Hi guys, i have an odd problem:

I created an image

root at acelga:~# glance --os-username=admin --os-tenant-name=admin --os-password=password --os-auth-url=http://172.19.136.1:35357/v2.0 --debug image-create --name "Ubuntu 12.04 Cloud x64" --disk-format=qcow2 --container-format=bare < ubuntu-12.04-server-cloudimg-amd64-disk1.img

+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | a42eb8a893f64cacd6cc096a21dbf5e4     |
| container_format | bare                                 |
| created_at       | 2013-06-07T16:03:00                  |
| deleted          | False                                |
| deleted_at       | None                                 |
| disk_format      | qcow2                                |
| id               | f9e8a811-00d3-49c1-af7a-830a43cca62d |
| is_public        | False                                |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | Ubuntu 12.04 Cloud x64               |
| owner            | None                                 |
| protected        | False                                |
| size             | 251068416                            |
| status           | active                               |
| updated_at       | 2013-06-07T16:03:03                  |
+------------------+--------------------------------------+

If i want to see the image description:

root at acelga:~# glance --os-username=admin --os-tenant-name=admin --os-password=password --os-auth-url=http://172.19.136.1:35357/v2.0 image-show f9e8a811-00d3-49c1-af7a-830a43cca62d
+------------------+--------------------------------------+
| Property         | Value                                |
+------------------+--------------------------------------+
| checksum         | a42eb8a893f64cacd6cc096a21dbf5e4     |
| container_format | bare                                 |
| created_at       | 2013-06-07T16:03:00                  |
| deleted          | False                                |
| disk_format      | qcow2                                |
| id               | f9e8a811-00d3-49c1-af7a-830a43cca62d |
| is_public        | False                                |
| min_disk         | 0                                    |
| min_ram          | 0                                    |
| name             | Ubuntu 12.04 Cloud x64               |
| protected        | False                                |
| size             | 251068416                            |
| status           | active                               |
| updated_at       | 2013-06-07T16:03:03                  |
+------------------+--------------------------------------+

BUT, when i try to list all the images (i just have one):

root at acelga:~# glance --os-username=admin --os-tenant-name=admin --os-password=password --os-auth-url=http://172.19.136.1:35357/v2.0 image-list

root at acelga:~#

I checked the logs, and there are no errors, it seems to be everything ok. Any ideas? Thanks

--
Pavlik Salles Juan José
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20130607/fbebffbc/attachment.html>


More information about the OpenStack-operators mailing list