Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1441570

Summary: After hosted engine upgrade from 4.1.0 to 4.1.1 the ability to connect to the vm via console is lost
Product: [oVirt] ovirt-hosted-engine-ha Reporter: Jenny Tokar <jtokar>
Component: AgentAssignee: Jenny Tokar <jtokar>
Status: CLOSED CURRENTRELEASE QA Contact: Nikolai Sednev <nsednev>
Severity: high Docs Contact:
Priority: high    
Version: 2.1.0.5CC: bugs
Target Milestone: ovirt-4.1.2Keywords: Triaged
Target Release: 2.1.0.6Flags: rule-engine: ovirt-4.1+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Cause: When the ovf file was converted to vm.conf the graphics device was not converted. Consequence: There was no way to access the hosted engine vm via console from engine ui. Fix: Convert the graphical device when converting the ovf. Result: The hosted engine vm is accessible via console from engine ui.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-05-23 08:20:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: SLA RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1446586    

Description Jenny Tokar 2017-04-12 08:51:34 UTC
Description of problem:

After hosted engine upgrade from 4.1.0 to 4.1.1 the console button in the ui is greyed out and there is no graphical device in the vm.conf file.  

How reproducible:
50%

Steps to Reproduce:
1. Have a hosted engine setup with 4.1.0
2. Upgrade to 4.1.1

Actual results:
The console button is greyed out in the engine ui. 
There is no graphical device in vm.conf. 

Expected results:
The console button is available.

Comment 1 Red Hat Bugzilla Rules Engine 2017-04-18 09:23:06 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 2 Jenny Tokar 2017-04-18 12:16:44 UTC
After further investigation the bug is not directly related to upgrade.
The reproduction of the bug depends on whether the vm was started using conf file with or without graphical device. 

If the vm is started with the original conf file (not converted from ovf) the console is available.
If the vm is started with the conf file that was converted from the ovf the console is unavailable.

Comment 3 Nikolai Sednev 2017-04-27 14:12:14 UTC
Works for me after upgrading from rhv-release-4.1.0-12-001 to latest rhv-release-4.1.2-1-001.
Components on host after upgrade:
ovirt-vmconsole-host-1.0.4-1.el7ev.noarch
qemu-kvm-rhev-2.6.0-28.el7_3.9.x86_64
ovirt-imageio-daemon-1.0.0-0.el7ev.noarch
ovirt-setup-lib-1.1.0-1.el7ev.noarch
sanlock-3.4.0-1.el7.x86_64
libvirt-client-2.0.0-10.el7_3.5.x86_64
ovirt-vmconsole-1.0.4-1.el7ev.noarch
mom-0.5.9-1.el7ev.noarch
vdsm-4.19.11-1.el7ev.x86_64
ovirt-hosted-engine-ha-2.1.0.5-1.el7ev.noarch
ovirt-host-deploy-1.6.3-1.el7ev.noarch
ovirt-engine-sdk-python-3.6.9.1-1.el7ev.noarch
ovirt-imageio-common-1.0.0-0.el7ev.noarch
ovirt-hosted-engine-setup-2.1.0.5-1.el7ev.noarch
Linux version 3.10.0-514.16.1.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Fri Mar 10 13:12:32 EST 2017
Linux 3.10.0-514.16.1.el7.x86_64 #1 SMP Fri Mar 10 13:12:32 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.3 (Maipo)

Engine:
rhevm-doc-4.1.2-1.el7ev.noarch
rhevm-dependencies-4.1.1-1.el7ev.noarch
rhev-guest-tools-iso-4.1-5.el7ev.noarch
rhevm-branding-rhev-4.1.0-1.el7ev.noarch
rhevm-setup-plugins-4.1.1-1.el7ev.noarch
rhevm-4.1.2-0.1.el7.noarch
Linux version 3.10.0-514.16.1.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Fri Mar 10 13:12:32 EST 2017
Linux 3.10.0-514.16.1.el7.x86_64 #1 SMP Fri Mar 10 13:12:32 EST 2017 x86_64 x86_64 x86_64 GNU/Linux
Red Hat Enterprise Linux Server release 7.3 (Maipo)