mirror of
https://github.com/retspen/webvirtcloud.git
synced 2026-05-26 15:13:33 +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:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user