Merge "[train-squash] Backport legacy log folder and readme cleanups" into stable/train

This commit is contained in:
Zuul 2020-02-13 19:48:02 +00:00 committed by Gerrit Code Review
commit c11abb26d6
80 changed files with 97 additions and 721 deletions

View File

@ -221,16 +221,8 @@ outputs:
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
state: directory state: directory
with_items: with_items:
- { 'path': /var/log/containers/aodh, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/aodh, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/aodh-api, setype: svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/aodh-api, setype: svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/aodh, setype: svirt_sandbox_file_t }
- name: aodh logs readme
copy:
dest: /var/log/aodh/readme.txt
content: |
Log files from aodh containers can be found under
/var/log/containers/aodh and /var/log/containers/httpd/aodh-api.
ignore_errors: true
metadata_settings: metadata_settings:
get_attr: [ApacheServiceBase, role_data, metadata_settings] get_attr: [ApacheServiceBase, role_data, metadata_settings]
external_upgrade_tasks: external_upgrade_tasks:

View File

@ -114,15 +114,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/aodh, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/aodh, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/aodh, 'setype': svirt_sandbox_file_t }
- name: aodh logs readme
copy:
dest: /var/log/aodh/readme.txt
content: |
Log files from aodh containers can be found under
/var/log/containers/aodh and /var/log/containers/httpd/aodh-api.
ignore_errors: true
external_upgrade_tasks: external_upgrade_tasks:
- when: - when:
- step|int == 1 - step|int == 1

View File

@ -114,15 +114,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/aodh, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/aodh, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/aodh, 'setype': svirt_sandbox_file_t }
- name: aodh logs readme
copy:
dest: /var/log/aodh/readme.txt
content: |
Log files from aodh containers can be found under
/var/log/containers/aodh and /var/log/containers/httpd/aodh-api.
ignore_errors: true
external_upgrade_tasks: external_upgrade_tasks:
- when: - when:
- step|int == 1 - step|int == 1

View File

@ -114,15 +114,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/aodh, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/aodh, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/aodh, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/aodh, 'setype': svirt_sandbox_file_t }
- name: aodh logs readme
copy:
dest: /var/log/aodh/readme.txt
content: |
Log files from aodh containers can be found under
/var/log/containers/aodh and /var/log/containers/httpd/aodh-api.
ignore_errors: true
external_upgrade_tasks: external_upgrade_tasks:
- when: - when:
- step|int == 1 - step|int == 1

View File

@ -161,15 +161,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/ceilometer, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/ceilometer, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/ceilometer, 'setype': svirt_sandbox_file_t }
- name: ceilometer logs readme
copy:
dest: /var/log/ceilometer/readme.txt
content: |
Log files from ceilometer containers can be found under
/var/log/containers/ceilometer.
ignore_errors: true
external_upgrade_tasks: external_upgrade_tasks:
- when: - when:
- step|int == 1 - step|int == 1

View File

@ -119,15 +119,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/ceilometer, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/ceilometer, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/ceilometer, 'setype': svirt_sandbox_file_t }
- name: ceilometer logs readme
copy:
dest: /var/log/ceilometer/readme.txt
content: |
Log files from ceilometer containers can be found under
/var/log/containers/ceilometer.
ignore_errors: true
- name: enable virt_sandbox_use_netlink for healthcheck - name: enable virt_sandbox_use_netlink for healthcheck
seboolean: seboolean:
name: virt_sandbox_use_netlink name: virt_sandbox_use_netlink

View File

@ -137,15 +137,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/ceilometer, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/ceilometer, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/ceilometer, 'setype': svirt_sandbox_file_t }
- name: ceilometer logs readme
copy:
dest: /var/log/ceilometer/readme.txt
content: |
Log files from ceilometer containers can be found under
/var/log/containers/ceilometer.
ignore_errors: true
fast_forward_upgrade_tasks: fast_forward_upgrade_tasks:
- when: - when:
- step|int == 0 - step|int == 0

View File

@ -143,15 +143,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/ceilometer, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/ceilometer, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/ceilometer, 'setype': svirt_sandbox_file_t }
- name: ceilometer logs readme
copy:
dest: /var/log/ceilometer/readme.txt
content: |
Log files from ceilometer containers can be found under
/var/log/containers/ceilometer.
ignore_errors: true
- name: enable virt_sandbox_use_netlink for healthcheck - name: enable virt_sandbox_use_netlink for healthcheck
seboolean: seboolean:
name: virt_sandbox_use_netlink name: virt_sandbox_use_netlink

View File

@ -341,16 +341,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/cinder, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/cinder, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/cinder-api, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/cinder-api, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/cinder, 'setype': svirt_sandbox_file_t }
- name: cinder logs readme
copy:
dest: /var/log/cinder/readme.txt
content: |
Log files from cinder containers can be found under
/var/log/containers/cinder and /var/log/containers/httpd/cinder-api.
ignore_errors: true
external_upgrade_tasks: external_upgrade_tasks:
- when: step|int == 1 - when: step|int == 1
block: block:

View File

@ -72,16 +72,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/cinder, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/cinder, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/cinder, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/cinder, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/cinder, 'setype': svirt_sandbox_file_t }
- name: cinder logs readme
copy:
dest: /var/log/cinder/readme.txt
content: |
Log files from cinder containers can be found under
/var/log/containers/cinder and /var/log/containers/httpd/cinder-api.
ignore_errors: true
- name: ensure ceph configurations exist - name: ensure ceph configurations exist
file: file:
path: /etc/ceph path: /etc/ceph

View File

@ -135,15 +135,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/cinder, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/cinder, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/cinder, 'setype': svirt_sandbox_file_t }
- name: cinder logs readme
copy:
dest: /var/log/cinder/readme.txt
content: |
Log files from cinder containers can be found under
/var/log/containers/cinder and /var/log/containers/httpd/cinder-api.
ignore_errors: true
- name: enable virt_sandbox_use_netlink for healthcheck - name: enable virt_sandbox_use_netlink for healthcheck
seboolean: seboolean:
name: virt_sandbox_use_netlink name: virt_sandbox_use_netlink

View File

@ -241,16 +241,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- {'path': /var/log/containers/mysql, 'setype': 'svirt_sandbox_file_t'} - {'path': /var/log/containers/mysql, 'setype': 'svirt_sandbox_file_t', 'mode': '0750'}
- {'path': /var/lib/mysql, 'setype': 'svirt_sandbox_file_t'} - {'path': /var/lib/mysql, 'setype': 'svirt_sandbox_file_t'}
- {'path': /var/log/mariadb, 'setype': 'svirt_sandbox_file_t'}
- name: mysql logs readme
copy:
dest: /var/log/mariadb/readme.txt
content: |
Log files from mysql containers can be found under
/var/log/containers/mysql.
ignore_errors: true
upgrade_tasks: upgrade_tasks:
# LP 1810136 # LP 1810136
# After upgrade, the new mariadb (e.g. 10.3) might not be able # After upgrade, the new mariadb (e.g. 10.3) might not be able

View File

@ -313,16 +313,9 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- {'path': /var/log/containers/mysql, 'setype': 'svirt_sandbox_file_t'} - {'path': /var/log/containers/mysql, 'setype': 'svirt_sandbox_file_t', 'mode': '0750'}
- {'path': /var/lib/mysql, 'setype': 'svirt_sandbox_file_t'} - {'path': /var/lib/mysql, 'setype': 'svirt_sandbox_file_t'}
- {'path': /var/log/mariadb, 'setype': 'svirt_sandbox_file_t'} - {'path': /var/log/mariadb, 'setype': 'svirt_sandbox_file_t', 'mode': '0750'}
- name: mysql logs readme
copy:
dest: /var/log/mariadb/readme.txt
content: |
Log files from mysql containers can be found under
/var/log/containers/mysql.
ignore_errors: true
metadata_settings: metadata_settings:
get_attr: [MysqlBase, role_data, metadata_settings] get_attr: [MysqlBase, role_data, metadata_settings]
deploy_steps_tasks: deploy_steps_tasks:

View File

@ -219,21 +219,13 @@ outputs:
path: "{{ item.path }}" path: "{{ item.path }}"
state: directory state: directory
with_items: with_items:
- { 'path': /var/log/containers/redis, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/redis, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/run/redis, 'setype': svirt_sandbox_file_t } - { 'path': /var/run/redis, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/redis, 'setype': svirt_sandbox_file_t }
- name: ensure /var/run/redis is present upon reboot - name: ensure /var/run/redis is present upon reboot
copy: copy:
dest: /etc/tmpfiles.d/var-run-redis.conf dest: /etc/tmpfiles.d/var-run-redis.conf
content: | content: |
d /var/run/redis 0755 root root - - d /var/run/redis 0755 root root - -
- name: redis logs readme
copy:
dest: /var/log/redis/readme.txt
content: |
Log files from redis containers can be found under
/var/log/containers/redis.
ignore_errors: true
update_tasks: update_tasks:
- name: Ensure redis is uninstalled on container host - name: Ensure redis is uninstalled on container host
when: step|int == 1 when: step|int == 1

View File

@ -290,21 +290,13 @@ outputs:
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/lib/redis, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/redis, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/containers/redis, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/redis, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/run/redis, 'setype': svirt_sandbox_file_t } - { 'path': /var/run/redis, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/redis, 'setype': svirt_sandbox_file_t }
- name: ensure /var/run/redis is present upon reboot - name: ensure /var/run/redis is present upon reboot
copy: copy:
dest: /etc/tmpfiles.d/var-run-redis.conf dest: /etc/tmpfiles.d/var-run-redis.conf
content: | content: |
d /var/run/redis 0755 root root - - d /var/run/redis 0755 root root - -
- name: redis logs readme
copy:
dest: /var/log/redis/readme.txt
content: |
Log files from redis containers can be found under
/var/log/containers/redis.
ignore_errors: true
deploy_steps_tasks: deploy_steps_tasks:
- name: Redis tag container image for pacemaker - name: Redis tag container image for pacemaker
when: step|int == 1 when: step|int == 1

View File

@ -160,12 +160,4 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/designate, 'setype': svirt_sandbox_file_t }
- name: designate logs readme
copy:
dest: /var/log/designate/readme.txt
content: |
Log files from designate containers can be found under
/var/log/containers/designate.
ignore_errors: true

View File

@ -194,12 +194,4 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/designate, 'setype': svirt_sandbox_file_t }
- name: designate logs readme
copy:
dest: /var/log/designate/readme.txt
content: |
Log files from designate containers can be found under
/var/log/containers/designate.
ignore_errors: true

View File

@ -161,11 +161,4 @@ outputs:
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/designate, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/designate, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- name: designate logs readme
copy:
dest: /var/log/designate/readme.txt
content: |
Log files from designate containers can be found under
/var/log/containers/designate.
ignore_errors: true

View File

@ -133,12 +133,4 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/designate, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t }
- name: designate logs readme
copy:
dest: /var/log/designate/readme.txt
content: |
Log files from designate containers can be found under
/var/log/containers/designate.
ignore_errors: true

View File

@ -125,12 +125,4 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/designate, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t }
- name: designate logs readme
copy:
dest: /var/log/designate/readme.txt
content: |
Log files from designate containers can be found under
/var/log/containers/designate.
ignore_errors: true

View File

@ -226,15 +226,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/designate, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/designate, 'setype': svirt_sandbox_file_t }
- name: designate logs readme
copy:
dest: /var/log/designate/readme.txt
content: |
Log files from designate containers can be found under
/var/log/containers/designate.
ignore_errors: true
- name: create persistent named directory - name: create persistent named directory
file: file:
path: /var/named-persistent path: /var/named-persistent

View File

@ -38,13 +38,5 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/glance, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/glance, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/glance, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/containers/httpd/glance, 'setype': svirt_sandbox_file_t, 'mode': '0750' } - { 'path': /var/log/containers/httpd/glance, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- name: glance logs readme
copy:
dest: /var/log/glance/readme.txt
content: |
Log files from glance containers can be found under
/var/log/containers/glance.
ignore_errors: true

View File

@ -349,17 +349,9 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/gnocchi, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/gnocchi, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/gnocchi-api, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/gnocchi-api, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': {get_param: GnocchiFileBasePath}, 'setype': svirt_sandbox_file_t } - { 'path': {get_param: GnocchiFileBasePath}, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/gnocchi, 'setype': svirt_sandbox_file_t }
- name: gnocchi logs readme
copy:
dest: /var/log/gnocchi/readme.txt
content: |
Log files from gnocchi containers can be found under
/var/log/containers/gnocchi and /var/log/containers/httpd/gnocchi-api.
ignore_errors: true
- name: ensure ceph configurations exist - name: ensure ceph configurations exist
file: file:
path: /etc/ceph path: /etc/ceph

View File

@ -159,15 +159,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/gnocchi, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/gnocchi, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/gnocchi, 'setype': svirt_sandbox_file_t }
- name: gnocchi logs readme
copy:
dest: /var/log/gnocchi/readme.txt
content: |
Log files from gnocchi containers can be found under
/var/log/containers/gnocchi and /var/log/containers/httpd/gnocchi-api.
ignore_errors: true
- name: create persistent data directory - name: create persistent data directory
file: file:
path: {get_param: GnocchiFileBasePath} path: {get_param: GnocchiFileBasePath}

View File

@ -153,15 +153,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/gnocchi, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/gnocchi, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/gnocchi, 'setype': svirt_sandbox_file_t }
- name: gnocchi logs readme
copy:
dest: /var/log/gnocchi/readme.txt
content: |
Log files from gnocchi containers can be found under
/var/log/containers/gnocchi and /var/log/containers/httpd/gnocchi-api.
ignore_errors: true
- name: create persistent data directory - name: create persistent data directory
file: file:
path: {get_param: GnocchiFileBasePath} path: {get_param: GnocchiFileBasePath}

View File

@ -364,16 +364,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/haproxy, 'setype': var_log_t } - { 'path': /var/log/containers/haproxy, 'setype': var_log_t, 'mode': '0750' }
- { 'path': /var/lib/haproxy, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/haproxy, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/haproxy, 'setype': svirt_sandbox_file_t }
- name: haproxy logs readme
copy:
dest: /var/log/haproxy/readme.txt
content: |
Log files from the haproxy containers can be found under
/var/log/containers/haproxy.
ignore_errors: true
metadata_settings: metadata_settings:
list_concat: list_concat:
- {get_attr: [HAProxyPublicTLS, role_data, metadata_settings]} - {get_attr: [HAProxyPublicTLS, role_data, metadata_settings]}

View File

@ -299,20 +299,13 @@ outputs:
TRIPLEO_DEPLOY_IDENTIFIER: {get_param: DeployIdentifier} TRIPLEO_DEPLOY_IDENTIFIER: {get_param: DeployIdentifier}
host_prep_tasks: host_prep_tasks:
- {get_attr: [HAProxyBase, role_data, host_prep_tasks]} - {get_attr: [HAProxyBase, role_data, host_prep_tasks]}
- name: haproxy logs readme
copy:
dest: /var/log/haproxy/readme.txt
content: |
Log files from the haproxy containers can be found under
/var/log/containers/haproxy.
ignore_errors: true
- name: create persistent directories - name: create persistent directories
file: file:
path: "{{ item.path }}" path: "{{ item.path }}"
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/haproxy, 'setype': var_log_t } - { 'path': /var/log/containers/haproxy, 'setype': var_log_t, 'mode': '0750' }
- { 'path': /var/lib/haproxy, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/haproxy, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/haproxy, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/haproxy, 'setype': svirt_sandbox_file_t }
metadata_settings: metadata_settings:

View File

@ -321,17 +321,9 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/horizon, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/horizon, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/horizon, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/horizon, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/www, 'setype': svirt_sandbox_file_t } - { 'path': /var/www, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/horizon, 'setype': svirt_sandbox_file_t }
- name: horizon logs readme
copy:
dest: /var/log/horizon/readme.txt
content: |
Log files from horizon containers can be found under
/var/log/containers/horizon and /var/log/containers/httpd/horizon.
ignore_errors: true
upgrade_tasks: [] upgrade_tasks: []
external_upgrade_tasks: external_upgrade_tasks:
- when: - when:

View File

@ -268,16 +268,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/ironic, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/ironic, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/ironic-api, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/ironic-api, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/ironic, 'setype': svirt_sandbox_file_t }
- name: ironic logs readme
copy:
dest: /var/log/ironic/readme.txt
content: |
Log files from ironic containers can be found under
/var/log/containers/ironic and /var/log/containers/httpd/ironic-*.
ignore_errors: true
external_upgrade_tasks: external_upgrade_tasks:
- when: step|int == 1 - when: step|int == 1
block: block:

View File

@ -554,16 +554,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/ironic, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/ironic, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/ironic, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/ironic, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/ironic, 'setype': svirt_sandbox_file_t }
- name: ironic logs readme
copy:
dest: /var/log/ironic/readme.txt
content: |
Log files from ironic containers can be found under
/var/log/containers/ironic and /var/log/containers/httpd/ironic-*.
ignore_errors: true
- name: stat /httpboot - name: stat /httpboot
stat: path=/httpboot stat: path=/httpboot
register: stat_httpboot register: stat_httpboot

View File

@ -463,15 +463,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/ironic-inspector, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/ironic-inspector, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/ironic-inspector, 'setype': svirt_sandbox_file_t }
- name: ironic-inspector logs readme
copy:
dest: /var/log/ironic-inspector/readme.txt
content: |
Log files from ironic-inspector container can be found under
/var/log/containers/ironic-inspector.
ignore_errors: true
- name: create persistent ironic-inspector dnsmasq dhcp hostsdir - name: create persistent ironic-inspector dnsmasq dhcp hostsdir
file: file:
path: /var/lib/ironic-inspector/dhcp-hostsdir path: /var/lib/ironic-inspector/dhcp-hostsdir

View File

@ -154,13 +154,5 @@ outputs:
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/lib/ironic, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/ironic, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/containers/ironic, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/ironic, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/ironic-pxe, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/ironic-pxe, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/ironic, 'setype': svirt_sandbox_file_t }
- name: ironic logs readme
copy:
dest: /var/log/ironic/readme.txt
content: |
Log files from ironic containers can be found under
/var/log/containers/ironic and /var/log/containers/httpd/ironic-*.
ignore_errors: true

View File

@ -149,12 +149,4 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/keepalived, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/keepalived, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/keepalived, 'setype': svirt_sandbox_file_t }
- name: keepalived logs readme
copy:
dest: /var/log/keepalived/readme.txt
content: |
Log files from keepalived containers can be found under
/var/log/containers/keepalived.
ignore_errors: true

View File

@ -39,13 +39,5 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/barbican, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/barbican, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/barbican-api, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/barbican-api, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/barbican, 'setype': var_log_t }
- name: barbican logs readme
copy:
dest: /var/log/barbican/readme.txt
content: |
Log files from barbican containers can be found under
/var/log/containers/barbican.
ignore_errors: true

View File

@ -25,13 +25,5 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/heat, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/heat, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/heat-api-cfn, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/heat-api-cfn, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/heat, 'setype': var_log_t }
- name: heat logs readme
copy:
dest: /var/log/heat/readme.txt
content: |
Log files from heat containers can be found under
/var/log/containers/heat and /var/log/containers/httpd/heat-api*.
ignore_errors: true

View File

@ -25,13 +25,5 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/heat, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/heat, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/heat-api, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/heat-api, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/heat, 'setype': var_log_t }
- name: heat logs readme
copy:
dest: /var/log/heat/readme.txt
content: |
Log files from heat containers can be found under
/var/log/containers/heat and /var/log/containers/httpd/heat-api*.
ignore_errors: true

View File

@ -40,12 +40,4 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/heat, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/heat, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/heat, 'setype': var_log_t }
- name: heat logs readme
copy:
dest: /var/log/heat/readme.txt
content: |
Log files from heat containers can be found under
/var/log/containers/heat and /var/log/containers/httpd/heat-api*.
ignore_errors: true

View File

@ -40,13 +40,5 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/keystone, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/keystone, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/keystone, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/keystone, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/keystone, 'setype': var_log_t }
- name: keystone logs readme
copy:
dest: /var/log/keystone/readme.txt
content: |
Log files from keystone containers can be found under
/var/log/containers/keystone and /var/log/containers/httpd/keystone.
ignore_errors: true

View File

@ -48,13 +48,5 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/neutron, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/neutron, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/neutron-api, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/neutron-api, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/neutron, 'setype': var_log_t }
- name: neutron logs readme
copy:
dest: /var/log/neutron/readme.txt
content: |
Log files from neutron containers can be found under
/var/log/containers/neutron and /var/log/containers/httpd/neutron-api.
ignore_errors: true

View File

@ -36,12 +36,4 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/neutron, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/neutron, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/neutron, 'setype': var_log_t }
- name: neutron logs readme
copy:
dest: /var/log/neutron/readme.txt
content: |
Log files from neutron containers can be found under
/var/log/containers/neutron and /var/log/containers/httpd/neutron-api.
ignore_errors: true

View File

@ -48,13 +48,5 @@ outputs:
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
state: directory state: directory
with_items: with_items:
- { 'path': /var/log/containers/nova, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/nova, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/nova-api, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/nova-api, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/nova, 'setype': var_log_t }
- name: nova logs readme
copy:
dest: /var/log/nova/readme.txt
content: |
Log files from nova containers can be found under
/var/log/containers/nova and /var/log/containers/httpd/nova-*.
ignore_errors: true

View File

@ -68,12 +68,4 @@ outputs:
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
state: directory state: directory
with_items: with_items:
- { 'path': /var/log/containers/nova, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/nova, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/nova, 'setype': var_log_t }
- name: nova logs readme
copy:
dest: /var/log/nova/readme.txt
content: |
Log files from nova containers can be found under
/var/log/containers/nova and /var/log/containers/httpd/nova-*.
ignore_errors: true

View File

@ -38,11 +38,4 @@ outputs:
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
state: directory state: directory
with_items: with_items:
- { 'path': /var/log/containers/libvirt, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/libvirt, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- name: libvirt logs readme
copy:
dest: /var/log/libvirt/readme.txt
content: |
Log files from libvirt containers can be found under
/var/log/containers/libvirt.
ignore_errors: true

View File

@ -37,13 +37,5 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/nova, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/nova, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/nova-metadata, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/nova-metadata, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/nova, 'setype': var_log_t }
- name: nova logs readme
copy:
dest: /var/log/nova/readme.txt
content: |
Log files from nova containers can be found under
/var/log/containers/nova and /var/log/containers/httpd/nova-*.
ignore_errors: true

View File

@ -37,13 +37,5 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/placement, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/placement, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/placement, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/placement, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/placement, 'setype': var_log_t }
- name: Placement logs readme
copy:
dest: /var/log/placement/readme.txt
content: |
Log files from placement containers can be found under
/var/log/containers/placement and /var/log/containers/httpd/placement*.
ignore_errors: true

View File

@ -222,16 +222,9 @@ outputs:
path: /var/log/containers/rsyslog path: /var/log/containers/rsyslog
state: directory state: directory
setype: svirt_sandbox_file_t setype: svirt_sandbox_file_t
mode: '0750'
- name: create persistent state directory for rsyslog - name: create persistent state directory for rsyslog
file: file:
path: /var/lib/rsyslog.container path: /var/lib/rsyslog.container
state: directory state: directory
setype: svirt_sandbox_file_t setype: svirt_sandbox_file_t
- name: rsyslog logs readme
copy:
dest: /var/log/rsyslog/readme.txt
content: |
Log files from rsyslog containers can be found under
/var/log/containers/rsyslog. And its state is stored
under /var/lib/rsyslog.container.
ignore_errors: true

View File

@ -241,16 +241,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/manila, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/manila, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/manila-api, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/manila-api, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/manila, 'setype': svirt_sandbox_file_t }
- name: manila logs readme
copy:
dest: /var/log/manila/readme.txt
content: |
Log files from manila containers can be found under
/var/log/containers/manila and /var/log/containers/httpd/manila-api.
ignore_errors: true
upgrade_tasks: [] upgrade_tasks: []
fast_forward_upgrade_tasks: fast_forward_upgrade_tasks:
- name: Check if manila_api is deployed - name: Check if manila_api is deployed

View File

@ -109,15 +109,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/manila, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/manila, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/manila, 'setype': svirt_sandbox_file_t }
- name: manila logs readme
copy:
dest: /var/log/manila/readme.txt
content: |
Log files from manila containers can be found under
/var/log/containers/manila and /var/log/containers/httpd/manila-api.
ignore_errors: true
- name: enable virt_sandbox_use_netlink for healthcheck - name: enable virt_sandbox_use_netlink for healthcheck
seboolean: seboolean:
name: virt_sandbox_use_netlink name: virt_sandbox_use_netlink

View File

@ -164,16 +164,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/manila, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/manila, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/manila, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/manila, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/manila, 'setype': svirt_sandbox_file_t }
- name: manila logs readme
copy:
dest: /var/log/manila/readme.txt
content: |
Log files from manila containers can be found under
/var/log/containers/manila and /var/log/containers/httpd/manila-api.
ignore_errors: true
- name: ensure ceph configurations exist - name: ensure ceph configurations exist
file: file:
path: /etc/ceph path: /etc/ceph

View File

@ -201,16 +201,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/manila, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/manila, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/manila, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/manila, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/manila, 'setype': svirt_sandbox_file_t }
- name: manila logs readme
copy:
dest: /var/log/manila/readme.txt
content: |
Log files from manila containers can be found under
/var/log/containers/manila and /var/log/containers/httpd/manila-api.
ignore_errors: true
- name: ensure ceph configurations exist - name: ensure ceph configurations exist
file: file:
path: /etc/ceph path: /etc/ceph

View File

@ -170,20 +170,6 @@ outputs:
- -
- /var/lib/config-data/memcached/etc/sysconfig/memcached:/etc/sysconfig/memcached:ro - /var/lib/config-data/memcached/etc/sysconfig/memcached:/etc/sysconfig/memcached:ro
command: ['/bin/bash', '-c', 'source /etc/sysconfig/memcached; /usr/bin/memcached -p ${PORT} -u ${USER} -m ${CACHESIZE} -c ${MAXCONN} $OPTIONS'] command: ['/bin/bash', '-c', 'source /etc/sysconfig/memcached; /usr/bin/memcached -p ${PORT} -u ${USER} -m ${CACHESIZE} -c ${MAXCONN} $OPTIONS']
host_prep_tasks:
- name: create persistent directories
file:
path: "{{ item.path }}"
state: directory
setype: "{{ item.setype }}"
with_items:
- { 'path': /var/log/memcached, 'setype': svirt_sandbox_file_t }
- name: memcached logs readme
copy:
dest: /var/log/memcached/readme.txt
content: |
Memcached container logs to stdout/stderr only.
ignore_errors: true
upgrade_tasks: [] upgrade_tasks: []
external_upgrade_tasks: external_upgrade_tasks:
- when: - when:

View File

@ -150,6 +150,6 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/qdrouterd, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/qdrouterd, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/qdrouterd, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/qdrouterd, 'setype': svirt_sandbox_file_t }
metadata_settings: {} metadata_settings: {}

View File

@ -654,15 +654,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/collectd, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/collectd, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/collectd, 'setype': svirt_sandbox_file_t }
- name: collectd logs readme
copy:
dest: /var/log/collectd/readme.txt
content: |
Log files from collectd containers can be found under
/var/log/containers/collectd.
ignore_errors: true
fast_forward_upgrade_tasks: fast_forward_upgrade_tasks:
- when: - when:
- step|int == 0 - step|int == 0

View File

@ -314,12 +314,5 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/metrics-qdr, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/metrics-qdr, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/metrics-qdr, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/metrics-qdr, 'setype': svirt_sandbox_file_t }
- name: qrouterd logs readme
copy:
dest: /var/log/qrouterd/readme-metrics.txt
content: |
Log files from metrics qrouterd containers can be found under
/var/log/containers/metrics-qdr.
ignore_errors: true

View File

@ -222,12 +222,4 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/mistral, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/mistral, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/mistral, 'setype': svirt_sandbox_file_t }
- name: mistral logs readme
copy:
dest: /var/log/mistral/readme.txt
content: |
Log files from mistral containers can be found under
/var/log/containers/mistral.
ignore_errors: true

View File

@ -138,15 +138,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/mistral, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/mistral, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/mistral, 'setype': svirt_sandbox_file_t }
- name: mistral logs readme
copy:
dest: /var/log/mistral/readme.txt
content: |
Log files from mistral containers can be found under
/var/log/containers/mistral.
ignore_errors: true
- name: enable virt_sandbox_use_netlink for healthcheck - name: enable virt_sandbox_use_netlink for healthcheck
seboolean: seboolean:
name: virt_sandbox_use_netlink name: virt_sandbox_use_netlink

View File

@ -113,15 +113,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/mistral, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/mistral, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/mistral, 'setype': svirt_sandbox_file_t }
- name: mistral logs readme
copy:
dest: /var/log/mistral/readme.txt
content: |
Log files from mistral containers can be found under
/var/log/containers/mistral.
ignore_errors: true
- name: enable virt_sandbox_use_netlink for healthcheck - name: enable virt_sandbox_use_netlink for healthcheck
seboolean: seboolean:
name: virt_sandbox_use_netlink name: virt_sandbox_use_netlink

View File

@ -219,9 +219,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/mistral, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/mistral, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/mistral, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/mistral, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/mistral, 'setype': svirt_sandbox_file_t }
- name: create mistral/.ssh directory - name: create mistral/.ssh directory
file: file:
path: /var/lib/mistral/.ssh path: /var/lib/mistral/.ssh
@ -241,13 +240,6 @@ outputs:
mode: 0444 mode: 0444
setype: svirt_sandbox_file_t setype: svirt_sandbox_file_t
local_follow: true local_follow: true
- name: mistral logs readme
copy:
dest: /var/log/mistral/readme.txt
content: |
Log files from mistral containers can be found under
/var/log/containers/mistral.
ignore_errors: true
- name: create ceph-ansible source directory - name: create ceph-ansible source directory
file: file:
path: /usr/share/ceph-ansible path: /usr/share/ceph-ansible

View File

@ -221,16 +221,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/nova, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/nova, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/nova, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/nova, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/nova, 'setype': svirt_sandbox_file_t }
- name: nova logs readme
copy:
dest: /var/log/nova/readme.txt
content: |
Log files from nova containers can be found under
/var/log/containers/nova and /var/log/containers/httpd/nova-*.
ignore_errors: true
- name: enable virt_sandbox_use_netlink for healthcheck - name: enable virt_sandbox_use_netlink for healthcheck
seboolean: seboolean:
name: virt_sandbox_use_netlink name: virt_sandbox_use_netlink

View File

@ -233,15 +233,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/novajoin, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/novajoin, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/novajoin, 'setype': svirt_sandbox_file_t }
- name: novajoin logs readme
copy:
dest: /var/log/novajoin/readme.txt
content: |
Log files from novajoin containers can be found under
/var/log/containers/novajoin
ignore_errors: true
- name: Enroll to FreeIPA - name: Enroll to FreeIPA
command: ipa-client-install -U --password={{ ipa_otp }} command: ipa-client-install -U --password={{ ipa_otp }}
args: args:

View File

@ -340,17 +340,9 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/octavia, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/octavia, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/octavia-api, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/octavia-api, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { '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 }
- name: octavia logs readme
copy:
dest: /var/log/octavia/readme.txt
content: |
Log files from octavia containers can be found under
/var/log/containers/octavia and /var/log/containers/httpd/octavia-api.
ignore_errors: true
update_tasks: update_tasks:
- name: Set internal tls variable - name: Set internal tls variable
set_fact: set_fact:

View File

@ -155,12 +155,4 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/octavia, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/octavia, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/octavia, 'setype': svirt_sandbox_file_t }
- name: octavia logs readme
copy:
dest: /var/log/octavia/readme.txt
content: |
Log files from octavia containers can be found under
/var/log/containers/octavia and /var/log/containers/httpd/octavia-api.
ignore_errors: true

View File

@ -154,13 +154,5 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/octavia, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/octavia, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/octavia, 'setype': svirt_sandbox_file_t }
- name: octavia logs readme
copy:
dest: /var/log/octavia/readme.txt
content: |
Log files from octavia containers can be found under
/var/log/containers/octavia and /var/log/containers/httpd/octavia-api.
ignore_errors: true
upgrade_tasks: [] upgrade_tasks: []

View File

@ -141,15 +141,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/octavia, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/octavia, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/octavia, 'setype': svirt_sandbox_file_t }
- name: octavia logs readme
copy:
dest: /var/log/octavia/readme.txt
content: |
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 packages required for configuring octavia are present - name: Ensure packages required for configuring octavia are present
package: package:
name: name:

View File

@ -278,16 +278,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/openvswitch, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/openvswitch, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/openvswitch, 'setype': openvswitch_log_t }
- { 'path': /var/lib/openvswitch/ovn, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/openvswitch/ovn, 'setype': svirt_sandbox_file_t }
- name: openvswitch logs readme
copy:
dest: /var/log/openvswitch/readme.txt
content: |
Log files from openvswitch containers can be found under
/var/log/containers/openvswitch.
ignore_errors: true
- name: enable virt_sandbox_use_netlink for healthcheck - name: enable virt_sandbox_use_netlink for healthcheck
seboolean: seboolean:
name: virt_sandbox_use_netlink name: virt_sandbox_use_netlink

View File

@ -202,14 +202,6 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/openvswitch, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/openvswitch, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/openvswitch/ovn, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/openvswitch/ovn, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/openvswitch, 'setype': openvswitch_log_t }
- name: openvswitch logs readme
copy:
dest: /var/log/openvswitch/readme.txt
content: |
Log files from openvswitch containers can be found under
/var/log/containers/openvswitch.
ignore_errors: true
upgrade_tasks: [] upgrade_tasks: []

View File

@ -252,16 +252,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/openvswitch, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/openvswitch, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/openvswitch/ovn, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/openvswitch/ovn, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/openvswitch, 'setype': openvswitch_log_t }
- name: openvswitch logs readme
copy:
dest: /var/log/openvswitch/readme.txt
content: |
Log files from openvswitch containers can be found under
/var/log/containers/openvswitch.
ignore_errors: true
deploy_steps_tasks: deploy_steps_tasks:
- name: OVN DBS tag container image for pacemaker - name: OVN DBS tag container image for pacemaker
when: step|int == 1 when: step|int == 1

View File

@ -139,14 +139,6 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/qdrouterd, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/qdrouterd, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/qdrouterd, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/qdrouterd, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/qdrouterd, 'setype': svirt_sandbox_file_t }
- name: qrouterd logs readme
copy:
dest: /var/log/qrouterd/readme.txt
content: |
Log files from qrouterd containers can be found under
/var/log/containers/qrouterd.
ignore_errors: true
metadata_settings: {} metadata_settings: {}

View File

@ -356,16 +356,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/rabbitmq, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/rabbitmq, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/rabbitmq, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/rabbitmq, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/rabbitmq, 'setype': svirt_sandbox_file_t }
- name: rabbitmq logs readme
copy:
dest: /var/log/rabbitmq/readme.txt
content: |
Log files from rabbitmq containers can be found under
/var/log/containers/rabbitmq.
ignore_errors: true
# TODO: Removal of package # TODO: Removal of package
upgrade_tasks: [] upgrade_tasks: []
update_tasks: update_tasks:

View File

@ -300,16 +300,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/rabbitmq, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/rabbitmq, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/rabbitmq, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/rabbitmq, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/rabbitmq, 'setype': svirt_sandbox_file_t }
- name: rabbitmq logs readme
copy:
dest: /var/log/rabbitmq/readme.txt
content: |
Log files from rabbitmq containers can be found under
/var/log/containers/rabbitmq.
ignore_errors: true
upgrade_tasks: [] upgrade_tasks: []
update_tasks: update_tasks:
# TODO: Are we sure we want to support this. Rolling update # TODO: Are we sure we want to support this. Rolling update

View File

@ -246,15 +246,7 @@ outputs:
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/lib/rabbitmq, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/rabbitmq, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/containers/rabbitmq, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/rabbitmq, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/rabbitmq, 'setype': svirt_sandbox_file_t }
- name: rabbitmq logs readme
copy:
dest: /var/log/rabbitmq/readme.txt
content: |
Log files from rabbitmq containers can be found under
/var/log/containers/rabbitmq.
ignore_errors: true
- name: stop the Erlang port mapper on the host and make sure it cannot bind to the port used by container - name: stop the Erlang port mapper on the host and make sure it cannot bind to the port used by container
shell: | shell: |
echo 'export ERL_EPMD_ADDRESS=127.0.0.1' > /etc/rabbitmq/rabbitmq-env.conf echo 'export ERL_EPMD_ADDRESS=127.0.0.1' > /etc/rabbitmq/rabbitmq-env.conf

View File

@ -246,15 +246,7 @@ outputs:
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/lib/rabbitmq, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/rabbitmq, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/containers/rabbitmq, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/rabbitmq, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/rabbitmq, 'setype': svirt_sandbox_file_t }
- name: rabbitmq logs readme
copy:
dest: /var/log/rabbitmq/readme.txt
content: |
Log files from rabbitmq containers can be found under
/var/log/containers/rabbitmq.
ignore_errors: true
- name: stop the Erlang port mapper on the host and make sure it cannot bind to the port used by container - name: stop the Erlang port mapper on the host and make sure it cannot bind to the port used by container
shell: | shell: |
echo 'export ERL_EPMD_ADDRESS=127.0.0.1' > /etc/rabbitmq/rabbitmq-env.conf echo 'export ERL_EPMD_ADDRESS=127.0.0.1' > /etc/rabbitmq/rabbitmq-env.conf

View File

@ -300,16 +300,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/rabbitmq, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/rabbitmq, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/rabbitmq, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/rabbitmq, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/rabbitmq, 'setype': svirt_sandbox_file_t }
- name: rabbitmq logs readme
copy:
dest: /var/log/rabbitmq/readme.txt
content: |
Log files from rabbitmq containers can be found under
/var/log/containers/rabbitmq.
ignore_errors: true
upgrade_tasks: [] upgrade_tasks: []
update_tasks: update_tasks:
# TODO: Are we sure we want to support this. Rolling update # TODO: Are we sure we want to support this. Rolling update

View File

@ -254,15 +254,7 @@ outputs:
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/lib/rabbitmq, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/rabbitmq, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/containers/rabbitmq, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/rabbitmq, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/rabbitmq, 'setype': svirt_sandbox_file_t }
- name: rabbitmq logs readme
copy:
dest: /var/log/rabbitmq/readme.txt
content: |
Log files from rabbitmq containers can be found under
/var/log/containers/rabbitmq.
ignore_errors: true
- name: stop the Erlang port mapper on the host and make sure it cannot bind to the port used by container - name: stop the Erlang port mapper on the host and make sure it cannot bind to the port used by container
shell: | shell: |
echo 'export ERL_EPMD_ADDRESS=127.0.0.1' > /etc/rabbitmq/rabbitmq-env.conf echo 'export ERL_EPMD_ADDRESS=127.0.0.1' > /etc/rabbitmq/rabbitmq-env.conf

View File

@ -198,16 +198,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/sahara, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/sahara, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/sahara, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/sahara, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/sahara, 'setype': svirt_sandbox_file_t }
- name: sahara logs readme
copy:
dest: /var/log/sahara/readme.txt
content: |
Log files from sahara containers can be found under
/var/log/containers/sahara.
ignore_errors: true
fast_forward_upgrade_tasks: fast_forward_upgrade_tasks:
- when: - when:
- step|int == 0 - step|int == 0

View File

@ -127,16 +127,8 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/sahara, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/sahara, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/lib/sahara, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/sahara, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/sahara, 'setype': svirt_sandbox_file_t }
- name: sahara logs readme
copy:
dest: /var/log/sahara/readme.txt
content: |
Log files from sahara containers can be found under
/var/log/containers/sahara.
ignore_errors: true
- name: enable virt_sandbox_use_netlink for healthcheck - name: enable virt_sandbox_use_netlink for healthcheck
seboolean: seboolean:
name: virt_sandbox_use_netlink name: virt_sandbox_use_netlink

View File

@ -437,7 +437,7 @@ outputs:
with_items: with_items:
- { 'path': /srv/node, 'setype': svirt_sandbox_file_t } - { 'path': /srv/node, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/swift, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/swift, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/containers/swift, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/swift, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
deploy_steps_tasks: deploy_steps_tasks:
- name: Configure rsyslog for swift-proxy - name: Configure rsyslog for swift-proxy
when: step|int == 1 when: step|int == 1

View File

@ -598,9 +598,7 @@ outputs:
with_items: with_items:
- { 'path': /srv/node, 'setype': svirt_sandbox_file_t } - { 'path': /srv/node, 'setype': svirt_sandbox_file_t }
- { 'path': /var/cache/swift, 'setype': svirt_sandbox_file_t } - { 'path': /var/cache/swift, 'setype': svirt_sandbox_file_t }
- { 'path': /var/log/containers/swift, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/swift, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/swift, 'setype': var_log_t }
- { 'path': /var/log/containers, 'setype': svirt_sandbox_file_t }
- name: Set swift_use_local_disks fact - name: Set swift_use_local_disks fact
set_fact: set_fact:
swift_use_local_disks: {get_param: SwiftUseLocalDir} swift_use_local_disks: {get_param: SwiftUseLocalDir}
@ -609,13 +607,6 @@ outputs:
path: "/srv/node/d1" path: "/srv/node/d1"
state: directory state: directory
when: swift_use_local_disks when: swift_use_local_disks
- name: swift logs readme
copy:
dest: /var/log/swift/readme.txt
content: |
Log files from swift containers can be found under
/var/log/containers/swift and /var/log/containers/httpd/swift-*.
ignore_errors: true
- name: Set fact for SwiftRawDisks - name: Set fact for SwiftRawDisks
set_fact: set_fact:
swift_raw_disks: {get_param: SwiftRawDisks} swift_raw_disks: {get_param: SwiftRawDisks}

View File

@ -59,17 +59,9 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/tempest, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/tempest, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/tempest, 'setype': svirt_sandbox_file_t }
- { 'path': /var/lib/tempestdata, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/tempestdata, 'setype': svirt_sandbox_file_t }
- { 'path': /var/lib/tempest, 'setype': svirt_sandbox_file_t } - { 'path': /var/lib/tempest, 'setype': svirt_sandbox_file_t }
- name: Tempest logs readme
copy:
dest: /var/log/tempest/readme.txt
content: |
Log files from tempest containers can be found under
/var/log/containers/tempest.
ignore_errors: true
puppet_config: puppet_config:
config_volume: '' config_volume: ''
step_config: '' step_config: ''

View File

@ -354,15 +354,7 @@ outputs:
state: directory state: directory
setype: "{{ item.setype }}" setype: "{{ item.setype }}"
with_items: with_items:
- { 'path': /var/log/containers/zaqar, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/zaqar, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/containers/httpd/zaqar, 'setype': svirt_sandbox_file_t } - { 'path': /var/log/containers/httpd/zaqar, 'setype': svirt_sandbox_file_t, 'mode': '0750' }
- { 'path': /var/log/zaqar, 'setype': svirt_sandbox_file_t }
- name: zaqar logs readme
copy:
dest: /var/log/zaqar/readme.txt
content: |
Log files from zaqar containers can be found under
/var/log/containers/zaqar and /var/log/containers/httpd/zaqar.
ignore_errors: true
metadata_settings: metadata_settings:
get_attr: [ApacheServiceBase, role_data, metadata_settings] get_attr: [ApacheServiceBase, role_data, metadata_settings]