Bug 1327516 - Infinite loop trying to fix remote path on glusterFS storage domain
Summary: Infinite loop trying to fix remote path on glusterFS storage domain
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-ha
Classification: oVirt
Component: Agent
Version: 1.3.5.3
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ovirt-3.6.6
: 1.3.5.5
Assignee: Simone Tiraboschi
QA Contact: Artyom
URL:
Whiteboard: integration
Depends On:
Blocks: 1298693 1327121 1331526 1333143 1361547
TreeView+ depends on / blocked
 
Reported: 2016-04-15 09:50 UTC by Simone Tiraboschi
Modified: 2016-07-29 11:54 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-05-30 10:54:24 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-3.6.z+
rule-engine: blocker+
ylavi: planning_ack+
sbonazzo: devel_ack+
gklein: testing_ack+


Attachments (Terms of Use)
setup log (447.58 KB, text/plain)
2016-05-10 10:23 UTC, Artyom
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1317699 0 high CLOSED Hosted engine on Gluster prevents additional non-ha hosts being added 2021-02-22 00:41:40 UTC
oVirt gerrit 56186 0 master MERGED storage: correctly evaluate glusterfs SD canonical path 2016-04-28 10:27:16 UTC
oVirt gerrit 56797 0 ovirt-hosted-engine-ha-1.3 MERGED storage: correctly evaluate glusterfs SD canonical path 2016-05-02 11:49:06 UTC
oVirt gerrit 56925 0 master MERGED storage: correctly evaluate NFS SD canonical path 2016-05-02 15:41:08 UTC
oVirt gerrit 56926 0 ovirt-hosted-engine-ha-1.3 MERGED storage: correctly evaluate NFS SD canonical path 2016-05-02 15:40:28 UTC

Internal Links: 1317699

Description Simone Tiraboschi 2016-04-15 09:50:37 UTC
Description of problem:
In the past we let the user specify a path for file based (NFS or gluster) storage domains which includes a trailing '/'. This caused other issues (double mount point when the engine import it) and so we had a patch to evaluate the canonical path and eventually fix the mount point in the configuration file before trying again to connect it. Due to a bug in the evaluation of the canonical path for gluster volumes, it was looping forever on gluster deployed systems.


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

How reproducible:
100%

Steps to Reproduce:
1. deploy ovirt-hosted-engine on gluster
2. 
3.

Actual results:
ovirt-ha-agent is looping trying to fix gluster path in /etc/ovirt-hosted-engine/hosted-engine.conf

Expected results:
It should just fix once if and only if the entered path includes a trailing '/'

Additional info:

Comment 1 Simone Tiraboschi 2016-04-15 09:54:52 UTC
Also https://bugzilla.redhat.com/show_bug.cgi?id=1317699 can cause a simile behavior.

Comment 2 Artyom 2016-05-10 10:23:46 UTC
Created attachment 1155656 [details]
setup log

Verified on ovirt-hosted-engine-setup-1.3.6.1-1.el7ev.noarch
1) Deploy HE on the first host over glusterfs storage
2) Deploy HE on the additional host


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