Hello everybody.
Apologies if this question has been brought up before. I did a search but couldn't find any answer to this particular problem I'm facing.
So, I have a Proxmox 6.2 up and running, and a VM running Windows.
I have manually setup a serial device (serial0) /dev/ttyS0 to give the VM straight access to my server's physical serial port.
If I try opening up the server's console using the right-click menu, it opens up console window, but not the one expected. It's attempting to access a serial connection of some sort, causing it to fail with "Connection failed (code: 1006)" and a single line of text that reads: "unable to find a serial interface"
The URL that's being opened in the console window is:
https://<server name>:8006/?console=kvm&xtermjs=1&vmid=<ID number>&vmname=<VM name>&node=<Proxmox server name>&cmd=
Other VM's that don't have a serial port set up at all, the console opens up as expected and its URL looks like this:
https://<server name>:8006/?console=kvm&novnc=1&vmid=<ID number>&vmname=<VM name>&node=<Proxmox server name>&resize=off&cmd=
Note the bold+italic text that shows the difference.
I can access the correct console by modifying the URL with &novnc=1 in the address bar to point to the VM that has serial device set, but that's a kind of a dirty "hack".
Steps to reproduce this behavior is as follows:
1. Power off the VM.
2. Modify VM's config file, manually adding a serial device (serial0) that points to /dev/ttySx
3. Power on the VM.
4. Attempt to access the VM console from the right-click menu. It should fail.
Removing the serial device will give you a novnc console.
Does this count as expected behavior or a bug of some sort? This behavior didn't occur in Proxmox VE 5.x.
Apologies if this question has been brought up before. I did a search but couldn't find any answer to this particular problem I'm facing.
So, I have a Proxmox 6.2 up and running, and a VM running Windows.
I have manually setup a serial device (serial0) /dev/ttyS0 to give the VM straight access to my server's physical serial port.
If I try opening up the server's console using the right-click menu, it opens up console window, but not the one expected. It's attempting to access a serial connection of some sort, causing it to fail with "Connection failed (code: 1006)" and a single line of text that reads: "unable to find a serial interface"
The URL that's being opened in the console window is:
https://<server name>:8006/?console=kvm&xtermjs=1&vmid=<ID number>&vmname=<VM name>&node=<Proxmox server name>&cmd=
Other VM's that don't have a serial port set up at all, the console opens up as expected and its URL looks like this:
https://<server name>:8006/?console=kvm&novnc=1&vmid=<ID number>&vmname=<VM name>&node=<Proxmox server name>&resize=off&cmd=
Note the bold+italic text that shows the difference.
I can access the correct console by modifying the URL with &novnc=1 in the address bar to point to the VM that has serial device set, but that's a kind of a dirty "hack".
Steps to reproduce this behavior is as follows:
1. Power off the VM.
2. Modify VM's config file, manually adding a serial device (serial0) that points to /dev/ttySx
3. Power on the VM.
4. Attempt to access the VM console from the right-click menu. It should fail.
Removing the serial device will give you a novnc console.
Does this count as expected behavior or a bug of some sort? This behavior didn't occur in Proxmox VE 5.x.