From: Tim Rozet Date: Mon, 6 Nov 2017 04:32:06 +0000 (+1100) Subject: Fixes missing openstack-nova-compute on undercloud X-Git-Tag: opnfv-6.0.0~59 X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F37%2F46737%2F1;p=apex.git 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 --- diff --git a/build/undercloud.sh b/build/undercloud.sh index 98f20e82..765267df 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 \