Update cinderlib
Sync the cinderlib repository with patches proposed to the Cinder repository: - https://review.openstack.org/620669 - https://review.openstack.org/620670 - https://review.openstack.org/620671
This commit is contained in:
		
				
					committed by
					
						
						Gorka Eguileor
					
				
			
			
				
	
			
			
			
						parent
						
							c491c71f47
						
					
				
				
					commit
					85776225cb
				
			@@ -20,10 +20,18 @@ NotFound = exception.NotFound
 | 
			
		||||
VolumeNotFound = exception.VolumeNotFound
 | 
			
		||||
SnapshotNotFound = exception.SnapshotNotFound
 | 
			
		||||
ConnectionNotFound = exception.VolumeAttachmentNotFound
 | 
			
		||||
InvalidVolume = exception.InvalidVolume
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class InvalidPersistence(Exception):
 | 
			
		||||
    __msg = 'Invalid persistence storage: %s'
 | 
			
		||||
    __msg = 'Invalid persistence storage: %s.'
 | 
			
		||||
 | 
			
		||||
    def __init__(self, name):
 | 
			
		||||
        super(InvalidPersistence, self).__init__(self.__msg % name)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
class NotLocal(Exception):
 | 
			
		||||
    __msg = "Volume %s doesn't seem to be attached locally."
 | 
			
		||||
 | 
			
		||||
    def __init__(self, name):
 | 
			
		||||
        super(NotLocal, self).__init__(self.__msg % name)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user