path: root/apex/builders/
diff options
authorTim Rozet <>2017-11-21 11:25:50 -0500
committerTim Rozet <>2017-11-28 11:03:20 -0500
commit33aebc3b51ce4bc816499a8b68a7feca77a12c6c (patch)
treefbbe43f7e5b6cd0031db856d8fb17b36e531fa18 /apex/builders/
parent2c26b89b546983ec2621f6dce8715873fe6ab774 (diff)
Fixes upstream deployments
There was an issue with patching the overcloud where the patch binary is missing, making it impossible to apply patches. This change install patch now on the image. Also, although deployments were successful, storage was not working. This is because by default upstream does not apply Ceph OSDs to compute nodes for hyperconverged Ceph, but we use this as our standard deployment in Apex. This patch inserts CephOSD into the default Compute role. Note: we normally override role's services in regular Apex deployments so we do not hit this issue there. Change-Id: I5bddda4784dc00148395863ae0990343a4159602 Signed-off-by: Tim Rozet <>
Diffstat (limited to 'apex/builders/')
1 files changed, 2 insertions, 2 deletions
diff --git a/apex/builders/ b/apex/builders/
index 101860c..fd3bcc3 100644
--- a/apex/builders/
+++ b/apex/builders/
@@ -47,7 +47,7 @@ def add_upstream_patches(patches, image, tmp_dir,
in patch)
:return: None
- virt_ops = list()
+ virt_ops = [{con.VIRT_INSTALL: 'patch'}]
logging.debug("Evaluating upstream patches:\n{}".format(patches))
for patch in patches:
assert isinstance(patch, dict)
@@ -73,7 +73,7 @@ def add_upstream_patches(patches, image, tmp_dir,
else:"Ignoring patch:\n{}".format(patch))
- if virt_ops:
+ if len(virt_ops) > 1:
virt_utils.virt_customize(virt_ops, image)