IRONIC_AGENT_MULTIPATH_DRIVERS is undefined during IPA image build

Bug #1659493 reported by Michele Baldessari
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Critical
Yolanda Robla

Bug Description

A bunch of jobs are failing (http://logs.openstack.org/98/417898/28/check-tripleo/gate-tripleo-ci-centos-7-ovb-ha/f1bf016/console.html). This seems to be the error:
/tmp/in_target.d/finalise.d/98-regenerate-initramfs: line 13: IRONIC_AGENT_MULTIPATH_DRIVERS: unbound variable

The change that introduced this was Ieda51d71c4760c66c00c48d27b6b6b66e3f479eb

Changed in tripleo:
importance: Undecided → Critical
assignee: nobody → Michele Baldessari (michele)
milestone: none → ocata-3
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to tripleo-image-elements (master)

Fix proposed to branch: master
Review: https://review.openstack.org/425565

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
Gabriele Cerami (gcerami) wrote :

The change that introduced this probably never worked. images are recreated usually in periodic jobs and no periodic job has reached that point since the change was merged.

tags: added: promotion-blocker
Changed in tripleo:
assignee: Michele Baldessari (michele) → Yolanda Robla (yolanda.robla)
Revision history for this message
Gabriele Cerami (gcerami) wrote :

proposed https://review.openstack.org/425626 to prevent this from happening again

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

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-image-elements 6.0.0.0rc1

This issue was fixed in the openstack/tripleo-image-elements 6.0.0.0rc1 release candidate.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.