Bug 762167 (GLUSTER-435) - glusterfs-volgen does not work when glusterfs is installed at a prefix
Summary: glusterfs-volgen does not work when glusterfs is installed at a prefix
Keywords:
Status: CLOSED DUPLICATE of bug 762169
Alias: GLUSTER-435
Product: GlusterFS
Classification: Community
Component: scripts
Version: mainline
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Harshavardhana
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-12-04 15:00 UTC by Krishna Srinivas
Modified: 2015-03-23 01: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:
Embargoed:


Attachments (Terms of Use)

Description Krishna Srinivas 2009-12-04 15:00:11 UTC
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.

Comment 1 Harshavardhana 2009-12-04 23:12:11 UTC

*** This bug has been marked as a duplicate of bug 437 ***


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