This change normalizes how we execute validations by ensuring all validations calls are
running via a shell command and sourcing the `stackrc` file; this is due to validations
not being completely compatible with the OSC clouds config. All validations will now
run when the `run_validations` is set to true. This ensures that the playbook will only
execute validations when instructed to.
Change-Id: Ie1b0c739dc08023a1bba7a98292a8c570b8a2a9c
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This change computes the concurrency values against the execution workload
allow the playbook to adjust the concurrency value to whatever the user has
defined when that value makes sense. If the concurrency value is greater
than the expected workload the value will be adjusted down as needed. While
this change is not 100% required it will ensure that the execution of our
playbooks is more programatically efficient.
Change-Id: I368187f142560108fe66a59f9acc2d9a6fac97d3
Signed-off-by: Kevin Carter <kecarter@redhat.com>
This change adds the baremetal raid configuration option to the
os_baremetal_clean_node module. This was added here because
cleaning has a direct connection to raid configuration within the
API and CLI so it makes sense to couple these things within the
same module. The module will now handle the raid_config option
and apply the configuration to all node_uuid(s) provided prior
to running a cleaning event.
Story: 2007212
Task: 38449
Change-Id: I51b1977b53995c93eb661f9ffa6d7cbad033ab75
Signed-off-by: Kevin Carter <kecarter@redhat.com>