action #45671
open
Improve "developer mode" connection hint for non-qemu remote machines
Added by okurz almost 6 years ago.
Updated over 4 years ago.
Category:
Feature requests
This instruction is highly depended on the worker/backend. So the instruction should be provided by the worker or backend and only be displayed by the web UI.
So maybe allow an os-autoinst backend to provide that instruction? But the backend might not have all the required information, too. We could also put the instruction in the worker config to make it completely configurable. The worker config is generated via salt and I guess on that level we have all the information about our setup we need to generate the message.
- Related to action #36442: Access to running SUTs for System Developers added
found out something.
https://openqa.suse.de/tests/3654170 is a hyperv job also using Xvnc. bringing the job into developer mode showed the – we know that already – wrong hint that VNC would be available on "VNC port: 109". However as I saw that the assigned worker is "openqaworker2:19" I logged into openqaworker2 and looked up the processes for this worker instance. I could find
_openqa+ 9436 0.0 0.0 301304 227192 ? Ss Nov27 1:23 /usr/bin/perl /usr/share/openqa/script/worker --instance 19
_openqa+ 14187 0.4 0.0 292900 196712 ? S 10:55 0:11 \_ perl /usr/bin/isotovideo -d
_openqa+ 14194 0.0 0.0 137512 52996 ? S 10:55 0:00 \_ /usr/bin/isotovideo: comman
_openqa+ 14208 0.4 0.0 1059484 244884 ? Sl 10:55 0:10 \_ /usr/bin/isotovideo: autote
_openqa+ 14209 10.6 0.1 3313676 445164 ? Sl 10:55 4:30 \_ /usr/bin/isotovideo: backen
_openqa+ 14240 1.5 0.0 805004 57092 ? SNl 10:55 0:39 | \_ /usr/lib/os-autoinst/videoencoder /var/lib/openqa/pool/19/video.ogv
_openqa+ 14256 0.0 0.0 1379128 51632 ? Sl 10:55 0:01 | \_ Xvnc -depth 16 -inetd -SecurityTypes None -ac :58763
_openqa+ 14326 0.0 0.0 1379128 52180 ? Sl 10:55 0:01 | \_ Xvnc -depth 16 -inetd -SecurityTypes None -ac :60531
_openqa+ 14277 0.0 0.0 103240 12604 ? S 10:55 0:00 \_ icewm -c /usr/lib/os-autoinst/consoles/icewm.cfg
_openqa+ 14279 0.1 0.0 71160 11136 ? S 10:55 0:03 \_ xterm -fn lat9w-16 -fullscreen +sb -b 0 -bc -uc -bcf 200 -bcn 200 +bdc -xrm xterm*boldMode: false -xrm xterm*foreground: rgb:aa/aa/aa -xrm xterm*backgro
_openqa+ 14280 0.0 0.0 13588 3196 pts/7 Ss+ 10:55 0:00 | \_ bash -c TERM=xterm ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PubkeyAuthentication=no root@openqaw7-hyperv.qa.suse.de; read
_openqa+ 14281 0.0 0.0 38356 5436 pts/7 S+ 10:55 0:00 | \_ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PubkeyAuthentication=no root@openqaw7-hyperv.qa.suse.de
_openqa+ 14351 0.0 0.0 103240 12396 ? S 10:55 0:00 \_ icewm -c /usr/lib/os-autoinst/consoles/icewm.cfg
_openqa+ 14353 0.1 0.0 71160 11192 ? S 10:55 0:04 \_ xterm -fn lat9w-16 -fullscreen +sb -b 0 -bc -uc -bcf 200 -bcn 200 +bdc -xrm xterm*boldMode: false -xrm xterm*foreground: rgb:aa/aa/aa -xrm xterm*backgro
_openqa+ 14354 0.0 0.0 13588 3280 pts/12 Ss+ 10:55 0:00 \_ bash -c TERM=xterm ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PubkeyAuthentication=no root@openqaw5-xen-1.qa.suse.de; read
_openqa+ 14355 0.0 0.0 38356 5408 pts/12 S+ 10:55 0:00 \_ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o PubkeyAuthentication=no root@openqaw5-xen-1.qa.suse.de
now lsof on the backend process returned what is a VNC connection:
lsof -p 14209
…
/usr/bin/ 14209 _openqa-worker 14u IPv4 2150819160 0t0 TCP localhost:55108->localhost:58763 (ESTABLISHED)
/usr/bin/ 14209 _openqa-worker 15u IPv4 2149886973 0t0 TCP localhost:39254->localhost:60531 (ESTABLISHED)
/usr/bin/ 14209 _openqa-worker 17u IPv4 2150824116 0t0 TCP openqaworker2.suse.de:38932->10.162.2.101:ssh (ESTABLISHED)
/usr/bin/ 14209 _openqa-worker 19u IPv4 2150827852 0t0 TCP openqaworker2.suse.de:50216->openqaw5-xen-1.qa.suse.de:ssh (ESTABLISHED)
/usr/bin/ 14209 _openqa-worker 21u IPv4 2150399731 0t0 TCP openqaworker2.suse.de:39424->openqaw5-xen-1.qa.suse.de:5903 (ESTABLISHED)
the last one looks from the numbers like VNC and I could connect with vncviewer -Shared openqaw5-xen-1.qa.suse.de:5903
- Priority changed from Normal to Low
- Target version set to future
Also available in: Atom
PDF