File manager - Edit - /opt/saltstack/salt/lib/python3.10/site-packages/salt/states/__pycache__/glusterfs.cpython-310.pyc
Back
o ;js0 � @ s� d Z ddlZddlm mZ ddlZddlm Z e� e�Zg d�Z dd� Zdd� Z ddd�Zd d� Zdd� Zdd� Zdd� ZdS )z Manage GlusterFS pool. � N)�SaltCloudException)zPeer {0} added successfully.zProbe on localhost not neededz%Host {0} is already in the peer groupz+Host {0} is already part of another clusterz-Volume on {0} conflicts with existing volumesz%UUID of {0} is the same as local uuidzZ{0} responded with "unknown peer". This could happen if {0} doesn't have localhost definedz-Failed to add peer. Information on {0}'s logsz9Cluster quorum is not met. Changing peers is not allowed.z2Failed to update list of missed snapshots from {0}z-Conflict comparing list of snapshots from {0}z,Peer is already being detached from cluster.c C s dt v rdS dS )z= Only load this module if the gluster command exists �glusterfs.list_volumesZ glusterfs)Fz$glusterfs module could not be loaded)�__salt__� r r �I/opt/saltstack/salt/lib/python3.10/site-packages/salt/states/glusterfs.py�__virtual__ s r c s� � i ddd�}zt �� d� W n ty d|d<