[Openstack] glance image-list returns nothing

Steve Dainard sdainard at miovision.com
Wed Jul 31 13:16:48 UTC 2013


That would explain it, thanks Jay.

*Steve*


On Tue, Jul 30, 2013 at 4:33 PM, Jay Pipes <jaypipes at gmail.com> wrote:

> 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         | bb00dcd7db1a4b44cd7bbaa1e0a7e6**a6     |
>> | 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
>
>
>
> ______________________________**_________________
> Mailing list: http://lists.openstack.org/**cgi-bin/mailman/listinfo/**
> openstack <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/**cgi-bin/mailman/listinfo/**
> openstack <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130731/1ec4fcb0/attachment.html>


More information about the Openstack mailing list