관리-도구
편집 파일: openstack_mistral.cpython-39.pyc
a -�_gj � @ s6 d dl mZmZ ddgZddgZG dd� dee�ZdS ) � )�Plugin�RedHatPluginz/var/log/mistral/z/var/lib/mistral/z/var/log/mistral/*.logz/var/lib/mistral/*/*.logc @ s( e Zd ZdZdZdZdZdZdd� ZdS ) �OpenStackMistralaN Gather Mistral directories content, both data from /var/lib/mistral and its log from /var/log/mistral if it exists (older OSP). The data also embed logs for the ansible runs launched via the service, meaning we'll be able to properly debug failures therein. The rest of the data are the generated environment files, also really useful in order to debug an issue at deploy or day-2 operations. We filter out on the presence of any "mistral" related container on the host - usually the Undercloud presents mistral_engine, mistral_executor and mistral_api. zOpenStack MistralZopenstack_mistral)Z openstackZopenstack_undercloud)z.*mistral_enginec C s$ | � d�r| �t� n | �t� d S )NZall_log)Z get_optionZ add_copy_spec�MISTRAL_DIRECTORIES�MISTRAL_LOGS)�self� r �H/usr/lib/python3.9/site-packages/sos/report/plugins/openstack_mistral.py�setup* s zOpenStackMistral.setupN) �__name__� __module__�__qualname__�__doc__Z short_descZplugin_nameZprofilesZ containersr r r r r r s r N)Zsos.report.pluginsr r r r r r r r r �<module> s ��