[Openstack] centos 6 images

Jason Ford jason at chatinara.com
Wed May 23 01:38:50 UTC 2012


Scott,

If you need someone to test your changes, I would be happy to do it. Please just give me some basic instructions on how to put it in place and I will get it working.

As for your request for comments/features, personally I would like to see the following parts done initially:

- hostname set to instance name
- disk space resize to flavor size
- ssh-key pull
- report a random password for root user (or default user) if this is possible

Thanks for looking at this.

jason

----- Original Message -----
From: "Scott Moser" <smoser at ubuntu.com>
To: "Pádraig Brady" <P at draigBrady.com>
Cc: "Fedora Cloud SIG" <cloud at lists.fedoraproject.org>, "Andy Grimm" <agrimm at gmail.com>, "openstack" <openstack at lists.launchpad.net>
Sent: Tuesday, May 22, 2012 12:51:42 PM
Subject: Re: [Openstack] centos 6 images

On Tue, 22 May 2012, Pádraig Brady wrote:

> On 05/22/2012 03:39 PM, Andy Grimm wrote:
> > On Tue, May 22, 2012 at 9:38 AM, Pádraig Brady <P at draigbrady.com> wrote:
> >> On 05/22/2012 04:07 AM, Jason Ford wrote:
> >>> I am trying to put together an image for centos 6 that works like cloud-init on ubuntu does. Currently I have ssh keys getting imported but having some problems getting the disk to dynamically resize to the flavor template as well as the hostname set in horizon to be pushed into the image. Does anyone have any howtos or suggestions on how to get this done? Is there cloud-init for centos just like ubuntu? I would also be interested in how to do this with debian as well.
> >>
> >> Well I notice there is no cloud-init package for EPEL.
> >> I took a quick stab at it here:
> >> http://pbrady.fedorapeople.org/cloud-init-el6/
> >
> > I've already responded in IRC, but it wouldn't hurt to have a response
> > in the mail archive.  In short, the reason there isn't already a
> > cloud-init for EL6 (or EL5, for that matter) is that upstream has been
> > using python 2.7-only calls for a while now.  In particular, a couple
> > of calls to subprocess.check_output need to be replaced, and I think
> > there are a few other issues as well.  I don't think it's a huge

It would help if you'd bring that up with upstream :)
I'm interested in cloud-init working in the most places it can.  I'll try
to pull in the sysvinit scripts that Pádraig added and grab other changes
that are there.

> > amount of work to make it functional, but it hasn't been high on
> > anyone's list.  It would be cool if you have time to fix / test it,
> > though.
>
> Ok I've fixed the check_output calls at the above URL.

If anyone has features / issues they'd like addressed in cloud-init,
please feel free to ping me (smoser).  I'll most likely ask you to open a
bug at http://bugs.launchpad.net/cloud-init , and may even invite you to
submit a patch.  One way or another, though, I'm interested in making
cloud-init better, so comments/concerns/participation is welcome and
encouraged.
_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



More information about the cloud mailing list