Bug 861497
Summary: | Deleting volume sometimes leaves directory in /var/lib/glusterd | ||
---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Shawn Heisey <redhat> |
Component: | glusterd | Assignee: | Junaid <junaid> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 3.3.0 | CC: | gluster-bugs, jdarcy, junaid, redhat, vagarwal |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | glusterfs-3.4.0 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-07-24 17:53:31 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: |
Description
Shawn Heisey
2012-09-28 20:12:10 UTC
An alternate solution (one that sounds like a good option to me) would be to forcibly remove the volume directory and everything in it when a volume delete is issued. The directory is created by glusterd, and in theory should never be modified by anything external, so allowing glusterd sole control over its existence doesn't seem like too much of a stretch. I think it's a bug that gluster-swift puts its pidfile in a directory managed by glusterd. If someone knows where I can file that bug, I would be happy to do so. Swift shouldn't be putting a PID file in /var/lib/anything; that's what /var/run is for. Even so, the condition described here shouldn't prevent glusterd from starting. CHANGE: http://review.gluster.org/4417 (object-storage: Store the lock file in /var/run/swift.) merged in master by Anand Avati (avati) Fixed in upstream master. |