| Summary: | volgen script failed initial tests due to wrong fd definition | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Harshavardhana <fharshav> |
| Component: | scripts | Assignee: | Harshavardhana <fharshav> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | pre-2.0 | CC: | amarts, anush, cww, gluster-bugs |
| 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: | |
PATCH: http://patches.gluster.com/patch/1544 in release-2.0 (volgen script failed initial tests due to wrong fd definition) |
Testing [harsha@sysrq extras]$ sudo ./glusterfs-volgen.py --name test --export-directory=/export/home store1 store2 printing volume files Traceback (most recent call last): File "./glusterfs-volgen.py", line 401, in <module> main () File "./glusterfs-volgen.py", line 397, in main print_export_volume (exp_fd, export_dir) File "./glusterfs-volgen.py", line 199, in print_export_volume mount_fd.write ("# TRANSPORT-TYPE %s\n" % transport_type) NameError: global name 'mount_fd' is not defined [harsha@sysrq extras]$