[Engine-devel] Cloud-Init integration

Laszlo Hornyak lhornyak at redhat.com
Tue Apr 2 11:17:47 UTC 2013



----- Original Message -----
> From: "Oved Ourfalli" <ovedo at redhat.com>
> To: "Laszlo Hornyak" <lhornyak at redhat.com>
> Cc: "Greg Padgett" <gpadgett at redhat.com>, "engine-devel" <engine-devel at ovirt.org>
> Sent: Friday, March 29, 2013 2:18:13 PM
> Subject: Re: [Engine-devel] Cloud-Init integration
> 
> 
> ----- Laszlo Hornyak <lhornyak at redhat.com> wrote:
> > Hi Greg,
> > 
> > Cool feature :) Some questions:
> > - Maybe the IP (and probably the hostname) should be enforced to be unique
> > on the same network? Or at least warning if duplicates found?
> If we will persist it then we can warn for duplicated, but looks like cloud
> init is mainly used for one time initialization, so in that case we won't
> persist it, thus we won't have this information in the engine.

Ah ok. But still it could check if any VM has that IP address already at least from the ones that have guest agent isntalled and running.

> 
> > - Let's say if the IP is set by cloud-init, then you may also have it in
> > the guest agent info if the guest agent is installed. This may make life a
> > bit more difficult for the developers who build on rest-api. Is there a
> > nice solution for this?
> Can you elaborate on that? What would be hard on developers?

I thought it will be persisted, ignore pls.

> 
> > - for authorized keys, it would be a pain to copy-paste the public key each
> > time you install a guest. Could a default be stored let's say in the
> > user's data?
> 
> We might store those in the engine, allowing users to select one they have
> permissions on. Not sure we would do it in the first phase, though.

That's ok. Just trying to approach the problem from the user's perspective.

> 
> > - the hostname set for the guest could default to the VM name?
> > 
> That can indeed be nice.
> 
> > Thank you,
> > Laszlo
> > 
> > ----- Original Message -----
> > > From: "Greg Padgett" <gpadgett at redhat.com>
> > > To: "engine-devel" <engine-devel at ovirt.org>
> > > Sent: Friday, March 29, 2013 12:35:23 AM
> > > Subject: [Engine-devel] Cloud-Init integration
> > > 
> > > Hi Everyone,
> > > 
> > > I'd like to propose a feature we've been doing some investigation
> > > into,
> > > which is to integrate cloud-init support into oVirt.
> > > 
> > > Cloud-init is used to help provision new Linux systems by setting the
> > > hostname, ip, ssh keys, timezone, injecting files, and more. It's
> > > used by
> > > OpenStack (amongst others) now, and has a lot of features that may be
> > > helpful to our users.
> > > 
> > > Details are still evolving, but for more info please see the wiki
> > > page:
> > > 
> > > http://www.ovirt.org/Features/Cloud-Init_Integration
> > > 
> > > All feedback is welcome!
> > > 
> > > Thanks,
> > > Greg
> > > _______________________________________________
> > > Engine-devel mailing list
> > > Engine-devel at ovirt.org
> > > http://lists.ovirt.org/mailman/listinfo/engine-devel
> > > 
> > _______________________________________________
> > Engine-devel mailing list
> > Engine-devel at ovirt.org
> > http://lists.ovirt.org/mailman/listinfo/engine-devel
> 
> 



More information about the Engine-devel mailing list