Mini Shell

Direktori : /lib/python3.6/site-packages/blivet/__pycache__/
Upload File :
Current File : //lib/python3.6/site-packages/blivet/__pycache__/errors.cpython-36.opt-1.pyc

3

�Mf��@sddlmZGdd�de�ZGdd�de�ZGdd�de�ZGdd	�d	e�ZGd
d�de�ZGdd
�d
e�ZGdd�de�Z	Gdd�de�Z
Gdd�de�ZGdd�dee�Z
Gdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGdd�de�ZGd d!�d!e�ZGd"d#�d#e�ZGd$d%�d%e�ZGd&d'�d'e�ZGd(d)�d)e�ZGd*d+�d+e�ZGd,d-�d-e�ZGd.d/�d/e�ZGd0d1�d1e�ZGd2d3�d3e�ZGd4d5�d5e�ZGd6d7�d7e�ZGd8d9�d9e�ZGd:d;�d;e�Z Gd<d=�d=e�Z!Gd>d?�d?e!�Z"Gd@dA�dAe!�Z#GdBdC�dCe!�Z$GdDdE�dEe�Z%GdFdG�dGe�Z&GdHdI�dIe�Z'GdJdK�dKe�Z(GdLdM�dMe(e�Z)GdNdO�dOe�Z*GdPdQ�dQe�Z+GdRdS�dSe+�Z,GdTdU�dUe�Z-GdVdW�dWe�Z.GdXdY�dYe.e�Z/GdZd[�d[e.�Z0Gd\d]�d]e.�Z1Gd^d_�d_e.�Z2Gd`da�dae.�Z3Gdbdc�dce�Z4Gddde�dee�Z5Gdfdg�dge�Z6Gdhdi�die�Z7Gdjdk�dke�Z8Gdldm�dme�Z9Gdndo�doe�Z:Gdpdq�dqe�Z;Gdrds�dse�Z<Gdtdu�due�Z=Gdvdw�dwe�Z>Gdxdy�dye�Z?Gdzd{�d{e�Z@Gd|d}�d}eeA�ZBGd~d�deeA�ZCGd�d��d�eeA�ZDd�S)��)�N_cseZdZ�fdd�Z�ZS)�StorageErrorcs$|jdd�|_tt|�j||�dS)N�hardware_faultF)�popr�superr�__init__)�self�args�kwargs)�	__class__��/usr/lib/python3.6/errors.pyrszStorageError.__init__)�__name__�
__module__�__qualname__r�
__classcell__rr)rr
rsrc@seZdZdS)�NoDisksErrorN)rrrrrrr
r!src@seZdZdS)�DeviceErrorN)rrrrrrr
r'src@seZdZdS)�DeviceCreateErrorN)rrrrrrr
r+src@seZdZdS)�DeviceDestroyErrorN)rrrrrrr
r/src@seZdZdS)�DeviceResizeErrorN)rrrrrrr
r3src@seZdZdS)�DeviceSetupErrorN)rrrrrrr
r7src@seZdZdS)�DeviceTeardownErrorN)rrrrrrr
r;src@seZdZdS)�DeviceUserDeniedFormatErrorN)rrrrrrr
r?src@seZdZdS)�InconsistentPVSectorSizeN)rrrrrrr
rCsrc@seZdZdS)�DeviceFormatErrorN)rrrrrrr
rIsrc@seZdZdS)�FormatCreateErrorN)rrrrrrr
rMsrc@seZdZdS)�FormatDestroyErrorN)rrrrrrr
rQsrc@seZdZdS)�FormatSetupErrorN)rrrrrrr
rUsrc@seZdZdS)�FormatTeardownErrorN)rrrrrrr
rYsrc@seZdZdd�ZdS)�FormatResizeErrorcCstj||�||_dS)N)rr�details)r�messager!rrr
r_szFormatResizeError.__init__N)rrrrrrrr
r ]sr c@seZdZdS)�DMRaidMemberErrorN)rrrrrrr
r#dsr#c@seZdZdS)�MultipathMemberErrorN)rrrrrrr
r$hsr$c@seZdZdS)�FSErrorN)rrrrrrr
r%lsr%c@seZdZdS)�FSWriteLabelErrorN)rrrrrrr
r&psr&c@seZdZdS)�FSWriteUUIDErrorN)rrrrrrr
r'tsr'c@seZdZdS)�FSReadLabelErrorN)rrrrrrr
r(xsr(c@seZdZdd�ZdS)�
FSResizeErrorcCstj||�||_dS)N)r%rr!)rr"r!rrr
r~szFSResizeError.__init__N)rrrrrrrr
r)|sr)c@seZdZdS)�	LUKSErrorN)rrrrrrr
r*�sr*c@seZdZdS)�IntegrityErrorN)rrrrrrr
r+�sr+c@seZdZdS)�
MDMemberErrorN)rrrrrrr
r,�sr,c@seZdZdS)�PhysicalVolumeErrorN)rrrrrrr
r-�sr-c@seZdZdS)�SinglePhysicalVolumeErrorN)rrrrrrr
r.�sr.c@seZdZdS)�SwapSpaceErrorN)rrrrrrr
r/�sr/c@seZdZdS)�DiskLabelErrorN)rrrrrrr
r0�sr0c@seZdZdS)�InvalidDiskLabelErrorN)rrrrrrr
r1�sr1c@seZdZdS)�DiskLabelCommitErrorN)rrrrrrr
r2�sr2c@seZdZdS)�AlignmentErrorN)rrrrrrr
r3�sr3c@seZdZdS)�	RaidErrorN)rrrrrrr
r4�sr4c@seZdZdS)�DMErrorN)rrrrrrr
r5�sr5c@seZdZdS)�
MPathErrorN)rrrrrrr
r6�sr6c@seZdZdS)�
BTRFSErrorN)rrrrrrr
r7�sr7c@seZdZdS)�BTRFSValueErrorN)rrrrrrr
r8�sr8c@seZdZdS)�StratisErrorN)rrrrrrr
r9�sr9c@seZdZdS)�DeviceTreeErrorN)rrrrrrr
r:�sr:c@seZdZdS)�
NoSlavesErrorN)rrrrrrr
r;�sr;c@seZdZdS)�DeviceNotFoundErrorN)rrrrrrr
r<�sr<cs&eZdZdZdZd�fdd�	Z�ZS)�UnusableConfigurationErrorz5 User has an unusable initial storage configuration. �Ncstt|�j|�||_dS)N)rr=r�dev_name)rr"r?)rrr
r�sz#UnusableConfigurationError.__init__)N)rrr�__doc__�
suggestionrrrr)rr
r=�sr=c@seZdZed�ZdS)�DuplicateUUIDErrorz�This is usually caused by cloning the device image resulting in duplication of the UUID value which should be unique. In that case you can either disconnect one of the devices or reformat it.N)rrrrrArrrr
rB�srBc@seZdZed�ZdS)�DiskLabelScanErrorz�For some reason we were unable to locate a disklabel on a disk that the kernel is reporting partitions on. It is unclear what the exact problem is. Please file a bug at http://bugzilla.redhat.comN)rrrrrArrrr
rC�srCc@seZdZed�ZdS)�CorruptGPTErrorz�Either restore the disklabel to a completely working state or remove it completely.
Hint: parted can restore it or wipefs can remove it.N)rrrrrArrrr
rD�srDc@seZdZed�ZdS)�DuplicateVGErrorz�Rename one of the volume groups so the names are distinct.
Hint 1: vgrename accepts UUID in place of the old name.
Hint 2: You can get the VG UUIDs by running 'pvs -o +vg_uuid'.N)rrrrrArrrr
rE�srEc@seZdZed�ZdS)�InvalidMultideviceSelectionzuAll parent devices must be selected when choosing exclusive or ignored disks for a multipath or firmware RAID device.N)rrrrrArrrr
rF�srFc@seZdZdS)�DeviceActionErrorN)rrrrrrr
rGsrGc@seZdZdS)�PartitioningErrorN)rrrrrrr
rHsrHc@seZdZdS)�NotEnoughFreeSpaceErrorN)rrrrrrr
rIsrIc@seZdZdS)�	UdevErrorN)rrrrrrr
rJsrJc@seZdZdS)�UnrecognizedFSTabEntryErrorN)rrrrrrr
rKsrKc@seZdZdS)�FSTabTypeMismatchErrorN)rrrrrrr
rLsrLc@seZdZdS)�DeviceFactoryErrorN)rrrrrrr
rM"srMc@seZdZdZdS)�AvailabilityErrorzB Raised if problem determining availability of external resource. N)rrrr@rrrr
rN&srNc@seZdZdS)�EventManagerErrorN)rrrrrrr
rO+srOc@seZdZdS)�EventParamErrorN)rrrrrrr
rP/srPc@seZdZdZdS)�DependencyErrorz>Raised when an external dependency is missing or not availableN)rrrr@rrrr
rQ5srQc@seZdZdS)�EventHandlingErrorN)rrrrrrr
rR9srRc@seZdZdZdS)�ThreadErrorz) An error occurred in a non-main thread. N)rrrr@rrrr
rS=srSc@seZdZdS)�	FCoEErrorN)rrrrrrr
rTCsrTc@seZdZdS)�
ISCSIErrorN)rrrrrrr
rUGsrUc@seZdZdS)�	NVMeErrorN)rrrrrrr
rVKsrVN)EZi18nr�	Exceptionrrrrrrrrr�
ValueErrorrrrrrrr r#r$r%r&r'r(r)r*r+r,r-r.r/r0r1r2r3r4r5r6r7r8r9r:r;r<r=rBrCrDrErFrGrHrIrJrKrLrMrNrOrPrQrRrS�OSErrorrTrUrVrrrr
�<module>s�