Bug 762896 (GLUSTER-1164) - glusterfs-volgen errors out
Summary: glusterfs-volgen errors out
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-1164
Product: GlusterFS
Classification: Community
Component: unclassified
Version: mainline
Hardware: All
OS: Linux
low
high
Target Milestone: ---
Assignee: Vijay Bellur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-07-18 05:37 UTC by Sachidananda Urs
Modified: 2015-12-01 16:45 UTC (History)
3 users (show)

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


Attachments (Terms of Use)

Description Sachidananda Urs 2010-07-18 05:37:51 UTC
sac@odin:~/work/volfiles$ /home/sac/bin/glusterfs/git/bin/glusterfs-volgen -n sac -p 8001 localhost:/mnt-dist1 localhost:/mnt/dist-2

Generating server volfiles.. for server localhost as '/home/sac/work/volfiles/localhost-sac-export.vol'
Traceback (most recent call last):
  File "/home/sac/bin/glusterfs/git/bin/glusterfs-volgen", line 181, in <module>
    main()
  File "/home/sac/bin/glusterfs/git/bin/glusterfs-volgen", line 176, in main
    generate_volume_files()
  File "/home/sac/bin/glusterfs/git/bin/glusterfs-volgen", line 159, in generate_volume_files
    create_exp.create_export_volfile ()
  File "/home/sac/bin/glusterfs/git/share/glusterfs/CreateVolfile.py", line 273, in create_export_volfile
    exp_fd.write ("    option hostname %s\n" % host)
NameError: global name 'host' is not defined

Comment 1 Amar Tumballi 2010-07-27 03:29:52 UTC
with the commit http://git.gluster.com/?p=glusterfs.git;a=commit;h=ea294f8fd967e8fc6e77558ecf1ab4fd298b7c4f this bug is no more valid..


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