Bug 762020 (GLUSTER-288)

Summary: volgen script failed initial tests due to wrong fd definition
Product: [Community] GlusterFS Reporter: Harshavardhana <fharshav>
Component: scriptsAssignee: Harshavardhana <fharshav>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: low    
Version: pre-2.0CC: 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:

Description Harshavardhana 2009-09-30 11:00:34 UTC
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]$

Comment 1 Anand Avati 2009-10-01 07:32:33 UTC
PATCH: http://patches.gluster.com/patch/1544 in release-2.0 (volgen script failed initial tests due to wrong fd definition)