Due to this condition, a non-first ctlplane NIC may fail to come up in
deployments, causing deployment to fail. This is a temporary workaround
until the proper fix can be merged:
https://review.openstack.org/#/c/561003/1
JIRA: APEX-588
Change-Id: I3f19afba2618161843ce3b76a03e2dcf1fcb4b99
Signed-off-by: Tim Rozet <trozet@redhat.com>
{con.VIRT_RUN_CMD: 'systemctl daemon-reload'},
{con.VIRT_RUN_CMD: 'systemctl enable losetup.service'},
])
+ # TODO(trozet) remove this after LP#173474 is fixed
+ dhcp_unit = '/usr/lib/systemd/system/dhcp-interface@.service'
+ virt_cmds.append(
+ {con.VIRT_RUN_CMD: "crudini --del {} Unit "
+ "ConditionPathExists".format(dhcp_unit)})
virt_utils.virt_customize(virt_cmds, tmp_oc_image)
logging.info("Overcloud image customization complete")
return patched_containers