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

Bug 1215663

Summary: Failed to deploy additional host with NFS storage
Product: Red Hat Enterprise Virtualization Manager Reporter: Artyom <alukiano>
Component: ovirt-hosted-engine-setupAssignee: Sandro Bonazzola <sbonazzo>
Status: CLOSED DUPLICATE QA Contact: meital avital <mavital>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: amureini, ecohen, gklein, lsurette, sbonazzo, ylavi
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: integration
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-05-06 11:11:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1101553, 1150087, 1178535    

Description Artyom 2015-04-27 12:09:14 UTC
Description of problem:
Failed to deploy additional host with NFS storage
Problem in this check under plugins/ovirt-hosted-engine-setup/storage/storage.py
if (
                    domain_info and
                    'remotePath' in domain_info and
                    'type' in domain_info and
                    domain_info['type'] in (
                        ohostedcons.VDSMConstants.NFS_DOMAIN,
                        ohostedcons.VDSMConstants.GLUSTERFS_DOMAIN,
                    ) and
                    self._removeNFSTrailingSlash(
                        domain_info['remotePath']
                    ) == self._removeNFSTrailingSlash(
                        self.environment[
                            ohostedcons.StorageEnv.STORAGE_DOMAIN_CONNECTION
                        ]
                    )
                ):
domain_info['type'] = 'NFS'
and ohostedcons.VDSMConstants.NFS_DOMAIN = 1
so I believe it enough to change constant under ohostedcons.VDSMConstants

Version-Release number of selected component (if applicable):
ovirt-hosted-engine-setup-1.3.0-0.0.master.20150401110307.git9665976.el7.noarch

How reproducible:
Always

Steps to Reproduce:
1. Deploy HE environment on host
2. Try to add additional host to HE environment
3. Deployment just not see that this additional host and try to add host like first one

Actual results:
Deployment just not see that this additional host and try to add host like first one

Expected results:
Deployment must recognize that storage not empty and give dialog with additional host

Additional info:

Comment 1 Artyom 2015-04-27 12:11:15 UTC
I believe problem exist only for NFS storage, under ISCSI we check vginfo

Comment 2 Allon Mureinik 2015-04-28 07:45:07 UTC
Sandro, isn't this the same issue we saw on gluster?

Comment 3 Sandro Bonazzola 2015-05-05 07:54:47 UTC
Yes it is.

Comment 4 Yaniv Lavi 2015-05-06 06:01:52 UTC
(In reply to Sandro Bonazzola from comment #3)
> Yes it is.

Can you close this one as duplicate?

Comment 5 Sandro Bonazzola 2015-05-06 11:11:09 UTC
closing as duplicate.

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