Bug 1446362
| Summary: | cli xml status of detach tier broken | |||
|---|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | hari gowtham <hgowtham> | |
| Component: | tiering | Assignee: | hari gowtham <hgowtham> | |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | bugs <bugs> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | mainline | CC: | amukherj, bugs, pasik | |
| Target Milestone: | --- | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | glusterfs-3.12.0 | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1451587 1451591 (view as bug list) | Environment: | ||
| Last Closed: | 2017-09-05 17:27:45 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: | 1451587, 1451591 | |||
REVIEW: https://review.gluster.org/17131 (TIER/CLI: detach status xml output) posted (#1) for review on master by hari gowtham (hari.gowtham005) REVIEW: https://review.gluster.org/17131 (Tier/cli: detach status xml output) posted (#2) for review on master by hari gowtham (hari.gowtham005) REVIEW: https://review.gluster.org/17131 (Tier/cli: detach status xml output) posted (#3) for review on master by hari gowtham (hari.gowtham005) COMMIT: https://review.gluster.org/17131 committed in master by Atin Mukherjee (amukherj) ------ commit 2592fa0409d5215473b84012c69ac34d0270ef08 Author: hari gowtham <hgowtham> Date: Fri Apr 28 00:09:50 2017 +0530 Tier/cli: detach status xml output Problem: detach status xml output was broken because of the wrong argument. The status_op sent to verify whether it is a tier status command was as false. Fix: the argument being passed was changed from false to true. Change-Id: I8cdd4dd972d6bfbb61c1182cbf4097767f83c7c5 BUG: 1446362 Signed-off-by: hari gowtham <hgowtham> Reviewed-on: https://review.gluster.org/17131 Smoke: Gluster Build System <jenkins.org> Tested-by: hari gowtham <hari.gowtham005> NetBSD-regression: NetBSD Build System <jenkins.org> CentOS-regression: Gluster Build System <jenkins.org> Reviewed-by: Atin Mukherjee <amukherj> Reviewed-by: N Balachandran <nbalacha> 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.12.0, please open a new bug report. glusterfs-3.12.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-September/000082.html [2] https://www.gluster.org/pipermail/gluster-users/ |
Description of problem: the detach tier status in the xml format is not working properly. Version-Release number of selected component (if applicable): 3.10 and above How reproducible: 100% Steps to Reproduce: 1.create a tiered volume 2.issue detach start 3.issue gluster v tier <volname> detach status --xml Actual results: volume detach tier status: success <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <cliOutput> <opRet>0</opRet> <opErrno>0</opErrno> <opErrstr>Detach tier status successful</opErrstr> <volDetachTier/> </cliOutput> Expected results: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <cliOutput> <opRet>0</opRet> <opErrno>0</opErrno> <opErrstr>Detach tier status successful</opErrstr> <volDetachTier> <nodeCount>1</nodeCount> <node> <nodeName>localhost</nodeName> <id>77e903ef-8400-4882-97ae-5a0e326f25b0</id> <files>0</files> <size>0</size> <lookups>0</lookups> <failures>0</failures> <skipped>0</skipped> <status>3</status> <statusStr>completed</statusStr> <runtime>0.00</runtime> </node> <aggregate> <files>0</files> <size>0</size> <lookups>0</lookups> <failures>0</failures> <skipped>0</skipped> <status>3</status> <statusStr>completed</statusStr> <runtime>0.00</runtime> </aggregate> </volDetachTier> </cliOutput> Additional info: