Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Summary: Looks like the deploy/reconfigure playbook looks for an `haproxy-internal.pem` cert but running the `kolla-ansible certificates` doesn't generate the `haproxy-internal.pem`?
- TASK [haproxy : Copying over haproxy-internal.pem] *******************************************************************************************************************************************
- An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
- failed: [localhost] (item=haproxy-internal.pem) => {"ansible_loop_var": "item", "changed": false, "item": "haproxy-internal.pem", "msg": "Could not find or access '/etc/kolla/certificates/haproxy-internal.pem' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
- Ansible deploy/reconfigure error ^
- ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
- (openstack) [osadmin@openstack ~]$ kolla-ansible certificates
- Generate TLS Certificates : ansible-playbook -i /home/osadmin/openstack/share/kolla-ansible/ansible/inventory/all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla /home/osadmin/openstack/share/kolla-ansible/ansible/certificates.yml
- [DEPRECATION WARNING]: The TRANSFORM_INVALID_GROUP_CHARS settings is set to allow bad characters in group names by default, this will change, but still be user configurable on deprecation.
- This feature will be removed in version 2.10. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
- [WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
- PLAY [Apply role certificates] ***************************************************************************************************************************************************************
- TASK [Gathering Facts] ***********************************************************************************************************************************************************************
- ok: [localhost]
- TASK [certificates : include_tasks] **********************************************************************************************************************************************************
- included: /home/osadmin/openstack/share/kolla-ansible/ansible/roles/certificates/tasks/generate.yml for localhost
- TASK [certificates : Ensuring config directories exist] **************************************************************************************************************************************
- ok: [localhost]
- TASK [certificates : Creating SSL configuration file] ****************************************************************************************************************************************
- ok: [localhost] => (item=openssl-kolla.cnf)
- TASK [certificates : Creating Key] ***********************************************************************************************************************************************************
- ok: [localhost] => (item=/etc/kolla/certificates/private/haproxy.key)
- TASK [certificates : Setting permissions on key] *********************************************************************************************************************************************
- ok: [localhost]
- TASK [certificates : Creating Server Certificate] ********************************************************************************************************************************************
- ok: [localhost] => (item=/etc/kolla/certificates/private/haproxy.crt)
- TASK [certificates : Creating CA Certificate File] *******************************************************************************************************************************************
- ok: [localhost]
- TASK [certificates : Creating Server PEM File] ***********************************************************************************************************************************************
- changed: [localhost]
- PLAY RECAP ***********************************************************************************************************************************************************************************
- localhost : ok=9 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0
- Output from Kolla Certificate Generation. It looks like the `haproxy-internal.pem` is missing? ^
Advertisement
Add Comment
Please, Sign In to add comment