| Summary: | glusterfs-volgen does not work when glusterfs is installed at a prefix | ||
|---|---|---|---|
| Product: | [Community] GlusterFS | Reporter: | Krishna Srinivas <krishna> |
| Component: | scripts | Assignee: | Harshavardhana <fharshav> |
| Status: | CLOSED DUPLICATE | QA Contact: | |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | mainline | CC: | cww, gluster-bugs |
| 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: | |
root@halt:/opt/glusterfs/bin# python glusterfs-volgen Traceback (most recent call last): File "glusterfs-volgen", line 9, in <module> from CreateVolfile import * ImportError: No module named CreateVolfile root@halt:/opt/glusterfs/bin# root@halt:/opt/glusterfs/bin# head glusterfs-volgen #!/usr/bin/python import getopt, sys, os, string from optparse import OptionParser,OptionGroup,make_option if not "/usr/share/glusterfs" in sys.path: sys.path.append("/usr/share/glusterfs") from CreateVolfile import * from CreateBooster import * root@halt:/opt/glusterfs/bin# "/usr/share/glusterfs" is hardcoded. "/opt/glusterfs/share/glusterfs" has to be used instead.