A Python agent for provisioning and deprovisioning Bare Metal servers.
Go to file
Dmitry Tantsur c15ed6a48e Wait for at least one suitable disk to appear on start up
Some kernel modules take substantial time to initialize. For example,
with mpt2sas RAID driver inspection and deployment randomly fail
due to IPA starting before the driver finishes initialization.

This problem is probably impossible to solve in a generic case, as
modern Linux environment do not have a notion of "hardware is fully
initialized" moment. All hardware is essentially hotplug.

To solve it at least for the simplest case, this patch adds a wait loop
on start up waiting for at least one suitable disk to appear in inventory.
Note that root device hints are not considered, as the node might not
be known at that moment yet.

Change-Id: Id163ca28f7c140c302ea04947ded3f3c58b284de
Partial-Bug: #1582797
2016-05-24 10:36:45 +02:00
doc/source Correct link to enabling agent drivers 2016-04-01 06:27:36 -07:00
etc/ironic_python_agent Added some infrastructure tools 2014-04-03 21:09:11 +04:00
imagebuild Merge "TinyIPA: Ensure that kernel modules are loaded at boot" 2016-05-17 13:06:15 +00:00
ironic_python_agent Wait for at least one suitable disk to appear on start up 2016-05-24 10:36:45 +02:00
releasenotes Wait for at least one suitable disk to appear on start up 2016-05-24 10:36:45 +02:00
tools Added some infrastructure tools 2014-04-03 21:09:11 +04:00
.gitignore Make sure that .eggs directory is in gitignore 2016-04-11 16:54:07 +01:00
.gitreview add(gerrit support): Required to move to openstack 2014-03-07 13:30:45 -08:00
.testr.conf Split functional and py27 tests 2015-08-28 14:16:34 -07:00
.travis.yml Preparing for OpenStack testing environment 2014-03-11 12:50:12 -07:00
Dockerfile Force container builds to use http.us.debian.org 2016-04-20 17:20:08 +00:00
LICENSE add license file 2013-09-17 13:41:59 -07: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
README.rst Add DIB ironic-agent element to readme for IPA 2016-02-24 15:32:10 -06:00
requirements.txt Updated from global requirements 2016-05-23 20:44:08 +00:00
setup.cfg Switch to post-versioning 2016-01-12 10:49:36 +01:00
setup.py Updated from global requirements 2015-09-17 16:39:02 +00:00
test-requirements.txt Switch tox unit test command to use ostestr 2016-04-08 15:13:18 -07:00
tox.ini Merge "Switch tox unit test command to use ostestr" 2016-04-10 20:56:23 +00:00

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, bugs, and blueprints are tracked on Launchpad:

http://launchpad.net/ironic-python-agent

Developer documentation can be found here:

http://docs.openstack.org/developer/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.