![]() 'overcloud ceph deploy' logs are redirected to /home/stack/ansible.log.
Before python-tripleo-client runs cephadm playbook, check if the log
file ansible.log exists (from a previous run). If it does, then rename it
to append a timestamp. When cephadm is run,a new log will be created.
A new parameter 'rotate_log=False' is added to run_ansible_playbook function
which can be enabled for any other operations to perform log rotation.
Change-Id: I13bf6c6377ac049054c22d0b8a0e005366c44b7f
Resolves: rhbz#2149339
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
overcloud_ceph.py | ||
overcloud_delete.py | ||
overcloud_network.py | ||
overcloud_node.py | ||
overcloud_support.py | ||
tripleo_container_image.py |