Bug 1215663 - Failed to deploy additional host with NFS storage
Summary: Failed to deploy additional host with NFS storage
Keywords:
Status: CLOSED DUPLICATE of bug 1213307
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-hosted-engine-setup
Version: 3.6.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: 3.6.0
Assignee: Sandro Bonazzola
QA Contact: meital avital
URL:
Whiteboard: integration
Depends On:
Blocks: 1101553 1150087 1178535
TreeView+ depends on / blocked
 
Reported: 2015-04-27 12:09 UTC by Artyom
Modified: 2015-05-06 11:11 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-05-06 11:11:09 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 40503 0 None None None Never

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 ***


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