| Server IP : 173.209.174.21 / Your IP : 216.73.216.89 Web Server : Apache/2.4.58 (Ubuntu) System : Linux wcfs-server 6.8.0-124-generic #124-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 13:00:45 UTC 2026 x86_64 User : nodor ( 1000) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/sos/report/plugins/__pycache__/ |
Upload File : |
�
G%@i. � �8 � d dl mZmZ d dlmZ G d� dee� Zy)� )�Plugin�RedHatPlugin)�sos_parse_versionc �( � e Zd ZdZdZdZdZd� Zd� Zy)�AAPEDAControllerPluginzAAP EDA Controller plugin�aap_eda)�sysmgmt�ansible)�automation-eda-controllerz automation-eda-controller-serverc � � d}| j j j |� � }|�dj |d � | _ | j d� r| j
g d�� n| j
g d�� | j g d�� | j dd g� | j d
dgd�
� | j dd�� d}| j j j |� � }t | dd� }t |� t d� kD r| j ddg� y | j d� }|d dk( r@|d j � D ]) }|j � }|s�| j |d � �+ y y )Nr �.�version�all_logs)�!/etc/ansible-automation-platform/z)/var/log/ansible-automation-platform/eda/z2/var/log/nginx/automationedacontroller.access.log*z1/var/log/nginx/automationedacontroller.error.log*)r z./var/log/ansible-automation-platform/eda/*.logz1/var/log/nginx/automationedacontroller.access.logz0/var/log/nginx/automationedacontroller.error.log)z//etc/ansible-automation-platform/eda/SECRET_KEYz0/etc/ansible-automation-platform/eda/server.certz//etc/ansible-automation-platform/eda/server.keyzaap-eda-manage --versionzaap-eda-manage showmigrationsr z%/var/log/ansible-automation-platform/T)� recursivezsu - eda -c 'env'�eda_environment)�suggest_filename�eda_pkg_ver�0.0.0�1.0.99z(automation-eda-controller-service statusz5automation-eda-controller-event-stream-service statuszOsystemctl list-units --type=service --no-legend automation-eda*�statusr �output)�policy�package_manager�pkg_by_name�joinr �
get_option�
add_copy_spec�add_forbidden_path�add_cmd_output�add_dir_listing�getattrr �exec_cmd�
splitlines�split�add_service_status)�self�pkg_name�pkgr �result�svc�eda_svcs �</usr/lib/python3/dist-packages/sos/report/plugins/aap_eda.py�setupzAAPEDAControllerPlugin.setup s� � �.���k�k�)�)�5�5��
�D���?�"�x�x��I��7�D���?�?�:�&���� �
�
��� �
�
��� !
� �
���&�+�
� �
���/�3�
� � � �
���/�->� � @� /���k�k�)�)�5�5��
�D�� �d�M�7�;���[�)�,=�h�,G�G����:�G�!�
� �]�]�-��F� �h��1�$�!�(�+�6�6�8� 8�C�!�i�i�k�G�"� ��+�+�G�A�J�7� 8� %� c � � t | dd� }t |� t d� k rd}d}d}nd}d}d }| j |||� y )
Nr r r z0/etc/ansible-automation-platform/eda/environmentz3(EDA_SECRET_KEY|EDA_DB_PASSWORD)(\s*)(=|:)(\s*)(.*)z\1\2\3\4********z2/etc/ansible-automation-platform/eda/settings.yamlz6(\s*)(PASSWORD|MQ_USER_PASSWORD|SECRET_KEY)(:\s*)(.*$)z\1\2\3********)r"