path: root/apex
diff options
authorTim Rozet <>2018-05-01 16:46:58 -0400
committerTim Rozet <>2018-05-01 16:46:58 -0400
commit4a08bfe63a3fedbd1d15119ea979080e9cdc58b8 (patch)
treef869f9dc48f60439481757f7d11fe9d871678e68 /apex
parent22bc385f5b2e25694699a614268aaad2fdacbb12 (diff)
Removes OC condition in dhcp-all-interfaces
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: JIRA: APEX-588 Change-Id: I3f19afba2618161843ce3b76a03e2dcf1fcb4b99 Signed-off-by: Tim Rozet <>
Diffstat (limited to 'apex')
1 files changed, 5 insertions, 0 deletions
diff --git a/apex/overcloud/ b/apex/overcloud/
index 03e5652..90c5cd4 100644
--- a/apex/overcloud/
+++ b/apex/overcloud/
@@ -434,6 +434,11 @@ def prep_image(ds, ns, img, tmp_dir, root_pw=None, docker_tag=None,
{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)"Overcloud image customization complete")
return patched_containers