Fixes a bug introduced by change 422821. In this change, the schema
validation was moved from the 'prepare' to 'validate' method in
'_clean_up_images'. This causes the validation to be performed before
the provision.json has been generated for a given node and so results
in a Nova Scheduler error as '[Errno 2] No such file or directory'.
Moving the function call back to 'prepare' fixes this problem.
Change-Id: I9128abb5dbc0579190323979f93691e21f4ef6b2
Set of tools that represent some sort of API to communicate with bareon
instance. This API use vendor_passthru ironic API to "catch" request
from bareon instance to ironic API. So bareon-ironic driver can receive
bareon insnstance requests. This is existing communication channel.
Before it was used to receive notification from bareon instance about
successfull node load.
Now this channel is extended to send "generic" tasks(step) from
bareon-ironic driver to bareon instance. Right now only one task(step)
is used - step to inject SSH key into bareon instance.
This new "steps" interface allow to refuse from preinstalled SSH key
in bareon instance, right now. And in future it allow to refuse from SSH
communication between bareon-ironic and bareon instance...
Change-Id: I0791807c7cb3dba70c71c4f46e5eddf01da76cdd
Ironic code now provide PXE configuration tools. So we can drop our own
PXE related code.
Ironic images manipulation code have been improved. This allow to drop
some more our code.
Change-Id: Iaeda025456dbde9163c792e6de6d165c6f03f197
Use deployment-config validation API provided by bareon's data-drivers. It
makes early deployment termination possible in case of an error in
deployment-config.
Change-Id: I17b5d74f1452c9bb2ae3ea63ab0ee8f1fe597ae9
Image names stored into deployment config are looses dash characters
during preparation of deployment config on node boot. This is not
desired behaviour. And now it is fixed.
Change-Id: If188b53160ffbad664b1505373edf3ee0fb14bd7