euca-describe-users fails with ImportError: No module named euca_admin.users

Bug #615442 reported by C de-Avillez on 2010-08-09
This bug affects 10 people
Affects Status Importance Assigned to Milestone
eucalyptus (Ubuntu)
Andres Rodriguez

Bug Description

Binary package hint: eucalyptus-common

ubuntu@cempedak:~/uec-testing-scripts$ euca-describe-users
Traceback (most recent call last):
  File "/usr/sbin/euca-describe-users", line 4, in <module>
    from euca_admin.users import User
ImportError: No module named euca_admin.users
ubuntu@cempedak:~/uec-testing-scripts$ euca-version
1.2-31337 2009-04-04

Related branches

Mathias Gug (mathiaz) on 2010-08-10
Changed in euca2ools (Ubuntu):
importance: Undecided → Medium
Marco Nalin (nalin-marco) wrote :

Did anyone find any solution for this?

This is really a big problem...

Scott Moser (smoser) on 2011-02-07
affects: euca2ools (Ubuntu) → eucalyptus (Ubuntu)
description: updated
Scott Moser (smoser) on 2011-02-07
Changed in eucalyptus (Ubuntu):
importance: Medium → High
status: New → Confirmed
Scott Moser (smoser) wrote :

Looking at the build, I'm not sure how 'euca_admin' gets installed from clc/tools/src/euca_admin/ at all. It appears from the eucalyptus.spec file that they would install it into /usr/sbin, which is completely wrong.

We need to get that intsalled into /usr/share/pyshared/ and get the .pyc files compiled on installation from there.

Slogger (slogger) wrote :

I can't actually find euca_admin in any of the eucalyptus packages... not sure if I'm a complete idiot or if it's just not there.

In any case, there seem to be bug reports scattered around that are all variations on failing to access/import something from euca_admin.

Changed in eucalyptus (Ubuntu):
assignee: nobody → Andres Rodriguez (andreserl)
status: Confirmed → In Progress
Changed in eucalyptus (Ubuntu):
status: In Progress → Confirmed
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package eucalyptus - 2.0.1+bzr1256-0ubuntu2

eucalyptus (2.0.1+bzr1256-0ubuntu2) natty; urgency=low

  [ Andres Rodriguez ]
  * debian/control: Add missing Dep on python-boto for eucalyptus-common.
  * Fix packaging to correctly install missing python modules. (LP: #615442)
    - debian/control: Add Depends on python-central, python; Add related
      python control rules.
    - debian/rules: Add dh_pycentral rule for eucalyptus-common
    - debian/eucalyptus-comman.install: Install euca_admin into correct dir.

  [ Dave Walker (Daviey) ]
  * debian/changelog: Fixed history from last upload which dropped
 -- Andres Rodriguez <email address hidden> Fri, 04 Mar 2011 17:25:04 -0500

Changed in eucalyptus (Ubuntu):
status: Confirmed → Fix Released
rowez (info-rowez) wrote :

Using eucalyptus 2.0+bzr1241-0ubuntu4.1 Maverick Meerkat:

For the euca-describe-clusters, euca-describe-properties, euca-describe-storage-controllers, euca-describe-users and euca-describe-walruses are no modules present with a default installation!

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers