Simple deployment and scheduling tool for bare metal
Go to file
Steve Baker 5459c30ed4 metalsmith_instances module, unprovision by hostname
The node lookup for unprovision first attempts the allocation name
(hostname)[1] but the metalsmith_instances unprovision passes the node
name.

This means in cases where the node naming scheme and the allocation
naming scheme are the same, the wrong node may be unprovisioned.

This change switches to passing the hostname for unprovision, only
passing the node name if the hostname is missing from the instances
entry.

[1] https://opendev.org/openstack/metalsmith/src/branch/master/metalsmith/_provisioner.py#L653

Change-Id: Ie6b989f8d67c03606be37310777175cfb8d9303e
Resolves: rhbz#2092444
2022-06-20 10:18:08 +12:00
doc Update pep8 test requirements 2021-10-28 14:53:49 +02:00
metalsmith metalsmith_instances module, unprovision by hostname 2022-06-20 10:18:08 +12:00
metalsmith_ansible metalsmith_instances module, unprovision by hostname 2022-06-20 10:18:08 +12:00
playbooks/integration Provide a work around to fix the CI 2022-05-24 15:34:05 +02:00
releasenotes Update master for stable/yoga 2022-03-07 14:07:52 +00:00
.gitignore Add release notes 2018-10-16 15:24:20 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:31:09 +00:00
.stestr.conf Switch to stestr for unit tests 2018-09-10 13:05:02 +02:00
.zuul.yaml Add a CentOS job with legacy local boot 2022-05-16 18:16:26 +02:00
LICENSE Initial commit 2015-08-27 11:33:12 +02:00
README.rst Expose Allocation objects on Instance 2019-05-16 12:15:52 +02:00
requirements.txt Uncap PrettyTable 2021-02-20 10:22:50 +08:00
roles Move roles into a standard directory layout 2020-07-01 13:30:35 +12:00
setup.cfg Re-add python 3.6/3.7 in classifier 2021-12-13 19:44:49 -06:00
setup.py Cleanup py27 support 2020-04-05 18:08:09 +02:00
test-requirements.txt Move pep8 requirements to tox.ini 2020-12-09 14:38:01 +01:00
tox.ini Merge "Ensure tox.ini is ASCII" 2022-02-21 21:11:18 +00:00

README.rst

Deployment and Scheduling tool for Bare Metal

image

Overview

This is a simple tool to provision bare metal machines using OpenStack Bare Metal Service (ironic) and, optionally, OpenStack Image Service (glance) and OpenStack Networking Service (neutron).

Installation

pip install --user metalsmith

Note

The current versions of metalsmith require Bare Metal API from the Stein release or newer. Use the 0.11 release series for older versions.

Contributing