Simple deployment and scheduling tool for bare metal
23fbeea112
Moved public access to exceptions from metalsmith itself to metalsmith.exceptions to avoid clutterning the former. Updated tox.ini to use upper-constraints. Change-Id: I136e036749171dc6d36d644e79c6fcfeef6242af |
||
---|---|---|
doc | ||
metalsmith | ||
playbooks/integration | ||
.gitignore | ||
.gitreview | ||
.zuul.yaml | ||
LICENSE | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Deployment and Scheduling tool for Bare Metal
Overview
This is a simple tool to provision bare metal machines using OpenStack Bare Metal Service (ironic), OpenStack Image Service (glance) and OpenStack Networking Service (neutron).
Installation
pip install --user metalsmith
CLI Usage
Generic usage is as follows:
metalsmith --os-cloud <CLOUD NAME> deploy --image <GLANCE IMAGE> \
--network <NEUTRON NET> --ssh-public-key <PATH TO SSH PUBLIC KEY> \
<RESOURCE CLASS>
This is an example suitable for TripleO (replace compute
with the profile you want to deploy):
source ~/stackrc
metalsmith deploy --image overcloud-full --network ctlplane \
--capability profile=compute --ssh-public-key ~/.ssh/id_rsa.pub baremetal
To remove the deployed instance:
metalsmith --os-cloud <CLOUD NAME> undeploy <NODE UUID>
For all possible options see the built-in help:
metalsmith --help
Contributing
- Pull requests: Gerrit (see developer's guide)
- Bugs and RFEs: StoryBoard (please do NOT report bugs to Github)