A Python agent for provisioning and deprovisioning Bare Metal servers.
Go to file
Olivier Bourdon 5fcf3f066c Fix for fatal error when GPT was used and only MBR was cleaned
You can generate this error if after having provisioned a node
using GPT partitioning, you clean its MBR using say
dd if=/dev/zero bs=1024 count=1 of=/dev/sda
and then cleanup all Ironic/Bifrost informations to get it
reprovisioned.
In this case sgdisk -Z returns an error and last_error field
in Ironic contains:
Error writing image to device: Writing image to device
        /dev/sda failed with exit code 2
Caution: invalid main GPT header, but valid backup;
        regenerating main header\nfrom backup!\n
        \nInvalid partition data!\

Change-Id: Ib617737fff5e40cb376edda0232e0726d9c71231
2018-05-17 12:51:55 +02:00
doc/source Follow-up patch for documentation of rescue mode 2018-02-12 14:05:14 -05:00
etc/ironic_python_agent Update sample config 2017-11-14 09:20:22 +02:00
imagebuild Rescue bug: tinyipa fails to acquire IP in multitenant env 2018-05-15 14:33:36 +07:00
ironic_python_agent Fix for fatal error when GPT was used and only MBR was cleaned 2018-05-17 12:51:55 +02:00
playbooks/legacy Do not run functional (API) tests in the CI 2018-05-11 10:25:41 +00:00
releasenotes Rescue bug: tinyipa fails to acquire IP in multitenant env 2018-05-15 14:33:36 +07:00
tools Use oslo-config-generator for sample config 2016-12-09 21:01:02 +02:00
zuul.d add lower-constraints job 2018-03-22 13:45:58 -04:00
.gitignore Migrate to stestr as unit tests runner 2017-09-26 09:23:53 -07:00
.gitreview add(gerrit support): Required to move to openstack 2014-03-07 13:30:45 -08:00
.stestr.conf Migrate to stestr as unit tests runner 2017-09-26 09:23:53 -07:00
.travis.yml Preparing for OpenStack testing environment 2014-03-11 12:50:12 -07:00
CONTRIBUTING.rst Change launchpad to StoryBoard 2018-03-28 14:15:29 +00:00
Dockerfile Fix gate and bump CoreOS version to latest stable. 2018-05-10 15:50:05 -07:00
LICENSE add license file 2013-09-17 13:41:59 -07:00
README.rst Change launchpad to StoryBoard 2018-03-28 14:15:29 +00:00
bindep.txt change python-libguestfs to python-guestfs for ubuntu 2018-03-12 03:24:20 +00:00
lower-constraints.txt fix lower constraints and uncap eventlet 2018-04-19 20:19:42 +09:00
plugin-requirements.txt Add "logs" and "extra-hardware" inspection collectors 2015-10-01 18:25:30 +02:00
proxy.sh Add support for proxy servers during image build 2016-02-04 14:27:49 -08:00
requirements.txt fix lower constraints and uncap eventlet 2018-04-19 20:19:42 +09:00
setup.cfg Rescue extension for CoreOS with DHCP tenant networks 2017-11-06 04:48:58 -05:00
setup.py Updated from global requirements 2017-03-02 11:45:38 +00:00
test-requirements.txt Gate fix: Cap hacking to avoid gate failure 2018-05-09 02:38:35 +00:00
tox.ini flake8: Add W503 to ignore list as invalid 2018-04-11 09:33:45 -07:00

README.rst

Team and repository tags

image

ironic-python-agent

An agent for controlling and deploying Ironic controlled baremetal nodes.

The ironic-python-agent works with the agent driver in Ironic to provision the node. Starting with ironic-python-agent running on a ramdisk on the unprovisioned node, Ironic makes API calls to ironic-python-agent to provision the machine. This allows for greater control and flexibility of the entire deployment process.

The ironic-python-agent may also be used with the original Ironic pxe drivers as of the Kilo OpenStack release.

Building the IPA deployment ramdisk

For more information see the Image Builder section of the Ironic Python Agent developer guide.

Using IPA with devstack

This is covered in the Deploying Ironic with DevStack section of the Ironic dev-quickstart guide.

Project Resources

Project status, features, and bugs are tracked on StoryBoard:

https://storyboard.openstack.org/#!/project/947

Developer documentation can be found here:

https://docs.openstack.org/ironic-python-agent

Additional resources are linked from the project wiki page:

https://wiki.openstack.org/wiki/Ironic-python-agent

IRC channel:

#openstack-ironic

To contribute, start here: Openstack: How to contribute.