Write readme.txt into old log directories

This should help operators find the new log files. We do have them
documented, but not everybody reads every word in the docs :)

The readme creation has ignore_errors: true so that if the directory
isn't present at all (e.g. on deployed server environments, which
don't have openstack packages installed), we don't fail the deployment
when we're not able to create the readme.

Change-Id: I6b36db7b7ce8b3e4da566eb7828d0c3b8646a14f
Partial-Bug: #1730957
This commit is contained in:
Jiri Stransky 2017-11-08 18:19:25 +01:00
parent db60db93c6
commit 85ec193403
68 changed files with 478 additions and 0 deletions

View File

@ -160,6 +160,13 @@ outputs:
with_items: with_items:
- /var/log/containers/aodh - /var/log/containers/aodh
- /var/log/containers/httpd/aodh-api - /var/log/containers/httpd/aodh-api
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable aodh service (running under httpd) - name: Stop and disable aodh service (running under httpd)
tags: step2 tags: step2

View File

@ -116,6 +116,13 @@ outputs:
file: file:
path: /var/log/containers/aodh path: /var/log/containers/aodh
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable openstack-aodh-evaluator service - name: Stop and disable openstack-aodh-evaluator service
tags: step2 tags: step2

View File

@ -116,6 +116,13 @@ outputs:
file: file:
path: /var/log/containers/aodh path: /var/log/containers/aodh
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable openstack-aodh-listener service - name: Stop and disable openstack-aodh-listener service
tags: step2 tags: step2

View File

@ -116,6 +116,13 @@ outputs:
file: file:
path: /var/log/containers/aodh path: /var/log/containers/aodh
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable openstack-aodh-notifier service - name: Stop and disable openstack-aodh-notifier service
tags: step2 tags: step2

View File

@ -152,6 +152,13 @@ outputs:
file: file:
path: /var/log/containers/barbican path: /var/log/containers/barbican
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable barbican_api service - name: Stop and disable barbican_api service
tags: step2 tags: step2

View File

@ -129,6 +129,13 @@ outputs:
file: file:
path: /var/log/containers/ceilometer path: /var/log/containers/ceilometer
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Check if ceilometer_agent_central is deployed - name: Check if ceilometer_agent_central is deployed
command: systemctl is-enabled --quiet openstack-ceilometer-central command: systemctl is-enabled --quiet openstack-ceilometer-central

View File

@ -103,6 +103,13 @@ outputs:
file: file:
path: /var/log/containers/ceilometer path: /var/log/containers/ceilometer
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Check if openstack-ceilometer-compute is deployed - name: Check if openstack-ceilometer-compute is deployed
command: systemctl is-enabled --quiet openstack-ceilometer-compute command: systemctl is-enabled --quiet openstack-ceilometer-compute

View File

@ -111,6 +111,13 @@ outputs:
file: file:
path: /var/log/containers/ceilometer path: /var/log/containers/ceilometer
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Check if ceilometer-agent-ipmi is deployed - name: Check if ceilometer-agent-ipmi is deployed
command: systemctl is-enabled --quiet openstack-ceilometer-ipmi command: systemctl is-enabled --quiet openstack-ceilometer-ipmi

View File

@ -121,6 +121,13 @@ outputs:
file: file:
path: /var/log/containers/ceilometer path: /var/log/containers/ceilometer
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Check if ceilometer_agent_notification is deployed - name: Check if ceilometer_agent_notification is deployed
command: systemctl is-enabled --quiet openstack-ceilometer-notification command: systemctl is-enabled --quiet openstack-ceilometer-notification

View File

@ -193,6 +193,13 @@ outputs:
with_items: with_items:
- /var/log/containers/cinder - /var/log/containers/cinder
- /var/log/containers/httpd/cinder-api - /var/log/containers/httpd/cinder-api
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable cinder_api service - name: Stop and disable cinder_api service
tags: step2 tags: step2

View File

@ -144,6 +144,13 @@ outputs:
with_items: with_items:
- /var/lib/cinder - /var/lib/cinder
- /var/log/containers/cinder - /var/log/containers/cinder
- 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

@ -124,6 +124,13 @@ outputs:
state: directory state: directory
with_items: with_items:
- /var/log/containers/cinder - /var/log/containers/cinder
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable cinder_scheduler service - name: Stop and disable cinder_scheduler service
tags: step2 tags: step2

View File

@ -155,6 +155,13 @@ outputs:
with_items: with_items:
- /var/log/containers/cinder - /var/log/containers/cinder
- /var/lib/cinder - /var/lib/cinder
- 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

@ -112,6 +112,13 @@ outputs:
file: file:
path: /var/log/containers/collectd path: /var/log/containers/collectd
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable collectd service - name: Stop and disable collectd service
tags: step2 tags: step2

View File

@ -141,6 +141,13 @@ outputs:
file: file:
path: /var/log/containers/congress path: /var/log/containers/congress
state: directory state: directory
- name: congress logs readme
copy:
dest: /var/log/congress/readme.txt
content: |
Log files from congress containers can be found under
/var/log/containers/congress.
ignore_errors: true
upgrade_tasks: upgrade_tasks:
- name: Stop and disable congress_api service - name: Stop and disable congress_api service
tags: step2 tags: step2

View File

@ -156,6 +156,13 @@ outputs:
with_items: with_items:
- /var/log/containers/mongodb - /var/log/containers/mongodb
- /var/lib/mongodb - /var/lib/mongodb
- name: mongodb logs readme
copy:
dest: /var/log/mongodb/readme.txt
content: |
Log files from mongodb containers can be found under
/var/log/containers/mongodb.
ignore_errors: true
metadata_settings: metadata_settings:
get_attr: [MongodbPuppetBase, role_data, metadata_settings] get_attr: [MongodbPuppetBase, role_data, metadata_settings]
upgrade_tasks: upgrade_tasks:

View File

@ -228,6 +228,13 @@ outputs:
with_items: with_items:
- /var/log/containers/mysql - /var/log/containers/mysql
- /var/lib/mysql - /var/lib/mysql
- 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:
- name: Stop and disable mysql service - name: Stop and disable mysql service
tags: step2 tags: step2

View File

@ -156,6 +156,13 @@ outputs:
with_items: with_items:
- /var/log/containers/redis - /var/log/containers/redis
- /var/run/redis - /var/run/redis
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable redis service - name: Stop and disable redis service
tags: step2 tags: step2

View File

@ -161,6 +161,16 @@ outputs:
with_items: with_items:
- ec2_api - ec2_api
- ec2_api_metadata - ec2_api_metadata
- name: ec2_api logs readme
copy:
dest: /var/log/{{ item }}/readme.txt
content: |
Log files from ec2api containers can be found under
/var/log/containers/ec2_api and /var/log/containers/ec2_api_metadata.
with_items:
- ec2api
- ec2api-metadata
ignore_errors: true
upgrade_tasks: upgrade_tasks:
- name: Stop and disable EC2-API services - name: Stop and disable EC2-API services
tags: step2 tags: step2

View File

@ -110,6 +110,13 @@ outputs:
file: file:
path: /var/log/containers/fluentd path: /var/log/containers/fluentd
state: directory state: directory
- name: fluentd logs readme
copy:
dest: /var/log/fluentd/readme.txt
content: |
Log files from fluentd containers can be found under
/var/log/containers/fluentd.
ignore_errors: true
- name: create persistent cache directory - name: create persistent cache directory
file: file:
path: /var/cache/containers/fluentd path: /var/cache/containers/fluentd

View File

@ -164,6 +164,13 @@ outputs:
with_items: with_items:
- /var/log/containers/gnocchi - /var/log/containers/gnocchi
- /var/log/containers/httpd/gnocchi-api - /var/log/containers/httpd/gnocchi-api
- 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

@ -113,6 +113,13 @@ outputs:
file: file:
path: /var/log/containers/gnocchi path: /var/log/containers/gnocchi
state: directory state: directory
- 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

@ -113,6 +113,13 @@ outputs:
file: file:
path: /var/log/containers/gnocchi path: /var/log/containers/gnocchi
state: directory state: directory
- 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

@ -158,6 +158,13 @@ outputs:
with_items: with_items:
- /var/log/containers/horizon - /var/log/containers/horizon
- /var/log/containers/httpd/horizon - /var/log/containers/httpd/horizon
- 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:
- name: Stop and disable horizon service (running under httpd) - name: Stop and disable horizon service (running under httpd)
tags: step2 tags: step2

View File

@ -144,6 +144,13 @@ outputs:
with_items: with_items:
- /var/log/containers/ironic - /var/log/containers/ironic
- /var/log/containers/httpd/ironic-api - /var/log/containers/httpd/ironic-api
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable ironic_api service - name: Stop and disable ironic_api service
tags: step2 tags: step2

View File

@ -132,6 +132,13 @@ outputs:
with_items: with_items:
- /var/log/containers/ironic - /var/log/containers/ironic
- /var/lib/ironic - /var/lib/ironic
- 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

@ -164,6 +164,13 @@ outputs:
file: file:
path: /var/log/containers/ironic-inspector path: /var/log/containers/ironic-inspector
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable ironic_inspector service - name: Stop and disable ironic_inspector service
tags: step2 tags: step2

View File

@ -123,3 +123,10 @@ outputs:
- /var/lib/ironic - /var/lib/ironic
- /var/log/containers/ironic - /var/log/containers/ironic
- /var/log/containers/httpd/ironic-pxe - /var/log/containers/httpd/ironic-pxe
- 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

@ -38,3 +38,10 @@ outputs:
with_items: with_items:
- /var/log/containers/glance - /var/log/containers/glance
- /var/log/containers/httpd/glance-api - /var/log/containers/httpd/glance-api
- 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 and /var/log/containers/httpd/glance-api.
ignore_errors: true

View File

@ -26,3 +26,10 @@ outputs:
with_items: with_items:
- /var/log/containers/heat - /var/log/containers/heat
- /var/log/containers/httpd/heat-api-cfn - /var/log/containers/httpd/heat-api-cfn
- 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

@ -26,3 +26,10 @@ outputs:
with_items: with_items:
- /var/log/containers/heat - /var/log/containers/heat
- /var/log/containers/httpd/heat-api - /var/log/containers/httpd/heat-api
- 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

@ -37,3 +37,10 @@ outputs:
file: file:
path: /var/log/containers/heat path: /var/log/containers/heat
state: directory state: directory
- 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,3 +40,10 @@ outputs:
with_items: with_items:
- /var/log/containers/keystone - /var/log/containers/keystone
- /var/log/containers/httpd/keystone - /var/log/containers/httpd/keystone
- 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

@ -38,3 +38,10 @@ outputs:
with_items: with_items:
- /var/log/containers/neutron - /var/log/containers/neutron
- /var/log/containers/httpd/neutron-api - /var/log/containers/httpd/neutron-api
- 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

@ -24,3 +24,10 @@ outputs:
state: directory state: directory
with_items: with_items:
- /var/log/containers/neutron - /var/log/containers/neutron
- 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

@ -38,3 +38,10 @@ outputs:
with_items: with_items:
- /var/log/containers/nova - /var/log/containers/nova
- /var/log/containers/httpd/nova-api - /var/log/containers/httpd/nova-api
- 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

@ -55,3 +55,10 @@ outputs:
file: file:
path: /var/log/containers/nova path: /var/log/containers/nova
state: directory state: directory
- 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,3 +37,10 @@ outputs:
with_items: with_items:
- /var/log/containers/nova - /var/log/containers/nova
- /var/log/containers/httpd/nova-placement - /var/log/containers/httpd/nova-placement
- 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

@ -39,3 +39,10 @@ outputs:
with_items: with_items:
- /var/log/containers/panko - /var/log/containers/panko
- /var/log/containers/httpd/panko-api - /var/log/containers/httpd/panko-api
- name: panko logs readme
copy:
dest: /var/log/panko/readme.txt
content: |
Log files from panko containers can be found under
/var/log/containers/panko and /var/log/containers/httpd/panko-api.
ignore_errors: true

View File

@ -131,6 +131,13 @@ outputs:
with_items: with_items:
- /var/log/containers/manila - /var/log/containers/manila
- /var/log/containers/httpd/manila-api - /var/log/containers/httpd/manila-api
- 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:
- name: Stop and disable manila_api service - name: Stop and disable manila_api service
tags: step2 tags: step2

View File

@ -107,6 +107,13 @@ outputs:
file: file:
path: /var/log/containers/manila path: /var/log/containers/manila
state: directory state: directory
- 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:
- name: Stop and disable manila_scheduler service - name: Stop and disable manila_scheduler service
tags: step2 tags: step2

View File

@ -112,6 +112,13 @@ outputs:
file: file:
path: /var/log/containers/manila path: /var/log/containers/manila
state: directory state: directory
- 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

@ -108,6 +108,12 @@ outputs:
file: file:
path: /var/log/containers/memcached path: /var/log/containers/memcached
state: directory state: directory
- name: memcached logs readme
copy:
dest: /var/log/memcached-readme.txt
content: |
Log files from memcached containers can be found under
/var/log/containers/memcached.
upgrade_tasks: upgrade_tasks:
- name: Stop and disable memcached service - name: Stop and disable memcached service
tags: step2 tags: step2

View File

@ -186,6 +186,13 @@ outputs:
file: file:
path: /var/log/containers/mistral path: /var/log/containers/mistral
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable mistral_api service - name: Stop and disable mistral_api service
tags: step2 tags: step2

View File

@ -114,6 +114,13 @@ outputs:
file: file:
path: /var/log/containers/mistral path: /var/log/containers/mistral
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable mistral_engine service - name: Stop and disable mistral_engine service
tags: step2 tags: step2

View File

@ -112,6 +112,13 @@ outputs:
file: file:
path: /var/log/containers/mistral path: /var/log/containers/mistral
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable mistral_event_engine service - name: Stop and disable mistral_event_engine service
tags: step2 tags: step2

View File

@ -118,6 +118,13 @@ outputs:
file: file:
path: /var/log/containers/mistral path: /var/log/containers/mistral
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Check if mistral executor is deployed - name: Check if mistral executor is deployed
command: systemctl is-enabled openstack-mistral-executor command: systemctl is-enabled openstack-mistral-executor

View File

@ -123,6 +123,13 @@ outputs:
with_items: with_items:
- /var/log/containers/nova - /var/log/containers/nova
- /var/lib/nova - /var/lib/nova
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable nova-compute service - name: Stop and disable nova-compute service
tags: step2 tags: step2

View File

@ -176,6 +176,13 @@ outputs:
with_items: with_items:
- /var/log/containers/octavia - /var/log/containers/octavia
- /var/log/containers/httpd/octavia-api - /var/log/containers/httpd/octavia-api
- 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:
- name: Stop and disable octavia_api service - name: Stop and disable octavia_api service
tags: step2 tags: step2

View File

@ -118,6 +118,13 @@ outputs:
file: file:
path: /var/log/containers/octavia path: /var/log/containers/octavia
state: directory state: directory
- 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:
- name: Stop and disable octavia_health_manager service - name: Stop and disable octavia_health_manager service
tags: step2 tags: step2

View File

@ -114,6 +114,13 @@ outputs:
file: file:
path: /var/log/containers/octavia path: /var/log/containers/octavia
state: directory state: directory
- 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:
- name: Stop and disable octavia_housekeeping service - name: Stop and disable octavia_housekeeping service
tags: step2 tags: step2

View File

@ -114,6 +114,13 @@ outputs:
file: file:
path: /var/log/containers/octavia path: /var/log/containers/octavia
state: directory state: directory
- 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:
- name: Stop and disable octavia_worker service - name: Stop and disable octavia_worker service
tags: step2 tags: step2

View File

@ -115,6 +115,13 @@ outputs:
- /var/log/containers/opendaylight - /var/log/containers/opendaylight
- /var/lib/opendaylight/snapshots - /var/lib/opendaylight/snapshots
- /var/lib/opendaylight/journal - /var/lib/opendaylight/journal
- name: opendaylight logs readme
copy:
dest: /var/log/opendaylight/readme.txt
content: |
Log files from opendaylight containers can be found under
/var/log/containers/opendaylight.
ignore_errors: true
upgrade_tasks: upgrade_tasks:
- name: Stop and disable opendaylight_api service - name: Stop and disable opendaylight_api service
tags: step2 tags: step2

View File

@ -106,6 +106,13 @@ outputs:
file: file:
path: /var/log/containers/openvswitch path: /var/log/containers/openvswitch
state: directory state: directory
- 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:
- name: Stop and disable ovn-controller service - name: Stop and disable ovn-controller service
tags: step2 tags: step2

View File

@ -198,6 +198,13 @@ outputs:
with_items: with_items:
- /var/log/containers/openvswitch - /var/log/containers/openvswitch
- /var/lib/openvswitch/ovn - /var/lib/openvswitch/ovn
- 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:
- name: Stop and disable ovn-northd service - name: Stop and disable ovn-northd service
tags: step2 tags: step2

View File

@ -189,6 +189,13 @@ outputs:
with_items: with_items:
- /var/lib/cinder - /var/lib/cinder
- /var/log/containers/cinder - /var/log/containers/cinder
- 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

@ -182,6 +182,13 @@ outputs:
with_items: with_items:
- /var/log/containers/cinder - /var/log/containers/cinder
- /var/lib/cinder - /var/lib/cinder
- 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

@ -162,6 +162,13 @@ outputs:
with_items: with_items:
- /var/log/containers/manila - /var/log/containers/manila
- /var/lib/manila - /var/lib/manila
- 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:
- name: Stop and disable manila_share service - name: Stop and disable manila_share service
tags: step2 tags: step2

View File

@ -136,6 +136,13 @@ outputs:
with_items: with_items:
- /var/log/containers/openvswitch - /var/log/containers/openvswitch
- /var/lib/openvswitch/ovn - /var/lib/openvswitch/ovn
- 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:
- name: Stop and disable ovn-northd service - name: Stop and disable ovn-northd service
tags: step2 tags: step2

View File

@ -115,5 +115,12 @@ outputs:
with_items: with_items:
- /var/log/containers/qdrouterd - /var/log/containers/qdrouterd
- /var/lib/qdrouterd - /var/lib/qdrouterd
- 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:
get_attr: [QdrouterdBase, role_data, metadata_settings] get_attr: [QdrouterdBase, role_data, metadata_settings]

View File

@ -218,6 +218,13 @@ outputs:
with_items: with_items:
- /var/log/containers/rabbitmq - /var/log/containers/rabbitmq
- /var/lib/rabbitmq - /var/lib/rabbitmq
- 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:
- name: Stop and disable rabbitmq service - name: Stop and disable rabbitmq service
tags: step2 tags: step2

View File

@ -138,6 +138,13 @@ outputs:
file: file:
path: /var/log/containers/sahara path: /var/log/containers/sahara
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable sahara_api service - name: Stop and disable sahara_api service
tags: step2 tags: step2

View File

@ -123,6 +123,13 @@ outputs:
file: file:
path: /var/log/containers/sahara path: /var/log/containers/sahara
state: directory state: directory
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable sahara_engine service - name: Stop and disable sahara_engine service
tags: step2 tags: step2

View File

@ -146,6 +146,13 @@ outputs:
file: file:
path: /var/log/containers/sensu path: /var/log/containers/sensu
state: directory state: directory
- name: sensu logs readme
copy:
dest: /var/log/sensu/readme.txt
content: |
Log files from sensu containers can be found under
/var/log/containers/sensu.
ignore_errors: true
upgrade_tasks: upgrade_tasks:
- name: Stop and disable sensu-client service - name: Stop and disable sensu-client service
tags: step2 tags: step2

View File

@ -149,6 +149,13 @@ outputs:
- /var/log/containers/swift - /var/log/containers/swift
- /var/log/containers/httpd/swift-proxy - /var/log/containers/httpd/swift-proxy
- /srv/node - /srv/node
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable swift_proxy service - name: Stop and disable swift_proxy service
tags: step2 tags: step2

View File

@ -450,6 +450,13 @@ outputs:
with_items: with_items:
- /var/log/containers/swift - /var/log/containers/swift
- /srv/node - /srv/node
- 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: Format and mount devices defined in SwiftRawDisks - name: Format and mount devices defined in SwiftRawDisks
mount: mount:
name: /srv/node/{{ item }} name: /srv/node/{{ item }}

View File

@ -136,6 +136,13 @@ outputs:
file: file:
path: /var/log/containers/tacker path: /var/log/containers/tacker
state: directory state: directory
- name: tacker logs readme
copy:
dest: /var/log/tacker/readme.txt
content: |
Log files from tacker containers can be found under
/var/log/containers/tacker.
ignore_errors: true
upgrade_tasks: upgrade_tasks:
- name: Stop and disable tacker-server service - name: Stop and disable tacker-server service
tags: step2 tags: step2

View File

@ -188,6 +188,13 @@ outputs:
with_items: with_items:
- /var/log/containers/zaqar - /var/log/containers/zaqar
- /var/log/containers/httpd/zaqar - /var/log/containers/httpd/zaqar
- 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
upgrade_tasks: upgrade_tasks:
- name: Stop and disable zaqar service - name: Stop and disable zaqar service
tags: step2 tags: step2