Ensure /var/run/octavia is present upon reboot

Closes-Bug: #1861267
Change-Id: I82ba253013e6f76eae9c1cea027f0307e3e1d08b
This commit is contained in:
Carlos Goncalves 2020-01-29 11:32:35 +01:00
parent 0599bc2f12
commit 9821be95ca
2 changed files with 11 additions and 1 deletions

View File

@ -352,7 +352,12 @@ outputs:
with_items:
- { 'path': /var/log/containers/octavia, 'setype': container_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/octavia-api, 'setype': container_file_t, 'mode': '0750' }
- { 'path': /var/run/octavia, 'setype': container_file_t, 'mode': '0750' }
- { 'path': /var/run/octavia, 'setype': container_file_t, 'mode': '0755' }
- 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:

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixed an issue where containers octavia_api and octavia_driver_agent would
fail to start on node reboot.