[openstack-dev] [Savanna] DiskBuilder / savanna-image-elements

Sergey Lukjanov slukjanov at mirantis.com
Fri Nov 15 17:36:36 UTC 2013


Erik,

correct, savanna-image-elements is the right place for your dib elements. There is no need to separate vanilla and hdp elements to different sub packages but btw it could be easily done by appending ELEMENTS_PATH as Clint said.

Sincerely yours,
Sergey Lukjanov
Savanna Technical Lead
Mirantis Inc.

On Nov 15, 2013, at 9:25 PM, Matthew Farrellee <matt at redhat.com> wrote:

> On 11/15/2013 12:14 PM, Clint Byrum wrote:
>> Excerpts from Erik Bergenholtz's message of 2013-11-15 08:20:36 -0800:
>>> Team -
>>> 
>>> We’d like to move our disk creation mechanism over to using DiskBuilder so that users can build (and modify) their own VM images. We’d like to piggy back off of the existing mechanism that the vanilla plugin uses. It looks like I should be able to add image-elements to savanna-image-elements/elements directory for the HDP specific setup. Any concerns with this approach? From an organizational standpoint, it would make sense to separate elements from various plugins by creating a directory hierarchy under the elements directory; i.e. a directory for each plugin to keep them separated.
>>> 
>> 
>> I don't know how exactly Savanna calls diskimage-builder, but it
>> would indeed make sense for there to be directories for each set of
>> concerns. One just needs to add each directory that should be searched
>> to ELEMENTS_PATH (colon separated).  This also makes it possible to
>> override an element by putting a directory earlier in ELEMENTS_PATH,
>> as the first found element for each name wins.
> 
> Clint, Savanna doesn't directly interact with DIB. Instead it uses images that are output from DIB w/ savanna-image-elements elements.
> 
> Erik, you can think of DIB elements like packages. Each has a set of scripts that handle installation and configuration of something. For instance, you might create an ambari-agent element that makes sure the ambari-agent is installed and configured so when the image starts up there's no need to install & configure before using the instance.
> 
> Feel free to start throwing reviews at the savanna-image-elements repo and I'll catch them.
> 
> Best,
> 
> 
> matt
> 
> 
> _______________________________________________
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131115/3d358984/attachment.html>


More information about the OpenStack-dev mailing list