+
    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                   sN   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R	tV tR# )OpenStackPlacementzOpenStack PlacementZopenstack_placementz//var/lib/config-data/puppet-generated/placementzopenstack-placement-apiNc           
     s   V P                  R 4      pV P                  V P                  4      '       g
   V'       EdJ   RpV'       d   RV P                  ,           R,           pV P	                  RV,           R,           RR7       R Uu. uF  q3\
        P                  9   NK  	  ppR Uu. uF  q3\
        P                  9   NK  	  pp\        V4      '       d   \        V4      '       g   V P                  P                  R4       MV P                  R	4      pVR
,          ^ 8X  df   VR,          pVP                  4       ^R  FE  pVP                  4       ^,          p	. R Op
T P	                  V
 Uu. uF  pRV RV	 2NK  	  up4       KG  	  V P                  R4      '       d%   V P                  RRRRV P                    R2.4       M#V P                  RRRRV P                    R2.4       V P                  RV P                  R,           V P                  R,           V P                  R,           V P                  R,           V P                  R,           .4       R# u upi u upi u upi )!.*placement_apiZ z--config-dir z/etc/placement/zplacement-manage z db versionzplacement-manage_db_version)Zsuggest_filenamez}Not all environment variables set. Source the environment file for the user intended to connect to the OpenStack environment.z openstack resource provider listZstatusZoutputzopenstack resource provider z list Zall_logsz/var/log/placement/z/var/log/containers/placement/z(/var/log/containers/httpd/placement-api/z	/var/log/z*/placement*z/var/log/placement/*.logz#/var/log/containers/placement/*.logz,/var/log/containers/httpd/placement-api/*logz*/placement*.logz/etc/my.cnf.d/tripleo.cnfz/etc/httpd/conf/z/etc/httpd/conf.d/z /etc/httpd/conf.modules.d/*.confN)ZOS_USERNAMEZOS_PASSWORD)ZOS_TENANT_NAMEZOS_PROJECT_NAMEi)Z	inventoryZtraitZ	aggregate)Zcontainer_existsZis_service_runningservice_namevar_puppet_genZadd_cmd_outputosZenvironZallZanyZsoslogZwarningZcollect_cmd_outputZ
splitlinesZsplitZ
get_optionZadd_copy_spec	apachepkg)selfZin_containerZplacement_configZpZvars_allZvars_anyZresZresource_provider_listZproviderZres_providerZsub_cmdsZsub_cmds   &           K/usr/lib/python3.14/site-packages/sos/report/plugins/openstack_placement.pysetupZOpenStackPlacement.setup   sl   
 ,,->?""4#4#455!#2T5H5H#H 1$2 #&66F!>   
26 7 26ARZZ 26H 72= > 2=ARZZ 2=H > MMc(mm## %3 4
 --6 x=A%-0]*$:$E$E$G"$M'/~~'7':$
 ++ ,4- ,4 ;7)6+n.+3-  %N ??:&&%0:DNN+<8	   *5>DNN++;<	   	"33"=="44"66"DD
 	]7>,-s   I&I)I
c                sp    V P                  RW4       V P                  V P                  R,           W4       R# )zApply regex substitution z/etc/placement/*N)Zdo_path_regex_subr   )r
   ZregexpZsubsts   &&&r   apply_regex_subZ"OpenStackPlacement.apply_regex_subc   s3    16A"44	
    c                s    . ROp. R	O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# )
passwordZ|z(^\s*(z)\s*=\s*)(.*)z\1*********z!)\s*=\s*(.*)://(\w*):)(.*)(@(.*))z\1*********\6N)r   Zmemcache_secret_keyZNOVA_API_PASSZPLACEMENT_PASS)Zdatabase_connectionZslave_connectionZ
connection)Zjoinr   )r
   Zprotect_keysZconnection_keysZjoin_con_keyss   &   r   postprocZOpenStackPlacement.postprock   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   r   __static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s>     &J'K4H%JFN,LIGR

 
r   r   c                   s    ] tR t^tRtRtRtR# )DebianPlacementZapache2r   N)zplacement-commonzplacement-apizpython3-placementr   r   r   r   r	   Zpackagesr   r   r   r   r   r      s    IHr   r   c                   s    ] tR t^tRtRtRtR# )RedHatPlacementZhttpdr   N)zopenstack-selinuxr   r   r   r   r   r      s    I%Hr   r   )	r   Zsos.report.pluginsr    r   r   r   r   r   r   r   r   r   <module>r      s?    
 O Or
 r
j(, &(, &r   