+
    Û1j  ã                   ó<   € ^ RI t ^ RIHtHtHt  ! R R]]]4      tR# )é    N)ÚPluginÚRedHatPluginÚUbuntuPluginc                   óD   a € ] tR t^t o RtRtRtRtR	tR
t	R t
R tRtV tR# )ÚCephOSDa¶  
This plugin is for capturing information from Ceph OSD nodes. While the
majority of this plugin should be version agnostic, several collections are
dependent upon the version of Ceph installed. Versions that correlate to
RHCS 4 or RHCS 5 are explicitly handled for differences such as those
pertaining to log locations on the host filesystem.

Note that while this plugin will activate based on the presence of Ceph
containers, commands are run directly on the host as those containers are
often not configured to successfully run the `ceph` commands collected by
this plugin. These commands are majorly `ceph daemon` commands that will
reference discovered admin sockets under /var/run/ceph.
zCEPH osdÚceph_osdc                óð  € V P                  R 4      pRpV P                  P                  P                  R4      p. RNRNRNRNRNRNR	NR
NRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNRNR NR!NR"NpV'       gk   R#pV P	                  R$R%/4       V P                  . R1O4       V P                  . R2O4       V P                  R&R'.4       V'       d   V P                  R(R).4       MBR*pV P                  . R3O4       V P                  R+R,.4       V'       d   V P                  R-.4       T P                  V P                  V4       UUu. uF  pV F  pR.V R/V 2NK  	  K  	  upp4       R0# u uppi )4Úall_logsÚ Ú	microcephzbluestore bluefs availableÚdump_reservationszbluefs statszbluestore allocator dump blockzbluestore bluefs device infozconfig diffzconfig showzcounter dumpzcounter schemaÚdump_blocked_opsÚdump_blocklistÚdump_historic_ops_by_durationÚdump_historic_slow_opsÚdump_mempoolsÚdump_op_pq_stateÚdump_ops_in_flightÚdump_osd_networkÚdump_pgstate_historyÚdump_recovery_reservationsÚdump_scrubsÚdump_watchersÚget_mapped_poolsÚlist_devicesÚlist_unfoundzlog dumpÚobjecter_requestsÚopsz	perf dumpzperf histogram dumpzperf schemaÚstatusÚversionz/var/run/cephz(/var/log/ceph/(.*/)?ceph-(.*-)?osd.*.logÚceph_osd_logzceph-disk listzceph-volume lvm listz/var/log/ceph/**/ceph-osd*.log*z"/var/log/ceph/**/ceph-volume*.log*z/var/snap/microceph/current/runú%/var/snap/microceph/common/data/osd/*z./var/snap/microceph/common/logs/*ceph-osd*.logz//var/snap/microceph/common/logs/*ceph-osd*.log*zceph daemon Ú N)z/etc/ceph/*keyring*z/var/lib/ceph/**/*keyring*z/var/lib/ceph/**/tmp/*mnt*z/etc/ceph/*bindpass*)z/run/ceph/**/ceph-osd*z/var/lib/ceph/**/kv_backendz/var/log/ceph/**/ceph-osd*.logz!/var/log/ceph/**/ceph-volume*.log)z'/var/snap/microceph/common/**/*keyring*z(/var/snap/microceph/current/**/*keyring*z"/var/snap/microceph/common/state/*)	Ú
get_optionÚpolicyÚpackage_managerÚpkg_by_nameÚadd_file_tagsÚadd_forbidden_pathÚadd_copy_specÚadd_cmd_outputÚ	get_socks)Úselfr
   Ú	directoryÚmicroceph_pkgÚcmdsÚiÚcs   &      Ú=/usr/lib/python3/dist-packages/sos/report/plugins/ceph_osd.pyÚsetupÚCephOSD.setup'   s§  € Ø—?‘? :Ó.ˆØˆ	ØŸ™×3Ñ3×?Ñ?ÀÓLˆð#
à(ð#
ð  ð#
ð
 ð#
ð -ð#
ð +ð#
ð ð#
ð ð#
ð ð#
ð ð#
ð ð#
ð ð#
ð ,ð#
ð %ð#
ð  ð!#
ð" ð##
ð$ !ð%#
ð& ð'#
ð( #ð)#
ð* )ð+#
ð, ð-#
ð. ð/#
ð0 ð1#
ð2 ð3#
ð4 ð5#
ð6 ð7#
ð8  ð9#
ð: ð;#
ð< ð=#
ð> "ð?#
ð@ ðA#
ðB ðC#
ðD ðE#
ˆ÷J Ø'ˆIØ×ÑØ:¸Nð ô ð ×#Ñ#ò %ô ð ×Ñò  ô ð ×ÑØ Ø&ð!ô ÷
 Ø×"Ñ"Ø5Ø8ð$ô øð :ˆIà×#Ñ#ò %ô ð ×ÑØ7Ø@ð ô ÷
 Ø×"Ñ"ØEð$ô ð
 	×Ñà�N‰N˜9Ô%ô5á%ð ()Û/3¨!ð ˜1˜#˜Q˜q˜cÓ"Ù/3ñ #Ù%ò5ö 	
ùó 5s   ÅE2
c                óà   € . p\         P                  ! V4       FQ  w  r4pV FE  pVP                  R4      '       g   K  RV9   g   K%  VP                  V P	                  W64      4       KG  	  KS  	  V# )z‰
Find any available admin sockets under /var/run/ceph (or subdirs for
later versions of Ceph) which can be used for ceph daemon commands
z.asokÚosd)ÚosÚwalkÚendswithÚappendÚ	path_join)r-   r.   Úceph_socketsÚrdirÚ_ÚfilesÚfiles   &&     r3   r,   ÚCephOSD.get_socks‹   s^   € ð
 ˆÜ Ÿgšg iÖ0‰NˆD�UÛ�Ø—=‘= ×)Ô)¨e°t®mØ ×'Ñ'¨¯©°tÓ(BÖCó ñ 1ð Ðó    © N)ÚstorageÚvirtÚ	containerÚceph)zceph-(.*-)?osd.*)z/var/lib/ceph/osd/*z/var/lib/ceph/*/osd*r"   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__Ú
short_descÚplugin_nameÚprofilesÚ
containersr@   r4   r,   Ú__static_attributes__Ú__classdictcell__)Ú__classdict__s   @r3   r   r      s8   ø‡ € ñð €Jà€KØ7€HØ&€Jð6€Eòb
÷H
ð 
rC   r   )r8   Úsos.report.pluginsr   r   r   r   rD   rC   r3   Ú<module>rV      s"   ðó 
ç AÑ AôEˆf�l Lö ErC   