Guest User

Untitled

a guest
Feb 17th, 2020
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 4.55 KB | None | 0 0
  1. 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`?
  2.  
  3.  
  4.  
  5. TASK [haproxy : Copying over haproxy-internal.pem] *******************************************************************************************************************************************
  6. 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
  7. 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"}
  8.  
  9.  
  10. Ansible deploy/reconfigure error ^
  11. ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
  12.  
  13.  
  14. (openstack) [osadmin@openstack ~]$ kolla-ansible certificates
  15. 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
  16. [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.
  17. This feature will be removed in version 2.10. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
  18. [WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
  19.  
  20. PLAY [Apply role certificates] ***************************************************************************************************************************************************************
  21.  
  22. TASK [Gathering Facts] ***********************************************************************************************************************************************************************
  23. ok: [localhost]
  24.  
  25. TASK [certificates : include_tasks] **********************************************************************************************************************************************************
  26. included: /home/osadmin/openstack/share/kolla-ansible/ansible/roles/certificates/tasks/generate.yml for localhost
  27.  
  28. TASK [certificates : Ensuring config directories exist] **************************************************************************************************************************************
  29. ok: [localhost]
  30.  
  31. TASK [certificates : Creating SSL configuration file] ****************************************************************************************************************************************
  32. ok: [localhost] => (item=openssl-kolla.cnf)
  33.  
  34. TASK [certificates : Creating Key] ***********************************************************************************************************************************************************
  35. ok: [localhost] => (item=/etc/kolla/certificates/private/haproxy.key)
  36.  
  37. TASK [certificates : Setting permissions on key] *********************************************************************************************************************************************
  38. ok: [localhost]
  39.  
  40. TASK [certificates : Creating Server Certificate] ********************************************************************************************************************************************
  41. ok: [localhost] => (item=/etc/kolla/certificates/private/haproxy.crt)
  42.  
  43. TASK [certificates : Creating CA Certificate File] *******************************************************************************************************************************************
  44. ok: [localhost]
  45.  
  46. TASK [certificates : Creating Server PEM File] ***********************************************************************************************************************************************
  47. changed: [localhost]
  48.  
  49. PLAY RECAP ***********************************************************************************************************************************************************************************
  50. localhost                  : ok=9    changed=1    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0  
  51.  
  52.  
  53. Output from Kolla Certificate Generation. It looks like the `haproxy-internal.pem` is missing? ^
Advertisement
Add Comment
Please, Sign In to add comment