metalsmith/README.rst

1.5 KiB

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

Usage

Start with sourcing your OpenStack credentials, for example:

. ~/stackrc

Generic usage is as follows:

metalsmith 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):

metalsmith deploy --image overcloud-full --network ctlplane \
    --capability profile=compute --ssh-public-key ~/.ssh/id_rsa.pub baremetal

To remove the deployed instance:

metalsmith undeploy <NODE UUID>

For all possible options see the built-in help:

metalsmith --help

Contributing