summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-11-06 15:32:06 +1100
committerTim Rozet <trozet@redhat.com>2017-11-06 15:32:06 +1100
commit3c7556eb0734706f28588fb952eedea2d424c6d2 (patch)
tree668e8a4686c6dba487c036e2b54f57ccd88c3f15
parent577ccdd1e7ce654ebc7479d8bd1e232abb922571 (diff)
Fixes missing openstack-nova-compute on undercloud
openstack-nova-compute was missing on the undercloud image and it is also missing in the delorean repo from which we froze artifacts for OPNFV release. This is likely due to the age of the repo and to fix it we need to update the delorean repo on undercloud and install the missing package during build time. JIRA: APEX-538 Change-Id: I0f7cd26d5c8e4ad538b3ba3725ab5e7684a50b6a Signed-off-by: Tim Rozet <trozet@redhat.com>
-rwxr-xr-xbuild/undercloud.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/undercloud.sh b/build/undercloud.sh
index 98f20e8..765267d 100755
--- a/build/undercloud.sh
+++ b/build/undercloud.sh
@@ -34,6 +34,7 @@ populate_cache $calipso_uri_base/$calipso_script
# enabling ceph OSDs to live on the controller
# seeding configuration files specific to OPNFV
# Add performance image scripts
+# Override delorean repo with current tripleo (REMOVE when upgrading to Pike)
LIBGUESTFS_BACKEND=direct $VIRT_CUSTOMIZE \
--run-command "sed -i 's/^#UseDNS.*$/UseDNS no/' /etc/ssh/sshd_config" \
--run-command "sed -i 's/^GSSAPIAuthentication.*$/GSSAPIAuthentication no/' /etc/ssh/sshd_config" \
@@ -41,6 +42,8 @@ LIBGUESTFS_BACKEND=direct $VIRT_CUSTOMIZE \
--install "openstack-utils" \
--install "ceph-common" \
--install "http://mirror.centos.org/centos/7/cloud/x86_64/openstack-ocata/python2-networking-sfc-4.0.0-1.el7.noarch.rpm" \
+ --run-command "cd /etc/yum.repos.d && curl -O https://trunk.rdoproject.org/centos7-ocata/current-tripleo/delorean.repo" \
+ --install openstack-nova-compute \
--install epel-release \
--install python34,python34-pip \
--install openstack-ironic-inspector,subunit-filters,docker-distribution,openstack-tripleo-validations \