This changes the behavior to prevent locking a node that does not match
the requested pool. Currently using a pool locks a node in that pool if
there is one ready, as expected. If there is not one ready from the
pool but there is any other node ready, it will lock a node outside the
pool, not expected and breaking behavior. Also update to handle PyYAML 6.0.0
Change-Id: I285256037e16f94c79cc7d813235460b4032393d
This commit add node_pool options which allow user to create
different pools of hardware depends of their type.
Change-Id: If35158e35c405afcc1158e7f4015dea6048ce59f
Changed the length of the provisioned field for the
molteniron status command. Also added the missing
ipmi_ip field for the blob_status aggregate.
Change-Id: I97c4a82a2467297223b929a29b73e6a8d41f019d
Closes-Bug: 1650332
CentOS installs molteniron into /usr/etc/molteniron instead of
/usr/local/etc/molteniron/ so we have moved the conf.yaml file
into the molteniron Python directory and started using
pkg_resources.resource_filename to find our data file.
Change-Id: I75330d51475051a04bb2dff903f54727b9be9b6e
test_hook_mi_ipmiblob.py is the provided sample for a CI team to
use to allocate a MoltenIron instance before running tests.
Change-Id: I217b8e3ba14cb3c4358d71be40ad9ca80aca32e1
Putting MoltenIron as a public class in the library allows
clients to programatically call the server and perform
operations.
Change-Id: I9fb03ee5de56c9196d6aaf983dfe22135f29c568
This function will move http and json processing into a new
function done on demand after class initialization.
Change-Id: Ibf57f1e23912f7878287c6f85efd9ea93c7f13a1
Added custom Exception classes and raised them in get_moltenirond_pid.
Added log_error to log to stderr and a logfile
called /tmp/MoltenIron-error-logfile.
Change-Id: I2855cf832c2a1a8f5ef9df34cf96706eb5406276
Moved files to a new directory to support the installation
of the molteniron package. Renamed one file to be a
command line tool and added a new file to start/stop
the daemon.
Added tox support for testing. This needed the ability
to start and stop the daemon. And it also needed the
ability to delete the database entries to ensure a clean
test run.
Change-Id: I1b0fadd68b9598b715c639b962cf8586f4db5da8