+
    ij  c                   s>    ^ RI HtHt RR.tRR.t ! R R]]4      tR# )	i    )PluginRedHatPluginz/var/log/mistral/z/var/lib/mistral/z/var/log/mistral/*.logz/var/lib/mistral/*/*.logc                   s:   a  ] tR t^t o RtRtRtRtRtR t	Rt
V tR# )	OpenStackMistrala*  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.
zOpenStack MistralZopenstack_mistralc                s    V P                  R 4      '       d   V P                  \        4       R# V P                  \        4       R# )Zall_logN)Z
get_optionZadd_copy_specMISTRAL_DIRECTORIESMISTRAL_LOGS)Zselfs   &I/usr/lib/python3.14/site-packages/sos/report/plugins/openstack_mistral.pysetupZOpenStackMistral.setup*   s.    ??9%%23|,     N)Z	openstackZopenstack_undercloud)z.*mistral_engine)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__Z
short_descZplugin_nameZprofilesZ
containersr   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s*     	 %J%K4H&J- -r   r   N)Zsos.report.pluginsr    r   r   r   r   r   r   r   <module>r	      s7    4 	
 
 	!"
-v| -r   