Bug 762020 (GLUSTER-288) - volgen script failed initial tests due to wrong fd definition
Summary: volgen script failed initial tests due to wrong fd definition
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-288
Product: GlusterFS
Classification: Community
Component: scripts
Version: pre-2.0
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Harshavardhana
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-09-30 11:00 UTC by Harshavardhana
Modified: 2015-03-23 01:03 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
Regression: RTNR
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:


Attachments (Terms of Use)

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)


Note You need to log in before you can comment on or make changes to this bug.