summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTim Rozet <trozet@redhat.com>2017-09-22 16:06:45 -0400
committerTim Rozet <trozet@redhat.com>2017-09-22 16:06:45 -0400
commit0c3445f1201cee43f0a167e4c877d95e2c650b50 (patch)
treeb6c76f1c92d6f3366fc3b2fa4566ddd1aad40813
parente0fcaab6ea8b32277152b69848568d7cbb50c1d6 (diff)
Fixes Tacker auth and fernet keys dir
Tacker authtoken was missing password which is now added in the tht patch. Tacker also needs 'etc/tacker/vim/fernet_keys' in order to be able to create VIMs. The real fix to this missing directory is to the rpm itself: https://review.rdoproject.org/r/#/c/9725/ However in this patch we ensure it is created in Ansible because RDO images are frozen in for now in Apex so we would not pick up new RDO packages. apex-tripleo-heat-templates: I2b347cbc4595e6651b0d4be032cb862fde72e15f Change-Id: I76959cbfd581b9fec69749ccbcbcb39dc959a883 Signed-off-by: Tim Rozet <trozet@redhat.com>
-rwxr-xr-xbuild/undercloud.sh1
-rw-r--r--lib/ansible/playbooks/post_deploy_overcloud.yml6
2 files changed, 7 insertions, 0 deletions
diff --git a/build/undercloud.sh b/build/undercloud.sh
index 05cbf552..ae2a0b85 100755
--- a/build/undercloud.sh
+++ b/build/undercloud.sh
@@ -53,6 +53,7 @@ LIBGUESTFS_BACKEND=direct virt-customize \
--upload ${BUILD_ROOT}/baremetal-environment.yaml:/home/stack/ \
--uninstall "libvirt-client" \
--install "libguestfs-tools" \
+ --install "python-tackerclient" \
-a undercloud_build.qcow2
mv -f undercloud_build.qcow2 undercloud.qcow2
diff --git a/lib/ansible/playbooks/post_deploy_overcloud.yml b/lib/ansible/playbooks/post_deploy_overcloud.yml
index fdf70240..5af138d2 100644
--- a/lib/ansible/playbooks/post_deploy_overcloud.yml
+++ b/lib/ansible/playbooks/post_deploy_overcloud.yml
@@ -43,3 +43,9 @@
fetch:
src: /var/log/messages
dest: "{{ apex_temp_dir }}"
+ - name: Tacker Fernet Keys Directory
+ file:
+ path: /etc/tacker/vim/fernet_keys
+ state: directory
+ mode: 0755
+ become: yes