Bug 1142087
Summary: | Warning message to restore data from removed bricks, should not be thrown when 'remove-brick force' was used | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | SATHEESARAN <sasundar> | |
Component: | distribute | Assignee: | Susant Kumar Palai <spalai> | |
Status: | CLOSED ERRATA | QA Contact: | SATHEESARAN <sasundar> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | rhgs-3.0 | CC: | asrivast, divya, nbalacha, nsathyan, sharne, spalai, ssamanta, surs, vagarwal | |
Target Milestone: | --- | Keywords: | ZStream | |
Target Release: | RHGS 3.0.3 | |||
Hardware: | x86_64 | |||
OS: | All | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.6.0.32-1 | Doc Type: | Bug Fix | |
Doc Text: |
Previously, a warning message asking the user to restore data from the removed bricks was displayed even when the "remove-brick" command was executed with the "force" option. With this fix, this warning message is no longer displayed
|
Story Points: | --- | |
Clone Of: | ||||
: | 1157974 (view as bug list) | Environment: | ||
Last Closed: | 2015-01-15 13:39:50 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: | 1087818, 1157974, 1162694 |
Description
SATHEESARAN
2014-09-16 07:14:31 UTC
Example : [root@rhss5 ~]# gluster volume remove-brick repvol NODE1:/rhs/brick1/b1 NODE2:/rhs/brick1/b1 force Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y volume remove-brick commit force: success Check the removed bricks to ensure all files are migrated. If files with data are found on the brick path, copy them via a gluster mount point before re-purposing the removed brick. Please add doc text for this known issue. Canceling need_info as Nithya reviewed and signed-off the doc text. Verified with glusterfs-3.6.0.34-1.el6rhs and 'remove-brick force' doesn't show warning message to copy the files back from fuse mount. Performed the following test, 1. Created a 2 node cluster 2. Created a distributed volume with 3 bricks 3. Added more files to the volume from fuse mount 4. Performed "remove-brick force" on the volume Observation - No warning message seen to copy back the files as shown in remove-brick with data migration Console logs ------------ [root@dhcp37-44 ~]# gluster volume remove-brick distvol dhcp37-201.lab.eng.blr.redhat.com:/rhs/brick1/bb1 force Removing brick(s) can result in data loss. Do you want to Continue? (y/n) y volume remove-brick commit force: success Marking this bug as VERIFIED 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/RHBA-2015-0038.html |