Joshua,
First off, thanks for getting something together.
I think you have a bug in your spec file at line 1. After that I got it to build after renaming some directories. I am in the process of testing this out now in a devstack install.
I will give you feedback when I get it.
jason
----- Original Message ----- From: "Joshua Harlow" harlowja@yahoo-inc.com To: "Jason Ford" jason@chatinara.com Cc: "Fedora Cloud SIG" cloud@lists.fedoraproject.org, "Andy Grimm" agrimm@gmail.com, "openstack" openstack@lists.launchpad.net, "Pádraig Brady" P@draigBrady.com Sent: Thursday, May 24, 2012 9:18:06 PM Subject: Re: [Openstack] centos 6 images
Starting this @ https://github.com/yahoo/Openstack-Condense/wiki/How-To-Use-This
I’ll try to finish it up soon :-P
On 5/22/12 6:33 PM, "Joshua Harlow" < harlowja@yahoo-inc.com > wrote:
Let me write something up that should explain this. Its not that hard.
On 5/22/12 6:31 PM, "Jason Ford" < jason@chatinara.com > wrote:
Joshua,
Do you have some basic instructions on how to push this into an image and configure it? Any information about what you have here would be great!
jason
----- Original Message ----- From: "Joshua Harlow" < harlowja@yahoo-inc.com > To: "Jason" < jason@chatinara.com >, "Pádraig Brady" < P@draigBrady.com > Cc: "Fedora Cloud SIG" < cloud@lists.fedoraproject.org >, "Andy Grimm" < agrimm@gmail.com >, "openstack" < openstack@lists.launchpad.net > Sent: Tuesday, May 22, 2012 1:49:06 PM Subject: Re: [Openstack] centos 6 images
U might want to check out,
https://github.com/yahoo/Openstack-Condense
Its a stripped down/cleaned up/... version of cloud-init that I know works on RHEL6.
I tried to improve the following:
1. Code cleanliness (constants being uppercase, paths using os.path.join and so-on) 2. Stripping out some of the odd handlers (byobu, right-scale and such) 3. Improving logging by a lot (so that u can debug this thing) 4. Making what handlers I left work on RH and ubuntu...
Might be useful if u want to try it.
I know just from doing the above work that the cloud-init for ubuntu, requires some work to get it to work on RH, but not tons, eventually I hope that I can merge this back, but for now its forked so that I could focus on getting it working and cleaned up, rather than pushing code through some review process via launchpad and such (ie the slow as molasses approach).
On 5/22/12 10:05 AM, "Jason" < jason@chatinara.com > wrote:
I will give these a shot later today and reply with feedback.
Thanks for looking into this!
Jason
On May 22, 2012, at 11:44 AM, Pádraig Brady < P@draigBrady.com > wrote:
On 05/22/2012 03:39 PM, Andy Grimm wrote:
On Tue, May 22, 2012 at 9:38 AM, Pádraig Brady < P@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 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.
cheers, Pádraig.
_______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
I've been testing out the CentOS6 images built by the folks over at Bashton:
http://www.bashton.com/blog/2012/centos-6-2-ec2-ami/
Looks like they've already ported cloud-init. The images work pretty well. Not sure who's responsible for doing all the work, otherwise we could just get them to contribute it back to the community.
- Julian
On Fri, May 25, 2012 at 10:24 PM, Jason Ford jason@chatinara.com wrote:
Joshua,
First off, thanks for getting something together.
I think you have a bug in your spec file at line 1. After that I got it to build after renaming some directories. I am in the process of testing this out now in a devstack install.
I will give you feedback when I get it.
jason
----- Original Message ----- From: "Joshua Harlow" harlowja@yahoo-inc.com To: "Jason Ford" jason@chatinara.com Cc: "Fedora Cloud SIG" cloud@lists.fedoraproject.org, "Andy Grimm" agrimm@gmail.com, "openstack" openstack@lists.launchpad.net, "Pádraig Brady" P@draigBrady.com Sent: Thursday, May 24, 2012 9:18:06 PM Subject: Re: [Openstack] centos 6 images
Starting this @ https://github.com/yahoo/Openstack-Condense/wiki/How-To-Use-This
I’ll try to finish it up soon :-P
On 5/22/12 6:33 PM, "Joshua Harlow" < harlowja@yahoo-inc.com > wrote:
Let me write something up that should explain this. Its not that hard.
On 5/22/12 6:31 PM, "Jason Ford" < jason@chatinara.com > wrote:
Joshua,
Do you have some basic instructions on how to push this into an image and configure it? Any information about what you have here would be great!
jason
----- Original Message ----- From: "Joshua Harlow" < harlowja@yahoo-inc.com > To: "Jason" < jason@chatinara.com >, "Pádraig Brady" < P@draigBrady.com > Cc: "Fedora Cloud SIG" < cloud@lists.fedoraproject.org >, "Andy Grimm" < agrimm@gmail.com >, "openstack" < openstack@lists.launchpad.net > Sent: Tuesday, May 22, 2012 1:49:06 PM Subject: Re: [Openstack] centos 6 images
U might want to check out,
https://github.com/yahoo/Openstack-Condense
Its a stripped down/cleaned up/... version of cloud-init that I know works on RHEL6.
I tried to improve the following:
- Code cleanliness (constants being uppercase, paths using os.path.join and so-on)
- Stripping out some of the odd handlers (byobu, right-scale and such)
- Improving logging by a lot (so that u can debug this thing)
- Making what handlers I left work on RH and ubuntu...
Might be useful if u want to try it.
I know just from doing the above work that the cloud-init for ubuntu, requires some work to get it to work on RH, but not tons, eventually I hope that I can merge this back, but for now its forked so that I could focus on getting it working and cleaned up, rather than pushing code through some review process via launchpad and such (ie the slow as molasses approach).
On 5/22/12 10:05 AM, "Jason" < jason@chatinara.com > wrote:
I will give these a shot later today and reply with feedback.
Thanks for looking into this!
Jason
On May 22, 2012, at 11:44 AM, Pádraig Brady < P@draigBrady.com > wrote:
On 05/22/2012 03:39 PM, Andy Grimm wrote:
On Tue, May 22, 2012 at 9:38 AM, Pádraig Brady < P@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 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.
cheers, Pádraig.
Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
cloud mailing list cloud@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/cloud
On 06/03/2012 05:27 AM, Julian C. Dunn wrote:
I've been testing out the CentOS6 images built by the folks over at Bashton:
http://www.bashton.com/blog/2012/centos-6-2-ec2-ami/
Looks like they've already ported cloud-init. The images work pretty well. Not sure who's responsible for doing all the work, otherwise we could just get them to contribute it back to the community.
- Julian
Good find. Those SRPMs are here: http://rpm.razorsedge.org/centos-6/bashton/www/SRPMS/ I've CC'd the rpm creator at bashton.
They seem to be based on the 0.5.15 version from amazon, variants of which are also attached here: https://bugs.launchpad.net/cloud-init/+bug/655837
So hopefully we can get something into EPEL soon, between the above and my quick untested attempt of packaging the latest: http://pbrady.fedorapeople.org/cloud-init-el6/
I'm willing to review or push packages through the EPEL process.
cheers, Pádraig.
On Sun, Jun 03, 2012 at 11:17:09AM +0100, Pádraig Brady wrote:
Good find. Those SRPMs are here: http://rpm.razorsedge.org/centos-6/bashton/www/SRPMS/ I've CC'd the rpm creator at bashton.
They seem to be based on the 0.5.15 version from amazon, variants of which are also attached here: https://bugs.launchpad.net/cloud-init/+bug/655837
So hopefully we can get something into EPEL soon, between the above and my quick untested attempt of packaging the latest: http://pbrady.fedorapeople.org/cloud-init-el6/
I'm willing to review or push packages through the EPEL process.
Happy to help out without whatever you need to get these into EPEL. All I did for these was to grab the Amazon Sources and fix the Requires, which IIRC contained some Amazon Linux package names.
Regards,
On 06/04/2012 07:19 AM, Sam Bashton wrote:
On Sun, Jun 03, 2012 at 11:17:09AM +0100, Pádraig Brady wrote:
Good find. Those SRPMs are here: http://rpm.razorsedge.org/centos-6/bashton/www/SRPMS/ I've CC'd the rpm creator at bashton.
They seem to be based on the 0.5.15 version from amazon, variants of which are also attached here: https://bugs.launchpad.net/cloud-init/+bug/655837
So hopefully we can get something into EPEL soon, between the above and my quick untested attempt of packaging the latest: http://pbrady.fedorapeople.org/cloud-init-el6/
I'm willing to review or push packages through the EPEL process.
Happy to help out without whatever you need to get these into EPEL. All I did for these was to grab the Amazon Sources and fix the Requires, which IIRC contained some Amazon Linux package names.
OK cool.
What we might do is continue preparing the latest 0.6.x version for EPEL, while comparing against your built packages to ensure we've not broken anything, and then push any required tweaks back upstream, who are very receptive to changes supporting multiple distros.
thanks! Pádraig.
On 2012-06-04 2:13, Pádraig Brady wrote:
On 06/04/2012 07:19 AM, Sam Bashton wrote:
On Sun, Jun 03, 2012 at 11:17:09AM +0100, Pádraig Brady wrote:
Good find. Those SRPMs are here: http://rpm.razorsedge.org/centos-6/bashton/www/SRPMS/ I've CC'd the rpm creator at bashton.
They seem to be based on the 0.5.15 version from amazon, variants of which are also attached here: https://bugs.launchpad.net/cloud-init/+bug/655837
So hopefully we can get something into EPEL soon, between the above and my quick untested attempt of packaging the latest: http://pbrady.fedorapeople.org/cloud-init-el6/
I'm willing to review or push packages through the EPEL process.
Happy to help out without whatever you need to get these into EPEL. All I did for these was to grab the Amazon Sources and fix the Requires, which IIRC contained some Amazon Linux package names.
OK cool.
What we might do is continue preparing the latest 0.6.x version for EPEL, while comparing against your built packages to ensure we've not broken anything, and then push any required tweaks back upstream, who are very receptive to changes supporting multiple distros.
Amazon's patchset is quite extensive and arguably over-engineered, but upstream is nonetheless interested in keeping things as compatible as possible. You seem to have already found the upstream bug for doing just that. :)
I'm the cloud-init maintainer for Fedora, so if you would like help or a co-maintainer I'm happy to give you a hand.