Bug 1480099
| Summary: | More useful error - replace 'not optimal' | |||
|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Ashish Pandey <aspandey> | |
| Component: | glusterd | Assignee: | Ashish Pandey <aspandey> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | ||
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | mainline | CC: | amukherj, asriram, bkunal, bugs, ccalhoun, lbailey, nchilaka, rhs-bugs, storage-doc, storage-qa-internal | |
| Target Milestone: | --- | Keywords: | Triaged | |
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.13.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | 1480042 | |||
| : | 1480448 (view as bug list) | Environment: | ||
| Last Closed: | 2017-12-08 17:37:20 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: | 1480042, 1480448 | |||
|
Comment 1
Ashish Pandey
2017-08-10 07:24:25 UTC
After having a discussion with Laura, I am going to make following changes in command error message-
[root@apandey glusterfs]# gluster v create test disperse 6 redundancy 2 apandey:/home/apandey/bricks/gluster/test-nn{1..6}
volume create: test: failed: Multiple bricks of a disperse volume are present on the same server. This setup is not optimal. Bricks should be on different nodes to have best fault tolerant configuration. Use 'force' at the end of the command if you want to override this behavior.
Let me know your thoughts on this. It will also go through the review process and may differ a little bit.
REVIEW: https://review.gluster.org/18014 (mgmt/glusterd: Provide more information in command message) posted (#1) for review on master by Ashish Pandey (aspandey) COMMIT: https://review.gluster.org/18014 committed in master by Atin Mukherjee (amukherj) ------ commit cfdcdd1b1fea3f30d9131dd36afab6efeef2bee0 Author: Ashish Pandey <aspandey> Date: Thu Aug 10 12:56:32 2017 +0530 mgmt/glusterd: Provide more information in command message Problem: When more than one bricks are present on the same node, while creating a volume, we get a warning message that the setup is not optimal. We need to add more information in this error/warning. Solution: Add following line in current message. Bricks should be on different nodes to have best fault tolerant configuration. Change-Id: Ica72bd6e68dff7e41c37617f3b775a981fa40c69 BUG: 1480099 Signed-off-by: Ashish Pandey <aspandey> Reviewed-on: https://review.gluster.org/18014 CentOS-regression: Gluster Build System <jenkins.org> Smoke: Gluster Build System <jenkins.org> Reviewed-by: Atin Mukherjee <amukherj> This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.13.0, please open a new bug report. glusterfs-3.13.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution. [1] http://lists.gluster.org/pipermail/announce/2017-December/000087.html [2] https://www.gluster.org/pipermail/gluster-users/ |