summaryrefslogtreecommitdiffstats
path: root/build/undercloud.sh
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2016-11-22 10:53:05 -0500
committerTim Rozet <trozet@redhat.com>2016-11-22 11:27:42 -0500
commit052e43fa14e84228f6b66609c8aa5758df1493f0 (patch)
treea95b5178b6da33737990be18c41bc318c723f20c /build/undercloud.sh
parenta75a950bd921bf4db78138fac6bca3cc17c13e44 (diff)
Fixes broken puppet-keystone calls to openstackclient
Issue where openstackclient is trying to parse keystone options, and os-client-config is converting 'url' to 'endpoint' which openstackclient does not support. Also updates mitaka delorean repo. JIRA: APEX-349 Change-Id: I137a069c297d7d00fed64746b5de261d7b8f7d93 Signed-off-by: Tim Rozet <trozet@redhat.com>
Diffstat (limited to 'build/undercloud.sh')
-rwxr-xr-xbuild/undercloud.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/undercloud.sh b/build/undercloud.sh
index a4d008ee..af1b3455 100755
--- a/build/undercloud.sh
+++ b/build/undercloud.sh
@@ -22,6 +22,9 @@ pushd opnfv-tht > /dev/null
git archive --format=tar.gz --prefix=openstack-tripleo-heat-templates/ HEAD > ../opnfv-tht.tar.gz
popd > /dev/null
+# replace repo with latest delorean mitaka
+wget https://trunk.rdoproject.org/centos7-mitaka/current-passed-ci/delorean.repo
+
pushd images > /dev/null
# installing forked opnfv-tht
# enabling ceph OSDs to live on the controller
@@ -32,6 +35,7 @@ pushd images > /dev/null
# add tacker password to python-tripleoclient
# upload tacker repo and install the client package
LIBGUESTFS_BACKEND=direct virt-customize \
+ --upload ../delorean.repo:/etc/yum.repos.d/ \
--upload ../opnfv-tht.tar.gz:/usr/share \
--run-command "cd /usr/share && rm -rf openstack-tripleo-heat-templates && tar xzf opnfv-tht.tar.gz" \
--run-command "sed -i '/ControllerEnableCephStorage/c\\ ControllerEnableCephStorage: true' /usr/share/openstack-tripleo-heat-templates/environments/storage-environment.yaml" \