+
    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                   sJ   a  ] tR t^t o RtRtR	tR
tRtRt	R t
R tR tRtV tR# )OpenStackCinderzOpenStack cinderZopenstack_cinderz,/var/lib/config-data/puppet-generated/cinderNc           
     s2   V P                  R 4       RpRp. R#OpRpV F  pV P                  V4      pV'       g   K   M	  V P                  R4      pV'       d   W P                  ,          pV'       g
   V'       Ed   V P	                  RV,           R,           RR7       V P	                  RV R	24       V P	                  RV R
24       V P	                  RV R24       V P	                  RV R24       R$ Uu. uF  qw\
        P                  9   NK  	  ppR% Uu. uF  qw\
        P                  9   NK  	  p	p\        V4      '       d   \        V	4      '       g   V P                  P                  R4       M. R&Op
V
 F  pV P	                  RV R24       K  	  . R'OpV F  pV P	                  RV R24       K  	  RpV P                  V4      pVR,          ^ 8X  dN   VR,          pVP                  4        F0  pVP                  4       ^ ,          pRV 2pV P	                  V4       K2  	  V P                  R 4       V P                  RV P                  R,           V P                  R,           V P                  R,           V P                  R,           V P                  R,           V P                  R,           .4       V P                  R4      '       d$   V P                  RRV P                    R2.4       R"# V P                  R RV P                    R!2.4       R"# u upi u upi )(z/etc/cinder/volumes z--config-dir %s/etc/cinder/F.*cinder_apizcinder-manage z db versionZcinder_db_version)Zsuggest_filenamez backup listz config listz
 host listzcinder-status z upgrade checkz}Not all environment variables set. Source the environment file for the user intended to connect to the OpenStack environment.zopenstack volume z listz list --all-projectsz-openstack volume list -f value --all-projectsZstatusZoutputzopenstack volume show z/etc/cinder/z/etc/httpd/conf/z/etc/httpd/conf.d/z /etc/httpd/conf.modules.d/*.confz/etc/my.cnf.d/tripleo.cnfz/etc/sysconfig/Zall_logsz/var/log/cinder/z	/var/log/z	*/cinder*z/var/log/cinder/*.logz*/cinder*.logN)Zcinder_wsgizcinder-wsgi
cinder-api)ZOS_USERNAMEZOS_PASSWORD)ZOS_TENANT_NAMEZOS_PROJECT_NAME)zbackend poolz
group typeZmessageZqosZserviceZtype)ZbackupZgroupzgroup snapshotZsnapshotztransfer requestr   )Zadd_forbidden_pathZcheck_process_by_nameZcontainer_existsvar_puppet_genZadd_cmd_outputosZenvironZallZanyZsoslogZwarningZexec_cmdZ
splitlinesZsplitadd_copy_specZ
get_option	apachepkg)selfZcinder_configZcinder_config_optZcinder_processZin_psZprocessZin_containerZpZvars_allZvars_anyZ	list_cmdsZcmdZlist_cmds_projectsZresZcinder_volumesZvolumes   &               H/usr/lib/python3.14/site-packages/sos/report/plugins/openstack_cinder.pysetupZOpenStackCinder.setup   s.    569 F%G..w7Eu &
 ,,^<-0C0CCM LL =0=@!4     |<  |<  z:  ~>26 7 26ARZZ 26H 72= > 2=ARZZ 2=H > MMc(mm## %3 4
	 %C''*;C5(FG %&" .C''+C50DE . FmmC(x=A%%(]N"0";";"=!'!2 6vh?++C0 #>
 	 56.0"44"66"DD"=="33
 	 ??:&&"DNN+95  
 'DNN+=9  C7>s   5LLc                sp    V P                  RW4       V P                  V P                  R,           W4       R# )zApply regex substitution z/etc/cinder/*N)Zdo_path_regex_subr   )r   ZregexpZsubsts   &&&r   apply_regex_subZOpenStackCinder.apply_regex_sub   s1    >/1	
    c                s    . R	OpR.pRP                  V4      pV P                  RRP                  V4       R2R4       V P                  RV R2R4       R# )
.*_pass(wd|word)?Z
connectionZ|z(^\s*(z)\s*=\s*)(.*)z\1*********z!)\s*=\s*(.*)://(\w*):)(.*)(@(.*))z\1*********\6N)r   z.*_keys?ZpasswordZtransport_url)Zjoinr   )r   Zprotect_keysZconnection_keysZjoin_con_keyss   &   r   postprocZOpenStackCinder.postproc   sg    
 (.1chh|,-];	
 	m_$EF	
r    )Z	openstackZopenstack_controller)r   )__name__
__module____qualname____firstlineno__Z
short_descZplugin_nameZprofilesZ
containersr   r   r   r   r   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s9     #J$K4H"JCNIiV

 
r   r   c                   s"    ] tR t^tRtRtRtRtR# )DebianCinderFZapache2r   N)r   zcinder-backupzcinder-commonzcinder-schedulerzcinder-volumezpython-cinderzpython3-cinder)r   r   r   r   cinderr   packagesr   r   r   r   r   r      s    FIHr   r   c                   s>   a a ] tR t^t oRtRtRtV 3R ltRtVt	V ;t
# )RedHatCinderFZhttpdc                sH   < \         SV `  4        V P                  R .4       R# )z/etc/sudoers.d/cinderN)Zsuperr   r
   )r   	__class__s   &r   r   ZRedHatCinder.setup   s    345r   r   )zopenstack-selinux)r   r   r   r   r   r   r   r   r   r   Z__classcell__)r   r   s   @@r   r   r      s     FI%H6 6r   r   )	r	   Zsos.report.pluginsr    r   r   r   r   r   r   r   r   r   <module>r       s=    
 O OO
f O
d?L, 6?L 6r   