cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marc-Aurèle Brothier <ma...@exoscale.ch>
Subject Re: [DISCUSS] Config Drive: Using the OpenStack format?
Date Mon, 22 May 2017 05:50:17 GMT
For me too, I don't see the point of repeating everything to just put "cloudstack". To keep
a way to differentiate that it's based on CloudStack, I would add a file "cloud_provider.txt"
or "cloud_version.txt" containing 
CloudStack X.Y.Z

So that in case things change at a certain point in time we can make cloud-init to parse this
particular file to know how to handle the other files.

Marco

> On 20 May 2017, at 20:54, Simon Weller <sweller@ena.com.INVALID> wrote:
> 
> Yes, I don't see any point in reinventing the wheel.
> 
> Simon Weller/615-312-6068
> 
> -----Original Message-----
> From: Wido den Hollander [wido@widodh.nl]
> Received: Saturday, 20 May 2017, 8:45AM
> To: dev@cloudstack.apache.org [dev@cloudstack.apache.org]
> Subject: Re: [DISCUSS] Config Drive: Using the OpenStack format?
> 
> Just to check all the +1's, they are about using the OpenStack format. Right?
> 
> Config Drive will be there no matter what.
> 
> Wido
> 
>> Op 19 mei 2017 om 19:45 heeft Kris Sterckx <kris.sterckx@nuagenetworks.net>
het volgende geschreven:
>> 
>> FYI
>> 
>> Slides are here :
>> https://www.slideshare.net/2000monkeys/apache-cloudstack-collab-miami-user-data-alternatives-to-the-vr
>> 
>> Thanks
>> 
>> - Kris
>> 
>>> On 19 May 2017 at 12:58, Wei ZHOU <ustcweizhou@gmail.com> wrote:
>>> 
>>> gooood idea
>>> 
>>> 2017-05-19 15:33 GMT+02:00 Marc-Aurèle Brothier <marco@exoscale.ch>:
>>> 
>>>> Hi Widoo,
>>>> 
>>>> That sounds like a pretty good idea in my opinion. +1 for adding it
>>>> 
>>>> Marco
>>>> 
>>>> 
>>>>> On 19 May 2017, at 15:15, Wido den Hollander <wido@widodh.nl> wrote:
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> Yesterday at ApacheCon Kris from Nuage networks gave a great
>>>> presentation about alternatives for userdata from the VR: Config Drive
>>>>> 
>>>>> In short, a CD-ROM/ISO attached to the Instance containing the
>>>> meta/userdata instead of having the VR serve it.
>>>>> 
>>>>> The outstanding PR [0] uses it's own format on the ISO while cloud-init
>>>> already has support for config drive [1].
>>>>> 
>>>>> This format uses 'openstack' in the name, but it seems to be in
>>>> cloud-init natively and well supported.
>>>>> 
>>>>> I started the discussion yesterday during the talk and thought to take
>>>> it to the list.
>>>>> 
>>>>> My opinion is that we should use the OpenStack format for the config
>>>> drive:
>>>>> 
>>>>> - It's already in cloud-init
>>>>> - Easier to templates to be used on CloudStack
>>>>> - Easier adoption
>>>>> 
>>>>> We can always write a file like "GENERATED_BY_APACHE_CLOUDSTACK" or
>>>> something on the ISO.
>>>>> 
>>>>> We can also symlink the 'openstack' directory to a directory called
>>>> 'cloudstack' on the ISO.
>>>>> 
>>>>> Does anybody else have a opinion on this one?
>>>>> 
>>>>> Wido
>>>>> 
>>>>> [0]: https://github.com/apache/cloudstack/pull/2097
>>>>> [1]: http://cloudinit.readthedocs.io/en/latest/topics/
>>>> datasources/configdrive.html#version-2
>>>> 
>>>> 
>>> 


Mime
View raw message