TripleO: remote execution
I had a chance to sit down with Steve Baker at the OpenStack Austin Summit and prototype a custom Mistral action that can drive Heat software deployments. Iterating on that idea a bit further I have since posted a few patches which demonstrate a new remote execution feature in TripleO.
#execute a shell script on a specific server name
openstack overcloud execute --server-name=overcloud-controller-0 test.sh
#execute a shell script on only the compute nodes
openstack overcloud execute --server-name=compute test.sh
#execute a shell script on all overcloud nodes
openstack overcloud execute --server-name=overcloud test.sh
A couple of things to highlight:
- It is API driven.
- It does not use ssh (rather it uses our TripleO os-collect-config agent).
- Relies on Heat software deployments for much of its functionality the same way we do deployments in TripleO today.
- Power is in the workflows... but the CLI work is cool and demonstrates it nicely.
A short demo of the new TripleO Newton feature here: