Browse Source

Merge "Fix Octavia certificate file path and content" into stable/queens

changes/56/704656/2
Zuul 1 week ago
parent
commit
5f127763ca
2 changed files with 10 additions and 4 deletions
  1. +4
    -4
      playbooks/roles/octavia-controller-config/tasks/certificate.yml
  2. +6
    -0
      releasenotes/notes/octavia-fix-certificates-path-and-content-e8acf1e859e75135.yaml

+ 4
- 4
playbooks/roles/octavia-controller-config/tasks/certificate.yml View File

@@ -10,13 +10,13 @@
become: true
copy:
content: "{{ item.content }}"
dest: "{{ octavia_confd_prefix }}{{ item.path }}"
dest: "{{ octavia_confd_prefix }}/{{ item.path }}"
selevel: s0
setype: svirt_sandbox_file_t
no_log: true
loop:
- { content: private_key_content, path: ca_private_key_path }
- { content: ca_cert_content, path: ca_cert_path }
- { content: service_pem_content, path: client_cert_path }
- { content: "{{ private_key_content }}", path: "{{ ca_private_key_path }}" }
- { content: "{{ ca_cert_content }}", path: "{{ ca_cert_path }}" }
- { content: "{{ service_pem_content }}" , path: "{{ client_cert_path }}" }
notify:
- octavia config updated

+ 6
- 0
releasenotes/notes/octavia-fix-certificates-path-and-content-e8acf1e859e75135.yaml View File

@@ -0,0 +1,6 @@
---
fixes:
- |
Fixed an issue were amphora load balancers would fail to create. The
problem was because Octavia certificate files were being created in a wrong
path and with invalid content.

Loading…
Cancel
Save