Bug 1257099 - gdeploy: checks missing for brick mounts when there are existing physical volumes
Summary: gdeploy: checks missing for brick mounts when there are existing physical vol...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: core
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.1.1
Assignee: Nandaja Varma
QA Contact: Anush Shetty
URL:
Whiteboard:
Depends On:
Blocks: 1251815
TreeView+ depends on / blocked
 
Reported: 2015-08-26 09:46 UTC by Anush Shetty
Modified: 2016-09-17 14:40 UTC (History)
4 users (show)

Fixed In Version: gdeploy-1.0-7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-05 07:24:40 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1845 0 normal SHIPPED_LIVE Moderate: Red Hat Gluster Storage 3.1 update 2015-10-05 11:06:22 UTC

Description Anush Shetty 2015-08-26 09:46:38 UTC
Description of problem: When there are existing (old) Physical Volumes on hosts, gdeploy assumes that the backend brick setup is complete. If the succeeding steps involve volume create, and the brick mounts are missing, the volume gets created with bricks on root partition.


Version-Release number of selected component (if applicable): gdeploy-1.0-6.el7rhgs.noarch.rpm

 
How reproducible: Always


Steps to Reproduce:
1. Provide hosts and devices over which pvcreate has already been created. 
2. Run gdeploy
3.

Actual results:

Volume creation succeeds with bricks on root partition


Expected results:

There should be a check for brick mounts in the script.

Additional info:

Comment 2 Nandaja Varma 2015-08-26 11:14:45 UTC
Changes has been sent and will be available with next build.

Comment 3 Anush Shetty 2015-09-09 12:21:01 UTC
Verified with gdeploy-1.0-10.el7rhgs.noarch

# gdeploy -k -c gluster.conf

INFO: Back-end setup triggered
INFO: Peer management(action: probe) triggered
INFO: Volume management(action: create) triggered

PLAY [gluster_servers] ********************************************************

TASK: [Create Physical Volume on all the nodes] *******************************
failed: [rhshdp03.lab.eng.blr.redhat.com] => {"failed": true}
msg: ['/dev/vdc Physical Volume Exists!']
failed: [rhshdp04.lab.eng.blr.redhat.com] => {"failed": true}
msg: ['/dev/vdc Physical Volume Exists!']

FATAL: all hosts have already failed -- aborting

PLAY RECAP ********************************************************************
           to retry, use: --limit @/root/ansible_playbooks.retry

rhshdp03.lab.eng.blr.redhat.com : ok=0    changed=0    unreachable=0    failed=1
rhshdp04.lab.eng.blr.redhat.com : ok=0    changed=0    unreachable=0    failed=1

You can view the generated configuration files inside /tmp/tmpwc39Nb

Comment 6 errata-xmlrpc 2015-10-05 07:24:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-1845.html


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