| Summary: | glusterfs-volgen errors out | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Sachidananda Urs <sac> |
| Component: | unclassified | Assignee: | Vijay Bellur <vbellur> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | |
| Severity: | high | Docs Contact: | |
| Priority: | low | ||
| Version: | mainline | CC: | amarts, gluster-bugs, tejas |
| 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: | |
with the commit http://git.gluster.com/?p=glusterfs.git;a=commit;h=ea294f8fd967e8fc6e77558ecf1ab4fd298b7c4f this bug is no more valid.. |
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