A Python agent for provisioning and deprovisioning Bare Metal servers.
Go to file
Javier Pena 5707c35b41 Mock _wait_for_interface in test_run_with_sleep
When running unit tests in an environment without network access,
for example in a packaging env, test_run_with_sleep fails with a
timeout trying to list the network interfaces [1].

Mocking the _wait_for_interface call, as it is done currently on
master and stable/pike, fixes the issue. The original commit is
fdcb0922a5c4a4ecbb8cb1b307c6c750990699ff; this patch only grabs
the one mock from the original change.

[1] - See 8a70c4d575_aa5406af/rpmbuild.log

Change-Id: I5010ea78b4794afb72f86762b7e6fc31c1540436
2017-10-18 15:27:45 +00:00
doc/source Merge "Configure and use SSL-related requests options" 2017-02-07 09:57:49 +00:00
etc/ironic_python_agent Configure and use SSL-related requests options 2017-01-13 11:33:44 +02:00
imagebuild [imagebuild] support requirements referring to /opt/stack/new 2017-06-07 15:38:03 +00:00
ironic_python_agent Mock _wait_for_interface in test_run_with_sleep 2017-10-18 15:27:45 +00:00
releasenotes Remove hard-coded path to grub binaries 2017-09-26 10:25:29 +00:00
tools Use oslo-config-generator for sample config 2016-12-09 21:01:02 +02:00
.gitignore Update .gitignore to ignore .idea of PyCharm 2016-10-10 13:58:43 +08:00
.gitreview Update .gitreview for stable/ocata 2017-02-13 22:25:06 +00: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
CONTRIBUTING.rst Fix missing newline at end-of-file in CONTRIBUTING.rst 2016-12-21 21:18:43 -08:00
Dockerfile Enforce upper-constraints when building ramdisks 2016-08-26 09:06:24 -04:00
LICENSE add license file 2013-09-17 13:41:59 -07:00
README.rst Show team and repo badges on README 2016-11-25 13:34:58 +01: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 Updated from global requirements 2017-05-15 23:31:19 +00:00
setup.cfg Merge "Add a new Hardware Manager for CNA network card" 2016-12-19 16:16:10 +00:00
setup.py Updated from global requirements 2015-09-17 16:39:02 +00:00
test-requirements.txt Add bash scripts style checking for IPA 2016-11-09 14:14:40 -08:00
tox.ini Update UPPER_CONSTRAINTS_FILE for stable/ocata 2017-02-13 22:25:07 +00: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, 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.