Bug 1254748

Summary: ovirt 3.6 beta 2: The engine VM not present in webui
Product: [oVirt] ovirt-engine Reporter: wodel <wodel.youchi>
Component: Frontend.WebAdminAssignee: Roy Golan <rgolan>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: medium Docs Contact:
Priority: unspecified    
Version: ---CC: amureini, bugs, dfediuck, ecohen, gklein, ian, lsurette, mgoldboi, rbalakri, rgolan, sbonazzo, wodel.youchi, yeylon
Target Milestone: ---Flags: ylavi: ovirt-3.6.0?
ylavi: planning_ack?
ylavi: devel_ack?
ylavi: testing_ack?
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard: sla
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-26 09:47:09 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:
Attachments:
Description Flags
ovirt logs none

Description wodel 2015-08-18 18:44:59 UTC
Description of problem:

I did several installations of the ovirt hosted-engine using NFS4 as storage for the engine's VM and for all data domains (data, iso and export).

At the end of the installation, the engine VM is started but it is not present on webui, even after adding data domain and bringing up the Datacenter.

I disabled firewalling and SELinux everywhere, but it didn't change anything.

Version-Release number of selected component (if applicable):

3.6 beta 2

How reproducible:

always

Steps to Reproduce:
1. Install ovirt hosted-engine


Actual results:

No engine VM on webui 

Expected results:

The engine VM present on the webui

Additional info:

Comment 1 Roy Golan 2015-08-19 13:15:02 UTC
Please supply engine logs logcollector from the host. Thanks.

Comment 2 wodel 2015-08-20 17:49:08 UTC
Created attachment 1065352 [details]
ovirt logs

Hi, 

here some logs of ovirt, from the hypervisor and from the VM engine.

Could you explain what is "logcollector"?

Regards

Comment 3 Roy Golan 2015-09-17 11:22:52 UTC
Sorry I meant sosreport but anyway the logs which you supplied are perfect.

From the engine.log I see the engine is trying to make the host SPM. After that the log is truncated. 

If the problem persist, can you reattach the current engine log ?

Comment 4 wodel 2015-09-17 12:19:54 UTC
Hi,

I did retest with ovirt 3.6 beta 5, still the same problem, no VM engine on webui,

however, this time I tested with the Beta4, then I just updated packages, I didn't redeploy from the beginning, just dnf update on hypervisor, restart vdsmd ovirt-ha-agent and ovirt-ha-brocker and the same on the VM engine with engine-setup after update.


The thing is, every time I try to added the hosted_storage to the datacenter (Default), the VM engine crashs completely, I think this is why the engine's  log is truncated.

Comment 5 ian 2015-09-18 09:22:56 UTC
I am having the same problem. Let me know if need anything from me.

Comment 6 Roy Golan 2015-10-11 12:32:18 UTC
(In reply to wodel from comment #4)
> Hi,
> 
> I did retest with ovirt 3.6 beta 5, still the same problem, no VM engine on
> webui,
> 
> however, this time I tested with the Beta4, then I just updated packages, I
> didn't redeploy from the beginning, just dnf update on hypervisor, restart
> vdsmd ovirt-ha-agent and ovirt-ha-brocker and the same on the VM engine with
> engine-setup after update.
> 
> 
> The thing is, every time I try to added the hosted_storage to the datacenter
> (Default), the VM engine crashs completely, I think this is why the engine's
> log is truncated.


The import causing the crash is now fixed, see bug 1261996 (you'll have it in nightly build)

After that you will be able to import the domain and see the VM.

If you can try the nightly it will be great.

Comment 7 wodel 2015-10-11 20:26:32 UTC
Hi,

It didn't work for me, 

- I added ovirt 3.6 snapshot to my repo
- I installed the most recent packages.
- Execute engine-setup
- Import hosted_storage -> VM crashes 

When restarted the hosted_storage still unattached.

I tried to do the same using the REST api, the same result.

All I got on webui is this message before collapse : Uncaught exception occurred. Please try reloading the page. Details: Index: 0, Size: 0 

May be I am not using the minimum requirements to test this version !!!

- one hypervisor
- one NIC card
- FC22 for both hypervisor and VM engine
- NFS 4 storage
- 2Gb RAM for the VM engine

this is my nfs4 config
/home/ovirt             192.168.1.0/24(fsid=0,rw,insecure,sync,wdelay,no_subtree_check,all_squash,anonuid=36,anongid=36)
/home/ovirt/vmengine    192.168.1.0/24(rw,insecure,sync,wdelay,no_subtree_check,nohide,all_squash)
/home/ovirt/export      192.168.1.0/24(rw,insecure,sync,wdelay,no_subtree_check,nohide,all_squash)
/home/ovirt/iso         192.168.1.0/24(rw,insecure,sync,wdelay,no_subtree_check,nohide,all_squash)
/home/ovirt/vms         192.168.1.0/24(rw,insecure,sync,wdelay,no_subtree_check,nohide,all_squash)

Comment 8 Red Hat Bugzilla Rules Engine 2015-10-19 10:52:01 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 9 Sandro Bonazzola 2015-10-26 12:29:14 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 10 Sandro Bonazzola 2015-11-05 08:20:42 UTC
oVirt 3.6.0 has been released on November 4th, re-targeting to 4.0 since this bug has been marked with severity < high

Comment 11 Red Hat Bugzilla Rules Engine 2015-11-16 14:07:53 UTC
This bug is flagged for 3.6, yet the milestone is for 4.0 version, therefore the milestone has been reset.
Please set the correct milestone or add the flag.

Comment 12 Red Hat Bugzilla Rules Engine 2015-11-18 12:32:32 UTC
This bug is not marked for z-stream, yet the milestone is for a z-stream version, therefore the milestone has been reset.
Please set the correct milestone or add the z-stream flag.

Comment 13 Doron Fediuck 2015-11-26 09:47:09 UTC
Let's focus on a single issue. This was already reported as Bug 1274294.

*** This bug has been marked as a duplicate of bug 1274294 ***