Bug 1158096 - Guest operating system of hosted engine VM is wrong
Summary: Guest operating system of hosted engine VM is wrong
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.5.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-3.6.2
: 3.6.2
Assignee: Roy Golan
QA Contact: Nikolai Sednev
URL:
Whiteboard: sla
Depends On: 1273378
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-28 14:57 UTC by Nikolai Sednev
Modified: 2016-01-31 10:42 UTC (History)
16 users (show)

Fixed In Version: ovirt-engine-3.6.2.6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-01-26 12:38:18 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
vdsm.log (10.24 MB, text/plain)
2014-10-29 12:39 UTC, Nikolai Sednev
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 51220 0 master MERGED core: make OsRepository injectable using @Inject 2016-01-11 13:37:32 UTC
oVirt gerrit 51221 0 master MERGED core: hosted-engine: set the os type to linux on import 2016-01-14 06:09:54 UTC
oVirt gerrit 51344 0 ovirt-engine-3.6 MERGED core: make OsRepository injectable using @Inject 2016-01-17 12:49:18 UTC
oVirt gerrit 51345 0 ovirt-engine-3.6 MERGED core: hosted-engine: set the os type to linux on import 2016-01-17 12:51:02 UTC
oVirt gerrit 51931 0 ovirt-engine-3.6.2 MERGED core: make OsRepository injectable using @Inject 2016-01-18 09:27:56 UTC
oVirt gerrit 51932 0 ovirt-engine-3.6.2 MERGED core: hosted-engine: set the os type to linux on import 2016-01-18 09:28:28 UTC

Description Nikolai Sednev 2014-10-28 14:57:17 UTC
Description of problem:
HE's operating system type shown incorrectly and can't be changed via WEBUI.

Version-Release number of selected component (if applicable):
rhevm-3.5.0-0.17.beta.el6ev.noarch
qemu-kvm-rhev-0.12.1.2-2.448.el6.x86_64
ovirt-hosted-engine-setup-1.2.1-1.el6ev.noarch
libvirt-0.10.2-46.el6_6.1.x86_64
ovirt-hosted-engine-ha-1.2.4-1.el6ev.noarch
vdsm-4.16.7.1-1.el6ev.x86_64
sanlock-2.8-1.el6.x86_64
ovirt-host-deploy-1.3.0-1.el6ev.noarch


How reproducible:
100%

Steps to Reproduce:
1.Deploy HE on one host.
2.Log in to WEBUI and point cursor to "virtual machines"->"Hosted Engine".
3.Check what's written under "General" tab->"Operating System:".
4.Try to modify the OS type, you won't succeed, as HE-VM is not editable or managed by the engine.

Actual results:
OS type shown incorrectly in WEBUI of HE and can't be changed.

Expected results:
OS type should be changed via CLI/prompt or WEBUI should be aware of its type.

Additional info:

Comment 1 Doron Fediuck 2014-10-29 07:31:39 UTC
Did you install guest agent in the VM?
Can you please provide the relevant vdsm log?

Comment 2 Nikolai Sednev 2014-10-29 12:37:58 UTC
(In reply to Doron Fediuck from comment #1)
> Did you install guest agent in the VM?
> Can you please provide the relevant vdsm log?

No I didn't installed guest-agent.
vdsm attached.

Comment 3 Nikolai Sednev 2014-10-29 12:39:03 UTC
Created attachment 951764 [details]
vdsm.log

Comment 4 Doron Fediuck 2014-11-03 23:04:36 UTC
The HE VM attributes are mostly read only and cannot be changed.
Going forward we'll allow to modify some of it (still unsure if we'll
allow to change the OS type).

Comment 5 Sandro Bonazzola 2015-10-26 12:33:38 UTC
this is an automated message. oVirt 3.6.0 RC3 has been released and GA is targeted to next week, Nov 4th 2015.
Please review this bug and if not a blocker, please postpone to a later release.
All bugs not postponed on GA release will be automatically re-targeted to

- 3.6.1 if severity >= high
- 4.0 if severity < high

Comment 6 Doron Fediuck 2015-11-02 11:51:37 UTC
Please verify on 3.6.0.

Comment 7 Nikolai Sednev 2015-11-25 08:02:42 UTC
Can't reproduce as HE-VM not shown in WEBUI after HE was deployed and SD for VMs is attached.

Comment 8 Nikolai Sednev 2015-12-13 16:06:13 UTC
At components as described bellow, the HE-VM's OS type still shown incorrectly "Other OS" instead of RHEL6.x. If editing the engine via WEBUI and setting it's OS to different, then it's being displayed correctly, but VM shown as "Desktop with newer configuration for next run" and then this symbol does not disappear even after engine restarted via CLI (hosted-engine --vm-poweroff and then  hosted-engine --vm-start).

Host:  
ovirt-vmconsole-host-1.0.1-0.0.master.20151105234454.git3e5d52e.el7.noarch
ovirt-release36-002-2.noarch
sanlock-3.2.4-1.el7.x86_64
ovirt-hosted-engine-ha-1.3.3.3-1.20151211131547.gitb84582e.el7.noarch
ovirt-setup-lib-1.0.1-0.0.master.20151126203321.git2da7763.el7.centos.noarch
ovirt-engine-sdk-python-3.6.1.1-0.1.20151127.git2400b22.el7.centos.noarch
ovirt-vmconsole-1.0.1-0.0.master.20151105234454.git3e5d52e.el7.noarch
ovirt-release36-snapshot-002-2.noarch
mom-0.5.1-2.el7.noarch
qemu-kvm-rhev-2.3.0-31.el7_2.5.x86_64
ovirt-hosted-engine-setup-1.3.2-0.0.master.20151209094106.gitce16937.el7.centos.noarch
vdsm-4.17.13-1.git5bc7781.el7.centos.noarch
ovirt-host-deploy-1.4.2-0.0.master.20151122153544.gitfc808fc.el7.noarch
libvirt-client-1.2.17-13.el7_2.2.x86_64
Linux version 3.10.0-327.el7.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Oct 29 17:29:29 EDT 2015


Engine:
ovirt-host-deploy-java-1.4.1-1.el6ev.noarch
ovirt-vmconsole-1.0.0-1.el6ev.noarch
ovirt-host-deploy-1.4.1-1.el6ev.noarch
ovirt-vmconsole-proxy-1.0.0-1.el6ev.noarch
ovirt-engine-extension-aaa-jdbc-1.0.4-1.el6ev.noarch
rhevm-3.6.1.3-0.1.el6.noarch
Linux version 2.6.32-573.8.1.el6.x86_64 (mockbuild.eng.bos.redhat.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-16) (GCC) ) #1 SMP Fri Sep 25 19:24:22 EDT 2015

Comment 9 Nikolai Sednev 2016-01-25 11:24:01 UTC
Guest OS of HE shown as "Operating System: Linux", it should be shown as "Red Hat Enterprise Linux 6.x x64.

If changing it manually via "Edit" of imported HE-VM, then this error message is received:
"Error while executing action:

HostedEngine:

    Cannot edit Virtual Machine Disk. This VM is not managed by the engine".

Engine's components:
rhevm-3.6.2.6-0.1.el6.noarch

Comment 10 Roy Golan 2016-01-25 19:24:34 UTC
Linux is common enough for all our installation, Centos, Fedora and RHEL for ovirt-engine. Unless there is something which is specific you want from RHEL os id, why is this bug failed?

Comment 11 Doron Fediuck 2016-01-26 12:38:18 UTC
Linux is perfectly fine.
Closing based on comment 9.


Note You need to log in before you can comment on or make changes to this bug.