Bug 1434781

Summary: Update brick_dirs of volume section to have absolute brick path from all the hosts
Product: [oVirt] cockpit-ovirt Reporter: SATHEESARAN <sasundar>
Component: GdeployAssignee: Devyani Kota <dkota>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 0.10.7-0.0.15CC: bugs, rbarry, sabose, seamurph, ylavi
Target Milestone: ovirt-4.1.1-1Keywords: Rebase
Target Release: 0.10.7-0.0.15Flags: rule-engine: ovirt-4.1?
rule-engine: blocker+
seamurph: planning_ack?
rbarry: devel_ack+
sasundar: testing_ack+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: cockpit-ovirt-0.10.7-0.0.15.el7ev Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-04-21 09:44:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1277939    

Description SATHEESARAN 2017-03-22 11:22:52 UTC
Description of problem:
-----------------------
gdeploy does the sorting of the hostnames because of which the arbiter host can't be determined by the order of listing under [hosts] section.

Gdeploy will fix the issue with this bug - https://bugzilla.redhat.com/show_bug.cgi?id=1434774

Till then volume section for arbiter volume should have the 'brick_dirs' having the absolute brick path from all the three hosts

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
ovirt-cockpit-plugin-0.10.7-0.0.15

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Populate the hosts in the descending order ( just to reproduce the issue ), listed either by IP or hostname

Actual results:
---------------
Arbiter brick is created on the first host, as gdeploy sorts the host by ascending order

Expected results:
------------------
generated gdeploy conf file to have the brick_dirs pointing to full brick path from all the hosts

Comment 2 SATHEESARAN 2017-04-03 17:09:35 UTC
Tested with cockpit-ovirt-dashboard-0.10.7-0.0.16.el7

brick_dirs option has got the absolute brick path name ( along with the hostname )