Bug 762720 (GLUSTER-988) - volgen in master generates error
Summary: volgen in master generates error
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: GLUSTER-988
Product: GlusterFS
Classification: Community
Component: unclassified
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Vijay Bellur
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-06-07 13:01 UTC by Raghavendra Bhat
Modified: 2010-06-14 06:03 UTC (History)
2 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 Raghavendra Bhat 2010-06-07 13:01:50 UTC
In master volgen gives error while generating the volfiles on aws machines. It works fine on my laptop and generates volfile. But on aws instances it errors out.
This is the error reported on aws instance.

Command:
bash-3.2# glusterfs-volgen --name=stripe --raid=0 ip-10-244-43-207:/mnt/nightly/data/export1 ip-10-244-43-207:/mnt/nightly/data/export2 ip-10-244-43-207:/mnt/nightly/data/export3 ip-10-244-43-207:/mnt/nightly/data/export4


Error:
Traceback (most recent call last):
  File "/usr/local/bin/glusterfs-volgen", line 30, in ?
    from Common import *
  File "/usr/local/share/glusterfs/Common.py", line 77
    volfile_dict[line.split()[0]] = string.join (line.split()[1:], ' ') if line.split() > 1 else " "
                                                                         ^
SyntaxError: invalid syntax

Comment 1 Anand Avati 2010-06-10 09:24:39 UTC
PATCH: http://patches.gluster.com/patch/3398 in master (Changes to volgen such that it does not error out in python2.4)


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