Ensure /var/run/octavia is present upon reboot
Closes-Bug: #1861267 Change-Id: I82ba253013e6f76eae9c1cea027f0307e3e1d08b (cherry picked from commit9821be95ca
) (cherry picked from commit0ac37029f6
)
This commit is contained in:
parent
303d0d9a6e
commit
3b1f1086d8
|
@ -343,7 +343,7 @@ outputs:
|
|||
- { 'path': /var/log/containers/octavia, 'setype': svirt_sandbox_file_t }
|
||||
- { 'path': /var/log/containers/httpd/octavia-api, 'setype': svirt_sandbox_file_t }
|
||||
- { 'path': /var/log/octavia, 'setype': svirt_sandbox_file_t }
|
||||
- { 'path': /var/run/octavia, 'setype': svirt_sandbox_file_t }
|
||||
- { 'path': /var/run/octavia, 'setype': svirt_sandbox_file_t, 'mode': '0755' }
|
||||
- name: octavia logs readme
|
||||
copy:
|
||||
dest: /var/log/octavia/readme.txt
|
||||
|
@ -351,6 +351,11 @@ outputs:
|
|||
Log files from octavia containers can be found under
|
||||
/var/log/containers/octavia and /var/log/containers/httpd/octavia-api.
|
||||
ignore_errors: true
|
||||
- name: ensure /var/run/octavia is present upon reboot
|
||||
copy:
|
||||
dest: /etc/tmpfiles.d/var-run-octavia.conf
|
||||
content: |
|
||||
d /var/run/octavia 0755 root root - -
|
||||
update_tasks:
|
||||
- name: Set internal tls variable
|
||||
set_fact:
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
fixes:
|
||||
- |
|
||||
Fixed an issue where containers octavia_api and octavia_driver_agent would
|
||||
fail to start on node reboot.
|
Loading…
Reference in New Issue