[katello-devel] Deployable and System Template Portability

Justin Clift jclift at redhat.com
Thu Aug 23 09:40:43 UTC 2012


On 22/08/2012, at 11:44 PM, Hugh Brock wrote:
<snip>
>> It sounds like a good idea at first glance, but I would be worried that all implementations would differ so widely. Maybe if when an application blueprint is imported in aeolus it could check if all the proper images exist (sort of like a checksum for a system image) and also could provide guidance on what packages are needed in each image? This would require aeolus having a deeper understanding of the katello environment.
> 
> The issue here is that we identify images by UUID, so no image is ever
> going to match from one Conductor setup to another. IOW there is no way
> Conductor *could* check to see "if the proper images exist" on
> importing a blueprint, given the current setup.
> 
> We'd need to have two things to fix this:
> 
> 1. A way to guarantee image equivalence. Katello will have this before
> all that long with content views
> 
> 2. Given 1, a way to identify images that actually are equivalent.
> 
> These things are doable but not necessarily easy. Doesn't mean we
> shouldn't do them of course...

As a potentially easy first step, and ignoring the nascent templates
site for now, we can probably ship some default reference deployables
with Aeolus right now.  ie.:

  Apache HTTP Server
  JBoss Server (of some appropriate sort)
  MySQL Server
  Nginx Server
  PostgreSQL Server

We could "reserve" some of the UUID address range for these
kind of templates. ie:

  00000000-0000-0000-0000-xxxxxxxxxxxx

And then have the reference ones use known UUIDS:

  Apache HTTP Server == 00000000-0000-0000-0000-000000000001
  JBoss Server       == 00000000-0000-0000-0000-000000000002
  MySQL Server       == 00000000-0000-0000-0000-000000000003
  Nginx Server       == 00000000-0000-0000-0000-000000000004
  PostgreSQL Server  == 00000000-0000-0000-0000-000000000005

We'd probably add an aeolus-configure option for adding them.

i.e.:

  $ sudo aeolus-configure -p rhevm,vsphere,ec2,templates

If someone doesn't want to use those templates they don't
have to.  However, most places will probably keep around
the ones they have use for.

The above probably wouldn't be too hard to implement either,
and gives people a kick start in getting running.

+ Justin

--
Aeolus Community Manager
http://www.aeolusproject.org




More information about the aeolus-devel mailing list