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 10:22:17 +0000
commitbdcda1a275591c24d284d5a3ca385ef86c42b600 (patch)
tree83113f86b88773f2fb2c890cb54e6d0222a45659
parent2ca38198dbc25c651f007c6f478ca604bbdee56d (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> (cherry picked from commit 3c7556eb0734706f28588fb952eedea2d424c6d2)
-rwxr-xr-xbuild/undercloud.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/undercloud.sh b/build/undercloud.sh
index ffe77ed..030e318 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 \