glusterfind ImportError: No module named glusterfind.main

Bug #1529586 reported by Denis Gubanov
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
glusterfs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

glusterfind (part of glusterfs-client package) does not work

# glusterfind
Traceback (most recent call last):
  File "/usr/bin/glusterfind", line 14, in <module>
    from glusterfind.main import main
ImportError: No module named glusterfind.main

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in glusterfs (Ubuntu):
status: New → Confirmed
Revision history for this message
Luc Bruninx (luc2005) wrote :

The python script "/usr/bin/glusterfind" try to import module "/usr/libexec/glusterfs/". But this path don't exists on Ubuntu.

The glusterfind module files are located in "/usr/lib/x86_64-linux-gnu/glusterfs/" on x86_64 system.

An "easy" workaround is to create a symbolic link from "/usr/libexec" to "/usr/lib/x86_64-linux-gnu".

$> sudo ln -s /usr/lib/x86_64-linux-gnu /usr/libexec

However, the name of the source directory (x86_64-linux-gnu) varies depending on the system arch.

Revision history for this message
Denis Gubanov (v12aml) wrote :

thx, this workaround fix the problem

Revision history for this message
James Page (james-page) wrote :

# glusterfind --help
usage: glusterfind [-h] {create,delete,list,pre,query,post} ...

GlusterFS Incremental API

positional arguments:
  {create,delete,list,pre,query,post}

optional arguments:
  -h, --help show this help message and exit

Confirmed resolved in latest upload to Artful; Marking Fix Released.

Changed in glusterfs (Ubuntu):
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.