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
(cherry picked from commit 85ec193403)
This commit is contained in:
Jiri Stransky 2017-11-08 18:19:25 +01:00
parent 539a3daf17
commit 59d8528362
74 changed files with 521 additions and 0 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -127,6 +127,13 @@ outputs:
file:
path: /var/log/containers/ceilometer
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:
- name: Stop and disable ceilometer agent central service
tags: step2

View File

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

View File

@ -109,6 +109,13 @@ outputs:
file:
path: /var/log/containers/ceilometer
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:
- name: Stop and disable ceilometer agent ipmi service
tags: step2

View File

@ -119,6 +119,13 @@ outputs:
file:
path: /var/log/containers/ceilometer
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:
- name: Stop and disable ceilometer agent notification service
tags: step2

View File

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

View File

@ -142,6 +142,13 @@ outputs:
with_items:
- /var/lib/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
file:
path: /etc/ceph

View File

@ -122,6 +122,13 @@ outputs:
state: directory
with_items:
- /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:
- name: Stop and disable cinder_scheduler service
tags: step2

View File

@ -153,6 +153,13 @@ outputs:
with_items:
- /var/log/containers/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
file:
path: /etc/ceph

View File

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

View File

@ -141,6 +141,13 @@ outputs:
file:
path: /var/log/containers/congress
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:
- name: Stop and disable congress_api service
tags: step2

View File

@ -156,6 +156,13 @@ outputs:
with_items:
- /var/log/containers/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:
get_attr: [MongodbPuppetBase, role_data, metadata_settings]
upgrade_tasks:

View File

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

View File

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

View File

@ -161,6 +161,16 @@ outputs:
with_items:
- ec2_api
- 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:
- name: Stop and disable EC2-API services
tags: step2

View File

@ -110,6 +110,13 @@ outputs:
file:
path: /var/log/containers/fluentd
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
file:
path: /var/cache/containers/fluentd

View File

@ -226,6 +226,13 @@ outputs:
with_items:
- /var/log/containers/glance
- /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
- name: ensure ceph configurations exist
file:
path: /etc/ceph

View File

@ -164,6 +164,13 @@ outputs:
with_items:
- /var/log/containers/gnocchi
- /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
file:
path: /etc/ceph

View File

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

View File

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

View File

@ -130,6 +130,13 @@ outputs:
with_items:
- /var/log/containers/heat
- /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
upgrade_tasks:
- name: Check if heat_api_cfn is deployed
command: systemctl is-enabled openstack-heat-api-cfn

View File

@ -159,6 +159,13 @@ outputs:
with_items:
- /var/log/containers/heat
- /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
upgrade_tasks:
- name: Check is heat_api is deployed
command: systemctl is-enabled openstack-heat-api

View File

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

View File

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

View File

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

View File

@ -130,6 +130,13 @@ outputs:
with_items:
- /var/log/containers/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
stat: path=/httpboot
register: stat_httpboot

View File

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

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

View File

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

View File

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

View File

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

View File

@ -108,6 +108,13 @@ outputs:
file:
path: /var/log/containers/memcached
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.
ignore_errors: true
upgrade_tasks:
- name: Stop and disable memcached service
tags: step2

View File

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

View File

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

View File

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

View File

@ -181,6 +181,13 @@ outputs:
with_items:
- /var/log/containers/neutron
- /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
upgrade_tasks:
- name: Check if neutron_server is deployed
command: systemctl is-enabled neutron-server

View File

@ -115,6 +115,13 @@ outputs:
file:
path: /var/log/containers/neutron
state: directory
- 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
upgrade_tasks:
- name: Check if neutron_dhcp_agent is deployed
command: systemctl is-enabled neutron-dhcp-agent

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -147,6 +147,13 @@ outputs:
- /var/log/containers/nova
- /var/lib/nova
- /var/lib/libvirt
- 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: ensure ceph configurations exist
file:
path: /etc/ceph

View File

@ -117,6 +117,13 @@ outputs:
file:
path: /var/log/containers/nova
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
upgrade_tasks:
- name: Set compute upgrade level to auto
tags: step1

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@ -113,6 +113,13 @@ outputs:
- /var/log/containers/opendaylight
- /var/lib/opendaylight/snapshots
- /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:
- name: Stop and disable opendaylight_api service
tags: step2

View File

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

View File

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

View File

@ -189,6 +189,13 @@ outputs:
with_items:
- /var/lib/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
file:
path: /etc/ceph

View File

@ -182,6 +182,13 @@ outputs:
with_items:
- /var/log/containers/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
file:
path: /etc/ceph

View File

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

View File

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

View File

@ -159,5 +159,12 @@ outputs:
with_items:
- /var/log/containers/panko
- /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
metadata_settings:
get_attr: [PankoApiPuppetBase, role_data, metadata_settings]

View File

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

View File

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

View File

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

View File

@ -144,6 +144,13 @@ outputs:
file:
path: /var/log/containers/sensu
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:
- name: Stop and disable sensu-client service
tags: step2

View File

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

View File

@ -444,6 +444,13 @@ outputs:
with_items:
- /var/log/containers/swift
- /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 SwiftRawDisks
filesystem:
fstype: xfs

View File

@ -136,6 +136,13 @@ outputs:
file:
path: /var/log/containers/tacker
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:
- name: Stop and disable tacker-server service
tags: step2

View File

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