Dmitry Tantsur 2afd20938d Support creating a swap partition
BREAKING: --root-disk-size => --root-size

Story: #2002171
Task: #20033
Change-Id: I5d6b38e1a9e71b608b40e140e34c4509b896a1ff
2018-09-10 17:00:41 +02:00
2018-06-11 11:01:08 +02:00
2018-09-10 13:05:02 +02:00
2018-05-14 19:24:51 +02:00
2018-09-10 13:05:02 +02:00
2018-09-10 17:00:41 +02:00
2015-08-27 11:33:12 +02:00
2017-09-20 12:26:47 +02:00
2018-09-10 13:05:02 +02:00

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 <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

Description
Simple deployment and scheduling tool for bare metal
Readme 3.4 MiB
Languages
Python 99.9%