summaryrefslogtreecommitdiffstats
path: root/build/undercloud.sh
diff options
context:
space:
mode:
authorFeng Pan <fpan@redhat.com>2017-04-21 14:49:18 -0400
committerFeng Pan <fpan@redhat.com>2017-05-15 16:12:55 +0000
commit67c901485aa5a46d05833edc534f202463bf9f9e (patch)
treeae8d296fdd96ba984bf8f8dc273f82f3887c5696 /build/undercloud.sh
parenta125e6cff94921b8df5680e2cdf7baa649f3775b (diff)
Install missing packages on undercloud image
Currently, tripleo images are not synchronized to CentOS CDN, where we download our images. The bug is tracked at: https://bugs.centos.org/view.php?id=12994 This causes our undercloud image to be out of date and missing packages which are required during undercloud install. This causes puppet to perform yum install of those packages during undercloud deployment, which will fail in cases where internet is not accessible during deployment. While we wait for resolution of CentOS CDN issue, to work around this issue, we need to add those packages in undercloud image. Change-Id: Ic5a2cfddda544c2d7b6b5bcb145ade8276fd411b Signed-off-by: Feng Pan <fpan@redhat.com>
Diffstat (limited to 'build/undercloud.sh')
-rwxr-xr-xbuild/undercloud.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/build/undercloud.sh b/build/undercloud.sh
index f6ab4bc0..e9845d85 100755
--- a/build/undercloud.sh
+++ b/build/undercloud.sh
@@ -66,6 +66,12 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--install "openstack-heat-engine" \
--install "openstack-heat-api-cfn" \
--install "openstack-heat-api" \
+ --install "docker" \
+ --install "git" \
+ --install "openstack-mistral-engine" \
+ --install "openstack-tripleo-validations" \
+ --install "openstack-mistral-api" \
+ --install "openstack-mistral-executor" \
--upload ${BUILD_ROOT}/patches/0001-Removes-doing-yum-update.patch:/usr/lib/python2.7/site-packages/ \
--run-command "cd /usr/lib/python2.7/site-packages/ && patch -p1 < 0001-Removes-doing-yum-update.patch" \
-a undercloud_build.qcow2