mirror of
https://github.com/retspen/webvirtcloud
synced 2024-12-25 23:55:24 +00:00
host ifaces configuration error prevents management of instance. It is isolated.
This commit is contained in:
parent
592112590c
commit
01f2290dd9
1 changed files with 6 additions and 1 deletions
|
@ -343,10 +343,15 @@ def instance(request, compute_id, vname):
|
||||||
bus_host = conn.get_disk_bus_types(arch, machine)
|
bus_host = conn.get_disk_bus_types(arch, machine)
|
||||||
videos_host = conn.get_video_models(arch, machine)
|
videos_host = conn.get_video_models(arch, machine)
|
||||||
networks_host = sorted(conn.get_networks())
|
networks_host = sorted(conn.get_networks())
|
||||||
interfaces_host = sorted(conn.get_ifaces())
|
|
||||||
nwfilters_host = conn.get_nwfilters()
|
nwfilters_host = conn.get_nwfilters()
|
||||||
storages_host = sorted(conn.get_storages(True))
|
storages_host = sorted(conn.get_storages(True))
|
||||||
|
|
||||||
|
try:
|
||||||
|
interfaces_host = sorted(conn.get_ifaces())
|
||||||
|
except Exception as e:
|
||||||
|
addlogmsg(request.user.username, instance.name, e)
|
||||||
|
error_messages.append(e)
|
||||||
|
|
||||||
if request.method == 'POST':
|
if request.method == 'POST':
|
||||||
if 'poweron' in request.POST:
|
if 'poweron' in request.POST:
|
||||||
if instance.is_template:
|
if instance.is_template:
|
||||||
|
|
Loading…
Reference in a new issue