From c41a545351491c78f75ae5fdb8337a3f75f28fee Mon Sep 17 00:00:00 2001 From: Tim Rozet Date: Fri, 22 Sep 2017 16:06:45 -0400 Subject: 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 (cherry picked from commit 0c3445f1201cee43f0a167e4c877d95e2c650b50) --- build/undercloud.sh | 1 + lib/ansible/playbooks/post_deploy_overcloud.yml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/build/undercloud.sh b/build/undercloud.sh index 83ed21be..5930c503 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 -- cgit 1.2.3-korg