diff options
author | Tim Rozet <trozet@redhat.com> | 2017-09-22 16:06:45 -0400 |
---|---|---|
committer | Tim Rozet <trozet@redhat.com> | 2017-09-23 19:46:50 +0000 |
commit | c41a545351491c78f75ae5fdb8337a3f75f28fee (patch) | |
tree | 0e8c9873b82190ecc614ce46e935d006ec0e9e7e | |
parent | e55f718f8a4450ab3efd89c9cb0ad9fabfc3ab90 (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>
(cherry picked from commit 0c3445f1201cee43f0a167e4c877d95e2c650b50)
-rwxr-xr-x | build/undercloud.sh | 1 | ||||
-rw-r--r-- | lib/ansible/playbooks/post_deploy_overcloud.yml | 6 |
2 files changed, 7 insertions, 0 deletions
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 |