a Ö>ïhjã@s6ddlmZmZddgZddgZGdd„deeƒZdS) é)ÚPluginÚ RedHatPluginz/var/log/mistral/z/var/lib/mistral/z/var/log/mistral/*.logz/var/lib/mistral/*/*.logc@s(eZdZdZdZdZdZdZdd„ZdS) ÚOpenStackMistralaNGather 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_enginecCs$| d¡r| t¡n | t¡dS)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_descZ plugin_nameZprofilesZ containersr rrrr rs  rN)Zsos.report.pluginsrrrrrrrrr Ú sþþ