+
    G%@i	                     n    ^ 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# )	    N)PluginRedHatPluginDebianPluginUbuntuPluginc                   <   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           	     t   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-cmapctlcorosync_cmapctl)tagszkillall -USR2 corosyncz/etc/corosync/corosync.confNz ^\s*(logging.)?logfile:\s*(\S+)$rzUTF-8)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)add_copy_specadd_cmd_outputexec_cmdpath_exists	path_joinopenrematchsearchgroupIOError	_log_warn)selfcorosync_confpatterncconffilelineerrs   &      =/usr/lib/python3/dist-packages/sos/report/plugins/corosync.pysetup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                ,    V P                  R RR4       R# )zcorosync-objctlz(.*fence.*\.passwd=)(.*)z\1******N)do_cmd_output_sub)r   s   &r#   postprocCorosync.postproc;   s    '	
     N)cluster)r	   )__name__
__module____qualname____firstlineno__
short_descplugin_nameprofilespackagesr$   r(   __static_attributes____classdictcell__)__classdict__s   @r#   r   r      s*     *JKHH$JL
 
r*   r   c                       ] tR t^CtRtRtR# )RedHatCorosync/Parent class Corosync's setup() will be called r+   N)r-   r.   r/   r0   __doc__r5   r+   r*   r#   r9   r9   C   s    :r*   r9   c                       ] tR t^GtRtRtRtR# )DebianCorosyncr:   r+   N)z/usr/sbin/corosync)r-   r.   r/   r0   r;   filesr5   r+   r*   r#   r=   r=   G   s
    :#Er*   r=   )	r   sos.report.pluginsr   r   r   r   r   r9   r=   r+   r*   r#   <module>r@      s;    
 O O3
v 3
l;X| ;$X|\ $r*   