Re: [Openstack] centos 6 images
by Pádraig Brady
On 05/22/2012 05:51 PM, Scott Moser wrote:
> 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(a)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.
Excellent.
I'll submit as much as I can upstream anyway after some more testing.
cheers,
Pádraig.
11 years, 5 months
Packaging of noVNC and Websockets
by Adam Young
It looks like a couple of projects are interested in using the noVNC
viewer as a way of talking to machines from a web browser. I've made a
first stab at packageing them, and, in doing so, learned a little bit.
The noVNC code is designed around a proxy that, under the Debian deploy,
lives in /usr/share/noVNC/utils/. This directory contains shell
scripts, a shared object complete with Makefile, and lots of python
code. Needless to say, it does not match Fedora packaging standards.
It uses the Websocket protocol, which is not quite HTTP. Apache HTTPD
does not support Websocket natively, although there is apparently a
path to do so via http://code.google.com/p/pywebsocket/. However, the
noVNC approach is to bundle a simple web server and websocket
implementation. In addition, a python script called websockify handles
SSL.
When deployed, the web proxy does not lock down browsing of sub dirs.
When run from an init script that did not set cwd, it exposes the
entire directory tree underneath. The normal usage is better: devstack
runs $ cd /opt/stack/noVNC && ./utils/nova-novncproxy --config-file
/etc/nova/nova.conf --web . Run this way, it only exposes the
/usr/share/noVNC directory as read only, but really should not allow
directory indexing. However, our current init script runs:
daemon --user nova --pidfile $pidfile "$exec --flagfile $config
--logfile $logfile &>/dev/null & echo \$! > $pidfile"
where $exec is
/usr/bin/nova-vncproxy.
In my spec file, in order to match this, I moved the executables from
/opt/stack/noVNC/utils to /usr/bin, but that does not seem like a good
long term solution: they are generically named and should have novnc as
part of their name as well.
I've also and renamed /opt/stack/noVNC/utils/nova-novncproxy to
/usr/bin/nova-vncproxy which seems like it should not be necessary.
Currently, the Openstack specific code is in the upstream git repo for
noVNC, but it really should be moved to the Nova git repository. I'll
talk to the original author to find out his rationale, and to see if we
can get it moved over.
I've posted my current work here
http://admiyo.fedorapeople.org/noVNC/
But would not suggest that people use it yet. I am certainly willing to
take feed back on the spec file:
http://admiyo.fedorapeople.org/noVNC/novnc.spec
Dan B suggested a few things that I'd like to record here:
1. Is there a need to create a novnc user with an empty home dir to run in?
2. The python code should be made into a site-package.
11 years, 5 months
Re: [Openstack] centos 6 images
by Jason Ford
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(a)yahoo-inc.com>
To: "Jason Ford" <jason(a)chatinara.com>
Cc: "Fedora Cloud SIG" <cloud(a)lists.fedoraproject.org>, "Andy Grimm" <agrimm(a)gmail.com>, "openstack" <openstack(a)lists.launchpad.net>, "Pádraig Brady" <P(a)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(a)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(a)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(a)yahoo-inc.com >
To: "Jason" < jason(a)chatinara.com >, "Pádraig Brady" < P(a)draigBrady.com >
Cc: "Fedora Cloud SIG" < cloud(a)lists.fedoraproject.org >, "Andy Grimm" < agrimm(a)gmail.com >, "openstack" < openstack(a)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(a)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(a)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(a)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(a)lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
11 years, 6 months
Fedora 17 AMIS
by Dennis Gilmore
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi all the F17 amis are live
https://fedoraproject.org/wiki/Cloud_images#Fedora_17
ami-2ea50247 : us-east-1 image for x86_64
ami-9980baed : eu-west-1 image for x86_64
ami-26e65527 : ap-northeast-1 image for x86_64
ami-2e86c07c : ap-southeast-1 image for x86_64
ami-8e69e5be : us-west-2 image for x86_64
ami-eee23cf3 : sa-east-1 image for x86_64
ami-877e24c2 : us-west-1 image for x86_64
ami-08d97e61 : us-east-1 image for i386
ami-e981bb9d : eu-west-1 image for i386
ami-417f2504 : us-west-1 image for i386
ami-e269e5d2 : us-west-2 image for i386
ami-5ae6555b : ap-northeast-1 image for i386
ami-1ae33d07 : sa-east-1 image for i386
ami-cc86c09e : ap-southeast-1 image for i386
Dennis
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
iEYEARECAAYFAk/E8KQACgkQkSxm47BaWfcX5ACfVOsnGRnmYchf1g7g571oT0HM
n04AoJLdAEbsUr9ravCe8+94iIqZNEpk
=2NwF
-----END PGP SIGNATURE-----
11 years, 6 months
OpenStack status
by Pádraig Brady
Hi,
It's been about 2 weeks since the last status update, so here's the latest:
https://fedoraproject.org/wiki/OpenStack_status_report_2012-05-24
Historical archives are here:
http://fedoraproject.org/wiki/OpenStack_status_reports
Cheers,
Pádraig.
(appended below for convenience)
= Package updates =
== openstack-nova ==
nova was synced with the stable branch incorporating
[http://pkgs.fedoraproject.org/gitweb/?p=openstack-nova.git;a=commit;h=07d... 15 new fixes].
Alan Pevec also cleaned up the nova package dependencies removing many packages no longer needed by Essex.
== openstack-glance ==
glance was synced with the stable branch incorporating
[http://pkgs.fedoraproject.org/gitweb/?p=openstack-glance.git;a=commit;h=b... 5 new fixes]
including a change to stop auto creating the database on service start,
allowing for more robust control over the database.
== openstack-keystone ==
keystone was synced with the stable branch incorporating
[http://pkgs.fedoraproject.org/gitweb/?p=openstack-keystone.git;a=commit;h... 1 new fix].
Also included there was a package dependency cleanup.
Also related to dependency removal is the creation of a new
[https://bugzilla.redhat.com/show_bug.cgi?id=824034 python-keystone-auth-token subpackage]
for keystone to minimize dependencies in certain multi host setups.
== oz ==
The OZ VM guest builder was updated to 0.8.0 in Fedora 16,17 and EPEL 6
which addressed many issues when using on current platforms.
= new packages =
== python-jsonschema ==
A [http://pbrady.fedorapeople.org/python-jsonschema/ python JSON schema validator was packaged] for Fedora
to support the upcoming OpenStack Folsom milestone 1 (glance uses this).
This is the first python JSON schema validator packaged for Fedora,
so should be generally useful outside of OpenStack.
== python-websockify and novnc ==
Adam Young prepared
[https://bugzilla.redhat.com/show_bug.cgi?id=822182 python-websockify] and
[https://bugzilla.redhat.com/show_bug.cgi?id=822187 noVNC] packages for review,
to support vnc access to openstack guests through the web dashboard.
== cloud-init for RHEL ==
An initial version of [http://pbrady.fedorapeople.org/cloud-init-el6/ cloud-init for RHEL] was prepared.
There was immediate [https://lists.launchpad.net/openstack/msg12106.html interest expressed] in adding the changes upstream.
= Misc =
== Fedora/RHEL OpenStack manuals ==
Anne Gentle prepared excellent [https://review.openstack.org/#/c/7431/ Fedora/RHEL documentation for the OpenStack manuals],
which is currently under review upstream.
== Diablo on EPEL ==
There was a request from Brookhaven National Lab
as to how to continue using Diablo on RHEL (derivatives)
given that EPEL has now updated to the Essex release.
Older builds can be downloaded from koji, and these
in conjunction with the yum-priorities plugin can be
used to create a diablo repo on top of EPEL.
A [http://pbrady.fedorapeople.org/openstack-diablo-el6/ convenience repository for Diablo on EPEL] was made available,
containing instructions on how it was created and how to use it.
11 years, 6 months
Packaging OpenShift Origin into F17 and F18
by Troy Dawson
Hello,
It's time to start packaging OpenShift Origin into Fedora 17 and 18.
Our Fedora wiki page is here
https://fedoraproject.org/wiki/OpenShift_Origin
We have been approved as a Feature in Fedora 18.
https://fedoraproject.org/wiki/Features/OpenShift_Origin
(At the time of this email, is shows we are still pending, but I have
been told that is has already been approved by Fesco)
We need to start dividing up the work. We need someone to take charge
of each of the packages. People can take more than one package, but
please don't overload yourself so much that you start slowing things down.
Required Packages
rubygem-rhc
- Already approved
https://admin.fedoraproject.org/pkgdb/acls/name/rubygem-rhc
- gomix
rubygem-gearchanger-oddjob-plugin
rubygem-stickshift-common
rubygem-stickshift-controller
rubygem-stickshift-node
rubygem-swingshift-mongo-plugin
rubygem-uplift-bind-plugin
stickshift-abstract
stickshift-broker
Optional Packages:
cartridge-10gen-mms-agent
cartridge-cron
cartridge-diy
cartridge-jbossas
cartridge-jenkins
cartridge-jenkins-client
cartridge-mongodb
cartridge-mysql
cartridge-nodejs
cartridge-perl
cartridge-php
cartridge-phpmyadmin
cartridge-python
cartridge-ruby
Required Dependancies
rubygem-passenger (for stickshift-broker)
- Review Request
https://bugzilla.redhat.com/show_bug.cgi?id=470696
Optional Dependancies
mms-agent (for cartridge-10gen-mms-agent)
jenkins (for cartridge-jenkins)
jenkins-plugin-openshift (for cartridge-jenkins)
nodejs (for cartridge-nodejs)
- Review Request
https://bugzilla.redhat.com/show_bug.cgi?id=815018
npm (for cartridge-nodejs)
- might already be part of the nodejs rpm
Note1:
The source tarballs for all of these are being created nightly at
https://mirror.openshift.com/pub/crankcase/source/
Please use this URL for your source URL.
Note2:
Please let everyone know which packages you are planning to do so we
don't have duplicated effort.
Note3:
If a package already has a review request, but it isn't from OpenShift
Origin, can someone please volunteer to follow/help, and let us know
that you are helping.
Thanks
Troy
11 years, 6 months
Re: [Openstack] centos 6 images
by Jason Ford
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(a)ubuntu.com>
To: "Pádraig Brady" <P(a)draigBrady.com>
Cc: "Fedora Cloud SIG" <cloud(a)lists.fedoraproject.org>, "Andy Grimm" <agrimm(a)gmail.com>, "openstack" <openstack(a)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(a)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(a)lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp
11 years, 6 months
Does anyone want to join me in being a moderator on the cloud sig list? :D
by Robyn Bergeron
So, as most of you folks probably know, this list is moderated, not
out of any sense of evilness but mostly from the perspective of "cloud
is a really popular word these days and results in some spam
pertaining to watches, pills, and my incredibly rich long-lost uncle
who just left me 50 billion dollars."
For those of you whose mails today were held up in moderation: Sorry. :)
If anyone is willing to assist me in moderating non-list-member
messages, I'd be happy to add one or two additional people, as I have
not yet discovered how to clone myself. In a cloud. :D
-robyn
11 years, 6 months