Set IRONIC_AGENT_MULTIPATH_DRIVERS to '' when undefined
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 ''
Reviewed: https:/ /review. openstack. org/425565 /git.openstack. org/cgit/ openstack/ tripleo- image-elements/ commit/ ?id=00b986959c1 e9f6f7aa8eecb0e 3b7b7f47ab44d1
Committed: https:/
Submitter: Jenkins
Branch: master
commit 00b986959c1e9f6 f7aa8eecb0e3b7b 7f47ab44d1
Author: Michele Baldessari <email address hidden>
Date: Thu Jan 26 08:31:01 2017 +0100
Set IRONIC_ AGENT_MULTIPATH _DRIVERS to '' when undefined
Sometimes we fail to build the IPA ramdisk with: in_target. d/finalise. d/98-regenerate -initramfs: line 13: AGENT_MULTIPATH _DRIVERS: unbound variable
/tmp/
IRONIC_
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 AGENT_MULTIPATH _DRIVERS is set to ''
IRONIC_
Change-Id: I4f22c84fb65c7b ba6904c174ff681 9c6eaee0c32
Closes-Bug: #1659493