OpenStack Orchestration (Heat) Agents
8b7af86908
This change refactors the arg building so that the logic is contained in dedicated functions for 'docker run' and 'docker exec', instead of being split between the main loop and docker_arg_map. Minor changes in behaviour which don't affect the tests include: - No longer force ascii encoding of arg values - Extra check to ensure the command is a list before extending cmd - Remove the unicode/empty-string list value check Change-Id: I09f3d2ee98020de556a3d0aa72721fe8b7420b2a |
||
---|---|---|
heat-config | ||
heat-config-ansible | ||
heat-config-apply-config | ||
heat-config-cfn-init | ||
heat-config-chef | ||
heat-config-docker-cmd | ||
heat-config-docker-compose | ||
heat-config-hiera | ||
heat-config-json-file | ||
heat-config-kubelet | ||
heat-config-puppet | ||
heat-config-salt | ||
heat-config-script | ||
tests | ||
.gitignore | ||
.gitreview | ||
.testr.conf | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Software configuration hooks
This directory contains diskimage-builder elements to build an image which contains the software configuration hook required to use your preferred configuration method.
These elements depend on some elements found in the tripleo-image-elements repository. These elements will build an image which uses os-collect-config, os-refresh-config, and os-apply-config together to invoke a hook with the supplied configuration data, and return any outputs back to heat.
When building an image only the elements for the preferred configuration methods are required. The heat-config element is automatically included as a dependency.
An example fedora based image containing all hooks can be built and uploaded to glance with the following:
git clone https://git.openstack.org/openstack/diskimage-builder.git
git clone https://git.openstack.org/openstack/tripleo-image-elements.git
git clone https://git.openstack.org/openstack/heat-agents.git
git clone https://git.openstack.org/openstack/dib-utils.git
export PATH="${PWD}/dib-utils/bin:$PATH"
export ELEMENTS_PATH=tripleo-image-elements/elements:heat-agents/
diskimage-builder/bin/disk-image-create vm \
fedora selinux-permissive \
os-collect-config \
os-refresh-config \
os-apply-config \
heat-config \
heat-config-ansible \
heat-config-cfn-init \
heat-config-docker-compose \
heat-config-kubelet \
heat-config-puppet \
heat-config-salt \
heat-config-script \
-o fedora-software-config.qcow2
openstack image create --disk-format qcow2 --container-format bare fedora-software-config < \
fedora-software-config.qcow2