[openstack-dev] [Glance] Implementing Common Image Properties

Jay Pipes jaypipes at gmail.com
Thu Aug 30 16:29:49 UTC 2012


On 08/29/2012 06:27 PM, Gabe Westmaas wrote:
>> REQUEST TO ADD ATTRIBUTE TO IMAGE SCHEMA
>> ========================================
>>
>> Proposed Name of Attribute: os_arch
>>
>> JSONSchema of proposed property in Image Schema:
>>
>> {
>> "os_arch":
>> {
>>  "type": "string",
>>  "required": false,
>>  "default": null,
>>  "description": "Operating system architecture",
>>  "enum": ["x86_64","i386","sparc","sparc64", ...]
>> }
>> }
> 
> I approve this request :)  This all sounds fine, I guess the next step is
> to take those 3 base properties, make the recommendation that they land in
> v2(.1?) and go from there? 

Seems logical to me. Waldon, what say you?

> The thing that I care about is that we have a
> pseudo standard two large public clouds are using and in favor of and it'd
> be cool for those to be core sooner rather than later, unless they really
> aren't universally useful.

No disagreement from me.

>  I would hope that everyone cares about
> architecture, OS distro and version though.  And actually, even more
> succinctly, I care about not having agreed upon common key/value pairs -
> if they are agreed upon lets put them in the standard - I just thought
> that these were already community approved in usability, if not in
> readability.

By "standard" above, you mean the base image attributes, right?

>   I'll try (to find someone to sucker into) writing up a
> proposal and get that to the list, then Waldon can call a vote in some way.

Ok, sounds great. Thanks!
-jay

> Gabe
> 
>>
>> Best,
>> -jay
>>
>>> Also just to highlight one of the links in the mailing list discussions,
>>> this is where we pulled those properties
>>> from: http://wiki.openstack.org/CommonImageProperties
>>>
>>> Gabe
>>>
>>> From: Brian Waldon <bcwaldon at gmail.com <mailto:bcwaldon at gmail.com>>
>>> Reply-To: OpenStack List <openstack-dev at lists.openstack.org
>>> <mailto:openstack-dev at lists.openstack.org>>
>>> Date: Mon, 20 Aug 2012 14:11:20 -0400
>>> To: "openstack at lists.launchpad.net
>>> <mailto:openstack at lists.launchpad.net>" <openstack at lists.launchpad.net
>>> <mailto:openstack at lists.launchpad.net>>, OpenStack List
>>> <openstack-dev at lists.openstack.org
>>> <mailto:openstack-dev at lists.openstack.org>>
>>> Subject: [openstack-dev] [Glance] Implementing Common Image Properties
>>>
>>> We discussed a common set of image properties a while back on the
>>> mailing list ([1] and [2]). The general idea was to define a common way
>>> to expose useful image properties (distro, version, architecture,
>>> packages, etc). 
>>>
>>> It doesn't appear we ever came to a hard consensus, but Rackspace has
>>> been publishing the following properties in their deployment:
>>>
>>> org.openstack__1__architecture = x64
>>> org.openstack__1__os_distro = org.ubuntu
>>> org.openstack__1__os_version = 12.04
>>>
>>> If the idea is to get all deployments to publish these properties, I
>>> think what Rackspace has implemented would be a good starting point. The
>>> question I want to pose to the community is this:
>>>
>>> Does it make sense to ship a set of JSON schemas with Glance that
>>> represent these properties? Doing so wouldn't explicitly require all
>>> deployments to use them, but it would reduce the work required to
>>> publish them and help ensure they have a common meaning across
>>> deployments. Keep in mind that we would be shipping these as a part of
>>> Glance, not as a part of the Images API spec.
>>>
>>> I personally think it would be great to provide these, and to do so in
>>> the Folsom release so those deployers riding major releases wouldn't be
>>> left out in the dark.
>>>
>>> All comments welcome!
>>>
>>> Brian Waldon
>>>
>>>
>>> [1] http://markmail.org/message/5bd5zkyre57ppi3n
>>> [2] http://markmail.org/message/soaldxs4lovd2uir
>>> _______________________________________________ OpenStack-dev mailing
>>> list OpenStack-dev at lists.openstack.org
>>> <mailto:OpenStack-dev at lists.openstack.org>
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>> _______________________________________________
>>> OpenStack-dev mailing list
>>> OpenStack-dev at lists.openstack.org
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>
>> _______________________________________________
>> OpenStack-dev mailing list
>> OpenStack-dev at lists.openstack.org
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
> 



More information about the OpenStack-dev mailing list