
Covers a popular case of nodes having a pre-defined IP. Also moves NICs code to a separate module for clarity. Change-Id: Id8272cc30728ca68e7ce2efd4f3a2f9887ef7449 Story: #2002171 Task: #26340
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).
- License: Apache License, Version 2.0
- Documentation: https://metalsmith.readthedocs.io
- Source: https://git.openstack.org/cgit/openstack/metalsmith
- Bugs: https://storyboard.openstack.org/#!/project/1000
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 <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 \
--resource-class 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)
Description
Languages
Python
99.9%