[Openstack] glance image-list returns nothing
Jay Pipes
jaypipes at gmail.com
Tue Jul 30 20:33:17 UTC 2013
On 07/30/2013 02:28 PM, Steve Dainard wrote:
> I've started the process of bringing openstack.
>
> I've just brought up keystone and glance and cannot see a list of all
> images on in the service.
>
> I can successfully add a image to glance, and get the individual image
> details:
>
> [root at openstack-controller mnt]# glance image-show
> a831385e-dadf-4d8c-b40e-aaacb0547e77
> +------------------+--------------------------------------+
> | Property | Value |
> +------------------+--------------------------------------+
> | checksum | bb00dcd7db1a4b44cd7bbaa1e0a7e6a6 |
> | container_format | bare |
> | created_at | 2013-07-30T16:09:20 |
> | deleted | False |
> | disk_format | qcow2 |
> | id | a831385e-dadf-4d8c-b40e-aaacb0547e77 |
> | is_public | False |
> | min_disk | 0 |
> | min_ram | 0 |
> | name | Windows 2008R2 x64 |
> | protected | False |
> | size | 2995314688 |
> | status | active |
> | updated_at | 2013-07-30T16:10:26 |
> +------------------+--------------------------------------+
>
> But I cannot list existing images:
>
> [root at openstack-controller mnt]# glance image-list
glance image-list only lists public images or images that your tenant
owns. The image above is marked as not public (is_public == False),
which is why it isn't showing up.
To get it to show up, simply pass the --visibility=private flag to
glance image-list.
Best,
-jay
More information about the Openstack
mailing list