mirror of
				https://github.com/retspen/webvirtcloud
				synced 2025-07-31 12:41:08 +00:00 
			
		
		
		
	if there is some inactive storages, listing volumes causes exception then breaks.. checking activeness of storage pool fixes that
This commit is contained in:
		
							parent
							
								
									7200a34699
								
							
						
					
					
						commit
						73ce98b63e
					
				
					 1 changed files with 2 additions and 0 deletions
				
			
		|  | @ -29,6 +29,8 @@ class wvmCreate(wvmConnect): | |||
|         storages = self.get_storages() | ||||
|         for storage in storages: | ||||
|             stg = self.get_storage(storage) | ||||
|             if not stg.isActive(): | ||||
|                 pass | ||||
|             try: | ||||
|                 stg.refresh(0) | ||||
|             except: | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue