| Summary: | volgen in master generates error | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Raghavendra Bhat <rabhat> |
| Component: | unclassified | Assignee: | Vijay Bellur <vbellur> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | mainline | CC: | gluster-bugs, vijay |
| 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: | --- | 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/3398 in master (Changes to volgen such that it does not error out in python2.4) |
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