Description of problem: When the system is upgraded from RHEV-M 3.5.6 to RHEV-M 3.6.1 all running VMs have console set to SPICE+VNC. Version-Release number of selected component (if applicable): rhevm-3.6.1.3-0.1.el6.noarch How reproducible: 100% Steps to Reproduce: 1.upgrade 3.5 to 3.6 Actual results: The console is set to spice+vnc. In case the console was set to vnc before the upgrade. The attempt to open the console fails as engine opens spice connection to vnc port. Expected results: The console configuration is inherited from the previous version.
is it set in the VM properties or just the frontend?
(In reply to Michal Skrivanek from comment #1) > is it set in the VM properties or just the frontend? Only frontend.
so, for the timebeing you can workaround it by selecting "vnc" in Console Options, right? https://gerrit.ovirt.org/#/c/48855 fixed the Edit dialog...but we need to check it fixes the connection as well
Tested upgrade form 3.5.7 to 3.6.2 Did not reproduce
(In reply to Israel Pinto from comment #5) > Tested upgrade form 3.5.7 to 3.6.2 > Did not reproduce This is the flow we did: 1) Create VM1 with VNC console before the upgrade on 3.5.7 2) Upgrade to 3.6 - 3.6.2-0.1.el6 3) After the upgrade the console of the VM1 still VNC Roman, Is this the correct scenario? do I need to try anything else?
(In reply to meital avital from comment #6) > (In reply to Israel Pinto from comment #5) > > Tested upgrade form 3.5.7 to 3.6.2 > > Did not reproduce > > This is the flow we did: > > 1) Create VM1 with VNC console before the upgrade on 3.5.7 > > 2) Upgrade to 3.6 - 3.6.2-0.1.el6 > > 3) After the upgrade the console of the VM1 still VNC > > Roman, Is this the correct scenario? do I need to try anything else? It is our production environment so we did not create any VMs. They were already running there. We just ran upgrade from 3.5.5 to 3.5.6 (latest available version at that time) and then upgrade to 3.6 beta2 The issue is obviously only on running vms.
missed 3.6.2. Somehow bot reset pm_ack, please re-ack
(In reply to Michal Skrivanek from comment #8) > missed 3.6.2. Somehow bot reset pm_ack, please re-ack I put in the request to stop the bot from doing pm ack reset on component change, should happen soon.
Roman, I understand that it happened only for running VMs but did it happen for all running VMs? is there any chance that the VMs were added with SPICE and actually ran with VNC (it is possible if they run in run-once mode or via rest-api where you specify the configuration when running the vm) or vice-versa?
(In reply to Arik from comment #10) > Roman, I understand that it happened only for running VMs but did it happen > for all running VMs? is there any chance that the VMs were added with SPICE > and actually ran with VNC (it is possible if they run in run-once mode or > via rest-api where you specify the configuration when running the vm) or > vice-versa? We reproduce the issue: Upgrade form 3.5.7 to 3.6.2.6-0.1 1. Create VM with display SPICE - vm_spice 2. Create VM with display VNC - vm_vnc 3. Run vm_spice with Run Once and set display to VNC 4. Run vm_vnc with Run Once 5. Upgrade engine to 3.6.2.6-0.1 After upgrade the Graphics protocol is change to SPICE+VNC to both VMs Can't open console got error for both VMs: Unable to connect to the graphic server (null) Could not connect to 10.35.161.159: No route to host adding engine and vdsm logs
Created attachment 1118038 [details] vdsm_log
Created attachment 1118039 [details] engine_log
Created attachment 1118101 [details] console_error
Created attachment 1118102 [details] vms_after_upgrade_spice_and_vnc
Verify on: 3.6: RHEVM Version: 3.6.3-0.1.el6 3.5: RHEVM:3.5.7-0.1.el6ev Scenario: In 3.5: 1. Create VM with SPICE console: vm_spice 2. Create with VNC console: vm_vnc 3. Run vm_spice with run once and update console to VNC 4. Run vm_vnc with run once 5. Verify the both consoles are opened 6. Upgrade engine from 3.5 to 3.6 7. Check that after upgrade both consoles are opened and 'Graphics protocol' stay VNC In 3.6: 8. Migration both VM to 3.6 host 9. Check that after migration both consoles are opened and Graphics protocol stay VNC Results: After upgrade: both consoles opened -- PASS After migration: both consoles opened -- PASS
(In reply to Arik from comment #10) > Roman, I understand that it happened only for running VMs but did it happen > for all running VMs? is there any chance that the VMs were added with SPICE > and actually ran with VNC (it is possible if they run in run-once mode or > via rest-api where you specify the configuration when running the vm) or > vice-versa? I happened to all VMs. I do not believe that all the VMs were started as run ones.
3.6.3 was GA, closing