[openstack-dev] [Savanna] DiskBuilder / savanna-image-elements
slukjanov at mirantis.com
Fri Nov 15 17:36:36 UTC 2013
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.
Savanna Technical Lead
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.
> OpenStack-dev mailing list
> OpenStack-dev at lists.openstack.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-dev