3397094dde
This patch adds a custom wrapper around the tripleo-common utils/nodes.py register_all_nodes function so that we can call it in a workflow to help register nodes. Co-Authored-By: Ryan Brady <rbrady@redhat.com> Co-Authored-By: Dougal Matthews <dougal@redhat.com> Change-Id: Ibd5b2f12b453b70c54272e43ae31195895bd4a20 Depends-On: I17116c0f995ab76ed79bd8b2df57629c1ed4e4d0 |
||
---|---|---|
contrib | ||
doc/source | ||
heat_docker_agent | ||
image-yaml | ||
scripts | ||
tripleo_common | ||
undercloud_heat_plugins | ||
workbooks | ||
.coveragerc | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.testr.conf | ||
CONTRIBUTING.rst | ||
HACKING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel.cfg | ||
openstack-common.conf | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
tripleo-common
A common library for TripleO workflows.
- Free software: Apache license
- Documentation: http://docs.openstack.org/developer/tripleo-common
- Source: http://git.openstack.org/cgit/openstack/tripleo-common
- Bugs: http://bugs.launchpad.net/tripleo-common
Action Development
When developing new actions, you will checkout a copy of tripleo-common to an undercloud machine and add actions as needed. To test the actions they need to be installed and selected services need to be restarted. Use the following code below to accomplish these tasks.
sudo rm -Rf /usr/lib/python2.7/site-packages/tripleo_common* sudo python setup.py install sudo systemctl restart openstack-mistral-executor sudo systemctl restart openstack-mistral-engine # this loads the actions via entrypoints sudo mistral-db-manage populate # make sure the new actions got loaded mistral action-list | grep tripleo