Skip to content

Commit d9776a6

Browse files
authored
Merge pull request #2508 from stackhpc/fix-proxysql-rootcrt
Ensure root.crt cert exists for proxysql
2 parents 829ece6 + c930839 commit d9776a6

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

doc/source/operations/upgrading-openstack.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,12 +72,14 @@ version of the playbook ``secret-store-generate-internal-tls.yml`` before runnin
7272
7373
After running the playbook, check if the following files are generated.
7474

75+
* ``$KAYOBE_CONFIG_PATH/kolla/certificates/ca/root.crt``
7576
* ``$KAYOBE_CONFIG_PATH/kolla/certificates/proxysql-cert.pem``
7677
* ``$KAYOBE_CONFIG_PATH/kolla/certificates/proxysql-key.pem``
7778
* ``$KAYOBE_CONFIG_PATH/kolla/certificates/proxysql-ca.pem``
7879

7980
If Kayobe environment is used, check these paths.
8081

82+
* ``$KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/kolla/certificates/ca/root.crt``
8183
* ``$KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/kolla/certificates/proxysql-cert.pem``
8284
* ``$KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/kolla/certificates/proxysql-key.pem``
8385
* ``$KAYOBE_CONFIG_PATH/environments/$KAYOBE_ENVIRONMENT/kolla/certificates/proxysql-ca.pem``

etc/kayobe/ansible/secret-store/secret-store-generate-internal-tls.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,11 @@
5151
- name: Copy root CA
5252
ansible.builtin.copy:
5353
src: "{{ kayobe_env_config_path }}/{{ stackhpc_ca_secret_store }}/OS-TLS-ROOT.pem"
54-
dest: "{{ kayobe_env_config_path }}/kolla/certificates/ca/{{ stackhpc_ca_secret_store }}.crt"
54+
dest: "{{ item }}"
5555
mode: "0600"
56+
loop:
57+
- "{{ kayobe_env_config_path }}/kolla/certificates/ca/{{ stackhpc_ca_secret_store }}.crt"
58+
- "{{ kayobe_env_config_path }}/kolla/certificates/ca/root.crt"
5659
delegate_to: localhost
5760

5861
# NOTE(seunghun1ee): Kolla Ansible reuses internal TLS certificate when

0 commit comments

Comments
 (0)