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

Bug 1332813

Summary: Deprecate the ISO domain setup on the RHEV-M machine (hide it in 4.0)
Product: Red Hat Enterprise Virtualization Manager Reporter: nijin ashok <nashok>
Component: ovirt-engineAssignee: Simone Tiraboschi <stirabos>
Status: CLOSED CURRENTRELEASE QA Contact: meital avital <mavital>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.6.5CC: alukiano, amureini, dfediuck, gklein, lsurette, msivak, rbalakri, rgolan, Rhev-m-bugs, sbonazzo, srevivo, tnisan, ykaul, ylavi
Target Milestone: ovirt-4.0.4Keywords: Reopened
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-31 11:53:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description nijin ashok 2016-05-04 06:57:28 UTC
Description of problem:

If one of the host go down where the HE VM is running, the other hypervisor will not start the  VM automatically if the iso domain is configured on the RHEV-M VM. It will be stuck in the below stage according to the engine log.

MainThread::INFO::2016-05-04 04:19:40,638::ovf_store::109::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF) Extracting Engine VM OVF from the OVF_STORE


From the code, it seems that getEngineVMOVF is trying to access /rhev/data-center/mnt/* 

  volume_path = os.path.join(
        volume_path,
        '*',
        sd_uuid,
        'images',
        img_uuid,
        vol_uuid,
    )
    volumes = glob.glob(volume_path)

The iso domain is also mounted under /rhev/data-center/mnt/<nfs-path> . Since NFS server is running in the RHEV-M VM, this path /rhev/data-center/mnt/<nfs-path> will not be accessible and the process get hanged if we access this path. Hence ha-agent will also hang as it try to  access /rhev/data-center/mnt/* . Therefore failover doesn't works.       

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

RHEV 3.6.5
ovirt-hosted-engine-setup-1.3.5.0-1.el7ev.noarch
ovirt-hosted-engine-ha-1.3.5.3-1.el7ev.noarch


How reproducible:
100%

Steps to Reproduce:
1. Create a two node HE setup

2. Create an NFS export within the  RHEV-M VM and add this as an iso domain from the RHEV admin portal

3. Power off the host where the HE VM is running.

4. HE VM will not start automatically and the agent log will be stuck with below logs

MainThread::INFO::2016-05-04 04:19:40,638::ovf_store::109::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF) Extracting Engine VM OVF from the OVF_STORE



Actual results:

HE VM is not automatically starting in the other HE host

Expected results:

HE VM should failover automatically.

Additional info:

Comment 1 Martin Sivák 2016-05-04 08:04:23 UTC

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

Comment 5 Roy Golan 2016-05-08 08:14:31 UTC
Sandro the appliance is the main installation method and using ISO is less used. Do you want to still support that method of installatino? if so i recommend to put the ISO on one of the installing host. What do you think?

Comment 6 Tal Nisan 2016-05-08 12:03:12 UTC
So iiuc we need to block adding ISO domain both in the setup and in the backend, is that correct?

Comment 7 Roy Golan 2016-05-09 11:39:27 UTC
Not to block at the engine cause there might be iso domains already configured for some users already or if someone really wants an iso domain configured on the engine (let say non-appliance users probably) so its ok. Once we will exclude it from the setup it will diminish. But I do suggest doing it now.

Comment 8 Tal Nisan 2016-05-10 11:20:16 UTC
OK, Sandro since it's setup related can your team take care of it?

Comment 9 Allon Mureinik 2016-05-22 12:33:42 UTC
Yaniv - do we still want this for 4.0? We don't have a good replacement for the ISO domain YET.

Comment 10 Yaniv Lavi 2016-05-22 12:41:09 UTC
(In reply to Allon Mureinik from comment #9)
> Yaniv - do we still want this for 4.0? We don't have a good replacement for
> the ISO domain YET.

It's the setup on the engine machine, not the domain in general.

Comment 12 Simone Tiraboschi 2016-07-29 13:11:50 UTC
If the user chooses the appliance flow we are already skipping the NFS ISO storage domain configuration.
If the user manually executes engine-setup, the setup it's still asking but since rhbz#1317947 the default is now to skip it.
Yaniv, is this enough to close this?

Comment 13 Yaniv Lavi 2016-07-31 11:53:13 UTC
(In reply to Simone Tiraboschi from comment #12)
> If the user chooses the appliance flow we are already skipping the NFS ISO
> storage domain configuration.
> If the user manually executes engine-setup, the setup it's still asking but
> since rhbz#1317947 the default is now to skip it.
> Yaniv, is this enough to close this?

Looks good, closing.