Comment 4 for bug 1659493

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to tripleo-image-elements (master)

Reviewed: https://review.openstack.org/425565
Committed: https://git.openstack.org/cgit/openstack/tripleo-image-elements/commit/?id=00b986959c1e9f6f7aa8eecb0e3b7b7f47ab44d1
Submitter: Jenkins
Branch: master

commit 00b986959c1e9f6f7aa8eecb0e3b7b7f47ab44d1
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:
    /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