Fixes Tacker auth and fernet keys dir 17/42817/1
authorTim Rozet <trozet@redhat.com>
Fri, 22 Sep 2017 20:06:45 +0000 (16:06 -0400)
committerTim Rozet <trozet@redhat.com>
Fri, 22 Sep 2017 20:06:45 +0000 (16:06 -0400)
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>
build/undercloud.sh
lib/ansible/playbooks/post_deploy_overcloud.yml

index 05cbf55..ae2a0b8 100755 (executable)
@@ -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
index fdf7024..5af138d 100644 (file)
@@ -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