22 Commits

Author SHA1 Message Date
Dmitry Tantsur
a70d99405e Switch to post-versioning
Putting a version in setup.cfg requires updating it after every release.
pbr is smart enough to calculate the next version without our help.

Change-Id: I33d610adc8860fe92275096192db06000fb2d6bb
2016-01-12 10:49:36 +01:00
Doug Hellmann
e7de4bba45 Open mitaka development
Update the pre-versioning version number to the next value that can
include new features to tell pbr that the version in setup.cfg and the
recent 1.0.0 tag do not conflict.

Change-Id: I1c9c8e4b8a821fb3a2727a49d6f0f45e43d41218
2015-10-06 17:40:26 +00:00
Dmitry Tantsur
9d6b0864e3 Add "logs" and "extra-hardware" inspection collectors
This is a port of downstream inspector ramdisk plugins we found helpful.
* logs - sends journald logs with inspection data.
* extra-hardware - uses hardware-detect utility to collect bigger
  hardware inventory and to run benchmarks.

Change-Id: If05402606c45185d618279eef46e68c51209f82b
2015-10-01 18:25:30 +02:00
venkatamahesh
f59756f6db Added home-page value in setup.cfg file
Change-Id: Ie7d171e891f57fc7f8b92de1761ff7ef6ec4aaa9
2015-09-16 00:47:49 +05:30
Dmitry Tantsur
096830414b Add support for inspection using ironic-inspector
Adds a new module ironic_python_agent.inspector and new entry point
for extensions, which will allow vendor-specific inspection.

Inspection is run on service start up just before the lookup.
Due to this early start, and due to the fact we don't even know
MAC address of nodes on inspection (to say nothing about IP addresses),
exception handling is a bit different from other agent features:
we try hard not to error out until we send at least something to inspector.

Change-Id: I00932463d41819fd0a050782e2c88eddf6fc08c6
2015-09-07 18:22:54 +02:00
Jay Faulkner
1394771fcc Error doc builds on WARN or ERROR
This will ensure that any new commits to IPA won't pass a docs job if
they introduce improperly formatted doc strings. This will enable us to
ensure our generated documentation remains of a high quality.

I will be following this up with a change to project-config to have IPA
run the docs job on every change.

Change-Id: I90236225623298a7070db1ff22acb44dddb1c520
2015-04-06 19:03:17 +00:00
Jay Faulkner
be97525975 Add sphinx build + basic documentation
This adds and configures a sphinx doc builder. This is based on the code
in Ironic to build documentation.

The goal is for this to contain development documentation relevant to
hacking on the agent, including how to make custom HardwareManagers.

Change-Id: Ib6cecb9959f4ad5c71440fb37827b996582a9545
2015-03-31 16:22:12 -07:00
Josh Gachnang
5f4fa7f27e Add cleaning/zapping support to IPA
This will add support for in band cleaning operations to IPA and
replace the decom API that was unused.

Adds API support for get_clean_steps, which returns a list of
supported clean steps for the node, execute_clean_step, to execute
one of the steps returned by get_clean_steps.

Adds versioning and naming for hardware managers, so if a new hardware
manager version is deployed in the middle of cleaning/zapping, the
cleaning/zapping will be restarted to avoid incompatabilities.

blueprint implement-cleaning-states
blueprint inband-raid-configuration
blueprint implement-zaping-states
Depends-On: Ia2500ed5afb72058b4c5e8f41307169381cbce48
Change-Id: I750b80b9bf98b3ddc5643bb4c14a67d2052239af
2015-03-17 17:07:04 -07:00
Lucas Alvares Gomes
d23e0170de Add the image extension (for local boot)
Initially this extension supports installing a bootloader so the user
image can boot from the local disk.

Change-Id: Ia588aafc240b55119c02f1254addc0cf796f88c5
2015-03-04 16:34:17 +00:00
Lucas Alvares Gomes
d3aa7c93aa Add iscsi extension
This extension allows IPA to be used with the PXE/iSCSI methodology of
deployment in Ironic.

Change-Id: I32ec9fa74182c0d03c7ef1b698b1d0c0e3007773
2015-02-26 12:13:00 +00:00
Jim Rollenhagen
07c4dfc707 Fix author/email in setup.cfg
This changes the email in setup.cfg from an internal Rackspace
email to the openstack-dev list, and the author to OpenStack.

Change-Id: Iebd652c157ba639c72898b7554a23fe9bed77c22
2014-07-01 16:16:08 -07:00
Russell Haering
5ebd2e9797 Organize agent extensions
Move extensions under an ironic_python_agent.extensions module. This
change also moves the @async_command() decorator into the base
extension module.

Change-Id: I4021fcc33a30f3460a31bca44a4bf776cd53d488
2014-04-14 15:09:12 -07:00
Alexander Gordeev
18aa51f1f1 Add FlowExtension
It makes possible of running data-driven flow which's the list of
the other existent extensions to be called.

Change-Id: Ib73ea4da92f291c872b7ae51e46ecc7fdd45ee16
2014-04-14 20:01:08 +04:00
Alexander Gordeev
aee1555156 Get rid of modes. Introduce pluggable extensions
Allow multiple extensions to be loaded by switching to ExtensionManager
from stevedore. Remove any reference to modes.

Change-Id: Ic160478625226b4dd17bd68b3d37f3b05823e519
2014-03-27 17:28:57 +04:00
Josh Gachnang
5914e36b30 Replacing teeth/overlord with ipa/ironic 2014-03-19 16:19:52 -07:00
Josh Gachnang
ce8bc60414 Preparing for OpenStack testing environment
Renamed logging.py to log.py. I was getting import errors because it conflicts
with logging in the stdlib.
2014-03-11 12:50:12 -07:00
Russell Haering
802969b7dd simplify HardwareManager comparison 2014-01-22 11:09:02 -08:00
Russell Haering
3d756e8ac6 register the BaseHardwareManager 2014-01-21 17:15:12 -08:00
Russell Haering
c62cf1a7fa unify the agent executables in teeth-agent 2014-01-20 14:36:17 -08:00
Russell Haering
56f9a3ee9f register standby and decom modes in setup.cfg 2014-01-20 14:36:17 -08:00
Russell Haering
f005c10d4f split agent out into standby and decom classes 2013-12-20 12:57:38 -08:00
Russell Haering
27fdc13e49 out with the old, in with the new 2013-12-16 15:38:02 -08:00