[rhos-list] Optimizing IT: Red Hat Virtual Event

Steven Hardy shardy at redhat.com
Thu Dec 6 10:22:58 UTC 2012


On Wed, Dec 05, 2012 at 10:35:16PM -0500, Perry Myers wrote:
> On 12/05/2012 06:24 PM, Heron, Rodrique (CTR) WDC31 wrote:
> > -----Original Message-----
> > From: Steve Loranz [mailto:sloranz at redhat.com] 
> > Sent: Wednesday, December 05, 2012 5:34 PM
> > To: Heron, Rodrique (CTR) WDC31
> > Cc: Perry Myers; daniel at dumdan.com; rhos-list at redhat.com; Ohad Levy; Ian McLeod; John R. Dunning; Angus Salkeld; Steven Hardy; Zane Bitter
> > Subject: Re: [rhos-list] Optimizing IT: Red Hat Virtual Event
> > 
> >> If anyone got a work script that uses OZ to build, then push images into Glance, please share.

If all you want is a script, rather than an image-building-service, then
heat has a python utility which will build an image from an oz TDL then push
it to glance:

https://github.com/heat-api/heat-jeos

> > This is exactly what imagefactory will do for you.
> > 
> > Please realize that imagefactory is plugin based. Our current OS plugins pretty much just wrap Oz. The Cloud plugins take the resulting OS images and manage whatever needs to be done to prepare them for and push them to the cloud. If all you want is Openstack, then only install the Openstack cloud plugin. This was done precisely to decouple different areas of the code and make it easier for developers focused on a specific OS or a specific cloud to work on supporting that OS or cloud. For the user it allows imagefactory to be as focused or as flexible as needed.
> > 
> > -steve
> > 
> > Steve/Ian
> > 
> > Thanks for the pointers, I did look into Image Factory. But decided
> > to use OZ because I wasn't sure if Image Factory was Aelous and I did
> > not want aleous. Is there another source for information on using
> > Image Factory the way you describe.
> 
> Image Factory is part of the Aeolus project, but it is not == Aeolus.
> It is just one of many components that make up that infrastructure.
> 
> That being said, I see no reason why Image Factory couldn't be used
> outside of Aeolus in the way we're discussing here.  So no need to steer
> clear of IF just because it's part of the Aeolus project :)

I met Martyn Taylor recently at the aeolus dev-conf and we ended up
discussing the possible use-case of imagefactory for openstack.

We worked up a PoC which demonstrates the existing imagefactory OpenstackCloud
plugin capability[1] integrated  with a modified version of horizon[2], so you
can do build the image via horizon and it automagically ends up in glance.

I made an initial screencast demo, but I know Martyn is working on an
improved screencast which will soon be sent out to the lists (Martyn, added
on Cc can provide more info)

As Ian has already mentioned, there are some scalablity and performance
issues to be addressed, but it does work :)

[1] - With a couple of tweaks :
https://github.com/aeolusproject/imagefactory/pull/182
[2] - https://github.com/mtaylor/horizon

Steve




More information about the rhos-list mailing list