Re: [DISCUSS] Config Drive: Using the OpenStack format?

2017-05-30 Thread Wido den Hollander

> Op 26 mei 2017 om 13:46 schreef Pierre-Luc Dion :
> 
> 
> Is this a format that would work for all hypervisor supported  by
> cloudstack? Because openstack is highly focus on kvm.
> 

I assume it will since it's just a Virtual CD-Rom attached to a VM. That will 
work regardless of the Hypervisor.

Wido

> Also,did anyone verified if that would work for coreos and
> cloudbase-init(cloud-init for Windows)
> 
> Otherwise I like the idea of removing the VR dependency.
> 
> Le 22 mai 2017 7:40 AM, "Nux!"  a écrit :
> 
> > +1 using openstack format
> >
> > --
> > Sent from the Delta quadrant using Borg technology!
> >
> > Nux!
> > www.nux.ro
> >
> > - Original Message -
> > > From: "Wido den Hollander" 
> > > To: "dev" , "Kris Sterckx" <
> > kris.ster...@nuagenetworks.net>
> > > Sent: Friday, 19 May, 2017 14:15:28
> > > Subject: [DISCUSS] Config Drive: Using the OpenStack format?
> >
> > > 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
> >


Re: Miami CCC '17 Roundtable/Hackathon Summary

2017-05-30 Thread Rafael Weingärtner
Hahaha, yes I know ;)
And now you can see why I started that discussion to use a standard to
describe applications clusters, instead of an ad-hoc solution.

The idea is to kill two rabbits with a single shot (or at least one and a
half).

On Tue, May 30, 2017 at 2:28 AM, Daan Hoogland 
wrote:

> At the moment I am looking at CAMP, used by Apache Brooklyn, to see if it
> makes sense to embed a Brooklyn engine in ACS. There is an extension to
> Brooklyn for TOSCA for comparison but I’d like to keep it as simple as
> possible and hence use CAMP. (as you know Rafael ;)
>
> On 29/05/2017, 23:17, "Rafael Weingärtner" 
> wrote:
>
> On this idea of Rene to easily provide ways for vendors to integrate
> solutions; if we had an endpoint that receives a blueprint for VM(s)
> described in some language (let’s say TOSCA) we might be able to
> achieve
> that without needing to add tons of code to ACS. Appliances could be
> described in this language and would be easily introduced into ACS
> (pluggable appliances?); then there is the matter of creating
> customization
> endpoints for the deployed appliance, so administrators can configure
> it.
> We also would need to improve further the internals of ACS to provide
> better extension points for anyone that wants to extend/enhance its
> core
> features.
>
> I also agree with everything discussed so far that even if we
> modularize
> the VR, we need to do so in a transparent way for the
> operators/administrators that are already used to the ACS way of doing
> cloud.
>
> On Mon, May 29, 2017 at 8:46 AM, Rene Moser 
> wrote:
>
> > Hi
> >
> > On 05/23/2017 02:16 PM, Simon Weller wrote:
> >
> > > We floated some ideas related to short term VR fixes in order to
> make it
> > more modular, as well as API driven, rather than the currently SSH
> JSON
> > injections.
> >
> > Speaking about endless possibilities... ;)
> >
> > I support the initiative (+1) to make the routing more API driven and
> > modular, the issue I see with a "too hard backed" appliance is the
> > integration into the existing environment.
> >
> > One big benefit of the VR is that we can relatively easy customize
> it.
> >
> > I had some thoughts about how to integrate a standardized "custom
> > configuration" mechanism to the VR.
> >
> > I like the idea to have a "user data" or "cloud init" for the VR on
> the
> > network offerings level. This would allow any virtual appliance
> "vendor"
> > to implement a simple interface (e.g. static yaml/json data) which
> > allows the "cloudstack admin" to customize the virtual appliance in
> the
> > network offerings API.
> >
> > E.g. for our VR, the "cloud init" interface would allow
> >
> > * to install and configure custom monitoring solution
> > * configure the automated update mechanism
> > * add web hooks to trigger what so ever
> > * install and run cfgmgmt like puppet/ansible-pull
> > * etc.
> >
> > So for any virtual appliance the interfaces would be the same but the
> > config option would differ based on features they provide.
> >
> > Regards
> > René
> >
>
>
>
> --
> Rafael Weingärtner
>
>
>
> daan.hoogl...@shapeblue.com
> www.shapeblue.com
> 53 Chandos Place, Covent Garden, London  WC2N 4HSUK
> @shapeblue
>
>
>
>


-- 
Rafael Weingärtner