Bug 1725809
| Summary: | glusterd allowing to set server.statedump-path to file, non-existent file and non-existent paths | |||
|---|---|---|---|---|
| Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Kshithij Iyer <kiyer> | |
| Component: | glusterd | Assignee: | Srijan Sivakumar <ssivakum> | |
| Status: | CLOSED DEFERRED | QA Contact: | Bala Konda Reddy M <bmekala> | |
| Severity: | medium | Docs Contact: | ||
| Priority: | medium | |||
| Version: | rhgs-3.5 | CC: | aspandey, pasik, pprakash, puebele, rhs-bugs, sasundar, sheggodu, storage-qa-internal | |
| Target Milestone: | --- | Keywords: | ZStream | |
| Target Release: | --- | |||
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1787122 (view as bug list) | Environment: | ||
| Last Closed: | 2021-05-04 00:14:58 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: | 1787122 | |||
| Bug Blocks: | ||||
|
Description
Kshithij Iyer
2019-07-01 13:37:40 UTC
I am working on this issue and trying to write the appropriate validate function to check for the correct and valid path. I will try to push the patch with the correct code ASAP. Thanks, Yati Though the non-existing directory is still accepted as the valid value for gluster volume option of server.statedump-path, leaving this issue open will not impact any of the use case. This is very rare use case which is again an incorrect action from admin to provide the non-existing path to the value. When the admin/user after triggering the statedump, will definitely visit the directory and find that no such directory exists. When creating the directory, and next attempt of statedump always works fine. To summarize, the default location of statedump is /var/run/gluster and changing this to any new location works as long as the new location exists in the file path. Considering the information above, it was concluded that this bug would be CLOSED |