관리-도구
편집 파일: openstack_placement.pyo
� u��ec @ sq d d l m Z m Z m Z m Z d e f d � � YZ d e e e f d � � YZ d e e f d � � YZ d S( i����( t Plugint RedHatPlugint DebianPlugint UbuntuPlugint OpenStackPlacementc B sD e Z d Z d Z d Z d Z d � Z d � Z d � Z d � Z RS( s OpenStack Placement t openstack_placementt openstackt openstack_controllers/ /var/lib/config-data/puppet-generated/placementc C s� | j � } | j d � s! | r_ d } | rA d | j d } n | j d | d d d �n | j d � r� | j d d d g � n | j d d d g � | j d | j d | j d | j d | j d | j d g � d S( Ns openstack-placement-apit s --config-dir s /etc/placement/s placement-manage s db versiont suggest_filenames placement-manage_db_versiont all_logss /var/log/placement/s /var/log/containers/placement/s( /var/log/containers/httpd/placement-api/s /var/log/placement/*.logs# /var/log/containers/placement/*.logs, /var/log/containers/httpd/placement-api/*logs /etc/my.cnf.d/tripleo.cnfs /etc/httpd/conf/s /etc/httpd/conf.d/s /etc/httpd/conf.modules.d/*.conf( t running_in_containert is_service_runningt var_puppet_gent add_cmd_outputt get_optiont add_copy_spec( t selft in_containert placement_config( ( sC /usr/lib/python2.7/site-packages/sos/plugins/openstack_placement.pyt setup s2 c C so xh d d g D]Z } | j | d � } | d d k r x. | d j � D] } | j d � rG t SqG Wq q Wt S( Nt dockert podmans pst statusi t outputt placement_api( t exec_cmdt splitlinest endswitht Truet False( R t runtimet container_statust line( ( sC /usr/lib/python2.7/site-packages/sos/plugins/openstack_placement.pyR >