osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[glance][interop] standardized image "name" ?


On 4/8/19 12:41 PM, Monty Taylor wrote:
> 
> 
> On 4/8/19 10:10 AM, Graham Hayes wrote:
>> On 08/04/2019 07:14, Tim Bell wrote:
>>> You could use the standard image properties
>>> (https://docs.openstack.org/glance/stein/admin/useful-image-properties.html)
>>> to find the image using a query
>>>
>>> e.g. os_distro=centos, os_version=7 and sort by upload date
>>>
>>> Tim
>>
>> I like the idea of it being discoverable, not defined by using the name
>> - it fits better in my head with the way we are doing interop and allows
>> current clouds to not have to change name formats (which could break
>> other users).
> 
> I would love it if we could provide guidance - or maybe even somehow get
> this in to RefStack or something - that clouds *should* provide that
> metadata.
> 
> At the same time, needing to search for an image (and a flavor) on the
> cloud makes this:
> 
>   openstack server boot --image=<image> --flavor=<flavor> foo
> 
> a bit harder. Perhaps we could add some parameters ... like:
> 
>   openstack server boot --image-os=debian --image-version=7

Whohooo! You're still using such an old thing as Wheezy? :)

Cheers,

Thomas Goirand (zigo)