It finally was tested on real environments, and it was not
working properly. The generated image is not build with
dracut, so the regenerate we did there was not used, and the
modules were not enabled.
Adding the modules on the right directory, to be loaded at
boot time.
Also removing the 98-regenerate-initramfs patch, because it
was regenerating an image that is never used, so it was a
no-op
Change-Id: I87527a4ac2111f1e572e3c779e11fdf20fc88bc8
Sometimes we fail to build the IPA ramdisk with:
/tmp/in_target.d/finalise.d/98-regenerate-initramfs: line 13:
IRONIC_AGENT_MULTIPATH_DRIVERS: unbound variable
Let's make sure the env variable is set to 'be2iscsi iscsi_target_mod
dm_multipath' when it is not set as that is the default stated
in the README.
We also make sure to not use the --add-drivers parameter in case
IRONIC_AGENT_MULTIPATH_DRIVERS is set to ''
Change-Id: I4f22c84fb65c7bba6904c174ff6819c6eaee0c32
Closes-Bug: #1659493
Updates the ironic agent, installing multipath package
and regenerating dracut to add all the specified drivers.
Change-Id: Ieda51d71c4760c66c00c48d27b6b6b66e3f479eb