Server IP : 184.107.3.203 / Your IP : 216.73.216.51 Web Server : Apache System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64 User : adminteladeoro ( 1015) PHP Version : 8.2.28 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON Directory (0755) : /usr/lib/python3.6/site-packages/sos/report/plugins/__pycache__/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
3 ~ �g$ � @ s2 d dl Z d dlmZmZmZ G dd� dee�ZdS )� N)�Plugin�RedHatPlugin� PluginOptc @ sX e Zd ZdZdZdZdZdZedde d d �edde dd �gZ d d� Zdd� Zdd� Z dS )�AAPContainerizedzPCollects details about AAP Containerized setup under a user's home directoryzAAP Containerized SetupZaap_containerized�sysmgmt�ansible�podman�username� z>Username that was used to setup AAP containerized installation)�defaultZval_typeZdesc� directoryzhAbsolute path to AAP containers volume directory. Defaults to 'aap' under provided user's home directoryc s �j d�}|s�jd� d S �j d�sFtjjd|� ��}�j|d�� n �j d�� �j� �r�� �fdd�d'D �}�j|� �j� � n�jd� � d�� d|� d�dfd|� d�d fg}x|D ]\}}�j ||d!� q�W �j |�}x8|D ]0}|� d"�} �j d|� d#|� d$�| � d%d&� � q�W d S )(Nr z=Username is mandatory to collect AAP containerized setup logsr �~Zaapc s g | ]}�j � |��qS � )� path_join)�.0�path)�aap_directory_name�selfr �'/usr/lib/python3.6/aap_containerized.py� <listcomp>; s z*AAPContainerized.setup.<locals>.<listcomp>� containers�tls�controller/etc/*.cert�controller/etc/*.key�eda/etc/*.cert� eda/etc/*.key�gateway/etc/*.cert�gateway/etc/*.key�hub/etc/*.cert� hub/etc/*.key�hub/etc/keys/*.pem�postgresql/*.crt�postgresql/*.key�receptor/etc/*.crt�receptor/etc/*.key�receptor/etc/*.pem�redis/*.crt�redis/*.keyz Directory z1 does not exist or invalid absolute path providedzsu - z -c 'podman info --debug'Zpodman_infoz -c 'podman ps -a --format json'Zpodman_ps_all_json)�suggest_filenamez.logz -c 'podman logs �'Zaap_containers_log)r( Zsubdir)r r r r r r r r r r r r! r"