+
    i	  c                   sn    ^ RI t ^ RIHtHtHtHt  ! R R]4      t ! R R]]4      t ! R R]]]4      tR# )	i    N)PluginRedHatPluginDebianPluginUbuntuPluginc                   s<   a  ] tR t^t o RtRtRtRtR tR t	Rt
V tR# )	CorosynczCorosync cluster enginecorosyncc           	     st   V P                  . RO4       V P                  . RO4       V P                  RRR7       V P                  R4       RpV P                  V4      '       g   R# Rp V P	                  R4      p\        VRR	R
7      ;_uu_ 4       pV FU  p\        P                  ! W%4      '       g   K!  V P                  \        P                  ! W%4      P                  ^4      4       KW  	  RRR4       R#   + '       g   i     R# ; i  \         d#   pT P                  RT RT 24        Rp?R# Rp?ii ; i)/etc/corosynczcorosync-cmapctlZcorosync_cmapctl)Ztagszkillall -USR2 corosyncz/etc/corosync/corosync.confNz ^\s*(logging.)?logfile:\s*(\S+)$ZrzUTF-8)Zencodingzcould not read from z: )r   z/var/lib/corosync/fdataz/var/log/cluster/corosync.log*)zcorosync-quorumtool -lzcorosync-quorumtool -szcorosync-cpgtoolzcorosync-cfgtool -szcorosync-blackboxzcorosync-objctl -azcorosync-cmapctl -m stats)Zadd_copy_specZadd_cmd_outputZexec_cmdZpath_existsZ	path_joinZopenreZmatchZsearchZgroupZIOErrorZ	_log_warn)selfZcorosync_confZpatternZcconfZfileZlineZerrs   &      @/usr/lib/python3.14/site-packages/sos/report/plugins/corosync.pysetupZCorosync.setup   s    
 	
 	 
 	 	.!3 	 	5./5.. 6	JNN#@AEeS733t Dxx..**299W+C+I+I!+LM ! 4333  	JNN1-3%HII	Js<   )'D
 C648C6,D
 6D	D
 D
 
D7D22D7c                s,    V P                  R RR4       R# )zcorosync-objctlz(.*fence.*\.passwd=)(.*)z\1******N)Zdo_cmd_output_sub)r   s   &r	   postprocZCorosync.postproc;   s    '	
     N)Zcluster)r   )__name__
__module____qualname____firstlineno__Z
short_descZplugin_nameZprofilesZpackagesr
   r   __static_attributes__Z__classdictcell__)Z__classdict__s   @r	   r   r      s*     *JKHH$JL
 
r   r   c                   s    ] tR t^CtRtRtR# )RedHatCorosync/Parent class Corosync's setup() will be called r   N)r   r   r   r   __doc__r   r   r   r	   r   r   C   s    :r   r   c                   s    ] tR t^GtRtRtRtR# )DebianCorosyncr   r   N)z/usr/sbin/corosync)r   r   r   r   r   Zfilesr   r   r   r	   r   r   G   s
    :#Er   r   )	r   Zsos.report.pluginsr    r   r   r   r   r   r   r   r   r	   <module>r      s;    
 O O3
v 3
l;X| ;$X|\ $r   