| Summary: | For glusterfs-volgen "open failed" errors: report exactly what file or directory isn't opening | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Simon Blandford <simon> |
| Component: | scripts | Assignee: | Harshavardhana <fharshav> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | mainline | CC: | cww, gluster-bugs, lakshmipathi |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | --- | |
| Regression: | RTNR | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Harshavardhana
2009-12-05 09:59:30 UTC
Please give more information for file access exceptions when they are trapped.
For example, the following code...
try:
tmp_read_fd = file (volume_path, "r")
except:
print "open failed"
sys.exit (1)
..could be changed to ...
try:
tmp_read_fd = file (volume_path, "r")
except:
print "volume open failed: " + volume_path
sys.exit (1)
|