Merge "Write readme.txt into old log directories"

This commit is contained in:
Zuul 2017-11-15 22:42:34 +00:00 committed by Gerrit Code Review
commit a4631060f6
68 changed files with 478 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

@ -116,6 +116,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

@ -116,6 +116,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

@ -116,6 +116,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

@ -129,6 +129,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 ceilometer_agent_central is deployed
command: systemctl is-enabled --quiet openstack-ceilometer-central

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 --quiet openstack-ceilometer-compute

View File

@ -111,6 +111,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 ceilometer-agent-ipmi is deployed
command: systemctl is-enabled --quiet openstack-ceilometer-ipmi

View File

@ -121,6 +121,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 ceilometer_agent_notification is deployed
command: systemctl is-enabled --quiet openstack-ceilometer-notification

View File

@ -193,6 +193,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

@ -144,6 +144,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

@ -124,6 +124,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

@ -155,6 +155,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

@ -229,6 +229,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

@ -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

@ -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

@ -144,6 +144,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

@ -132,6 +132,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

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

View File

@ -123,3 +123,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

@ -38,3 +38,10 @@ 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

View File

@ -26,3 +26,10 @@ 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

View File

@ -26,3 +26,10 @@ 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

View File

@ -37,3 +37,10 @@ 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

View File

@ -40,3 +40,10 @@ 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

View File

@ -38,3 +38,10 @@ 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

View File

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

View File

@ -55,3 +55,10 @@ 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

View File

@ -37,3 +37,10 @@ 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

View File

@ -39,3 +39,10 @@ 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

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

@ -107,6 +107,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,12 @@ 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.
upgrade_tasks:
- name: Stop and disable memcached service
tags: step2

View File

@ -186,6 +186,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 api is deployed
command: systemctl is-enabled --quiet openstack-mistral-api

View File

@ -114,6 +114,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 engine is deployed
command: systemctl is-enabled --quiet openstack-mistral-engine

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: Check if mistral-event-engine is deployed
command: systemctl is-enabled --quiet openstack-mistral-event-engine

View File

@ -118,6 +118,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 --quiet openstack-mistral-executor

View File

@ -123,6 +123,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

@ -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

@ -118,6 +118,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

@ -114,6 +114,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

@ -114,6 +114,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

@ -115,6 +115,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

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

View File

@ -218,6 +218,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

@ -123,6 +123,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

@ -146,6 +146,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

@ -149,6 +149,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: Check if swift_proxy is deployed
command: systemctl is-enabled --quiet openstack-swift-proxy

View File

@ -450,6 +450,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 and mount devices defined in SwiftRawDisks
mount:
name: /srv/node/{{ item }}

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