[2.2] VNC/SPICE graphical console for debugging purpose on libvirt pod created VMs
Bug #1688066 reported by
Nobuto Murata
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
Fix Released
|
Medium
|
Andres Rodriguez | ||
2.2 |
Fix Released
|
Medium
|
Unassigned |
Bug Description
VMs created by libvirt "pod" feature do not have any graphical console in libvirt xml definition. It would be nice if graphical console is enabled by default for debugging purpose in addition to serial.
The main purpose in my mind is to debug PXE boot related to some network issues.
Related branches
~andreserl/maas:2.2
- Andres Rodriguez (community): Approve
-
Diff: 44 lines (+10/-1)3 files modifieddocs/changelog.rst (+2/-0)
src/provisioningserver/drivers/pod/virsh.py (+7/-0)
versions.cfg (+1/-1)
~andreserl/maas:lp1688066
Merged
into
maas:master
- Blake Rouse (community): Approve
-
Diff: 18 lines (+7/-0)1 file modifiedsrc/provisioningserver/drivers/pod/virsh.py (+7/-0)
Changed in maas: | |
importance: | Undecided → Low |
milestone: | none → 2.3.0 |
status: | New → Triaged |
importance: | Low → Wishlist |
tags: | added: pod |
Changed in maas: | |
importance: | Wishlist → Low |
importance: | Low → Medium |
Changed in maas: | |
status: | In Progress → Fix Committed |
Changed in maas: | |
milestone: | 2.3.0 → 2.3.0alpha3 |
Changed in maas: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Hi, you can change xml definition at your discretion, just modify 'DOM_TEMPLATE' variable in: lib/python3/ dist-packages/ provisioningser ver/drivers/ pod/virsh. py
/usr/
by adding f.e:
<graphics type='vnc' port='-1' autoport='yes' listen='0.0.0.0'/>
and then restart maas services: service
$ sudo systemctl restart maas-regiond.
$ sudo systemctl restart maas-rackd.service
i think that's will OK for debugging purpose..
ps:
i'm stuck on the same issue.. so maybe it make sense to add such functionality to web ui?