[Openstack] glance image-list returns nothing
Ashok Kumaran
ashokkumaran.b at gmail.com
Wed Jul 31 09:33:09 UTC 2013
Hi Jay,
I am facing the similar trouble, I did try to view the private images from
the respective tenants. But no luck.This happens only when I have the
glance backend as swift store. If i set the default store to file, all is
well. Not sure if its a bug or something else is missing.
PS: marking the image as public(while uploading the images) is the only
option I have now to overcome this, not a feasible one though
Thanks
Ashok
On Wed, Jul 31, 2013 at 2:03 AM, 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>
>
--
Regds,
Ashok ,
Delivery Consultant,
HP.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20130731/c6669f9e/attachment.html>
More information about the Openstack
mailing list