1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2025-07-31 12:41:08 +00:00

Host gets list of all storages active/inactive. If there is some inactive storages it gives error. But it coulde be inactive. It is normal. Changing the behaviour of getting list of storages.

This commit is contained in:
catborise 2018-07-20 14:04:13 +03:00
parent e7ecf29359
commit e387c3a21d
4 changed files with 9 additions and 10 deletions

View file

@ -37,7 +37,7 @@ def create_instance(request, compute_id):
compute.password,
compute.type)
storages = sorted(conn.get_storages())
storages = sorted(conn.get_storages(only_actives=True))
networks = sorted(conn.get_networks())
instances = conn.get_instances()
cache_modes = sorted(conn.get_cache_modes().items())