landscape-client missing python-configobj dependency

Bug #1283716 reported by Christer Solskogen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
landscape-client (Ubuntu)
Fix Released
High
Andreas Hasenack

Bug Description

In trusty:

solskogen@friend:~$ landscape-sysinfo
solskogen@friend:~$ landscape-sysinfo -v
solskogen@friend:~$ landscape-sysinfo --help
solskogen@friend:~$ sudo landscape-sysinfo
[sudo] password for solskogen:

solskogen@friend:~$ dpkg -l | grep landscape
ii landscape-client 14.01-0ubuntu1 amd64 The Landscape administration system client
ii landscape-common 14.01-0ubuntu1 amd64 The Landscape administration system client - Common files
solskogen@friend:~$

tags: added: trusty
Revision history for this message
Adam Collard (adam-collard) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. We need some more information from you before we can start working on this bug.

Could you please show the exit code of landscape-sysinfo when you run it? e.g.

$ sudo landscape-sysinfo
$ echo $?

Changed in landscape-client (Ubuntu):
status: New → Incomplete
Revision history for this message
Christer Solskogen (christer-solskogen) wrote :

solskogen@friend:~$ landscape-sysinfo
solskogen@friend:~$ echo $?
2

(same with sudo)

Revision history for this message
Adam Collard (adam-collard) wrote :

Thanks. It looks like you're getting some ImportError s which we only expect to get in transient situations like distribution upgrades.

To aid in the debugging could you please run the following:

$ sudo python -v $(which landscape-sysinfo) 2> python-import.log

... and attach the python-import.log file to the bug?

Revision history for this message
Christer Solskogen (christer-solskogen) wrote :

Here you go

Revision history for this message
Adam Collard (adam-collard) wrote :

Cheers, we're narrowing in on the problem! I suspect you're somehow missing a dependency. Next thing for you to try:

$ python -c 'import landscape.deployment'

I expect this to show a traceback for you (fingers crossed!)

Revision history for this message
Christer Solskogen (christer-solskogen) wrote :

This is the output
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/usr/lib/python2.7/dist-packages/landscape/deployment.py", line 4, in <module>
    from configobj import ConfigObj, ConfigObjError
ImportError: No module named configobj

I've already tried purging the landscape-* packages and installing them again, so I'm pretty sure that the dependency is missing in source of the dpkg-package. Also it worked prior to the 14.01-0ubuntu1 version.

Changed in landscape-client (Ubuntu):
status: Incomplete → Confirmed
Changed in landscape-client (Ubuntu):
assignee: nobody → Adam Collard (adam-collard)
tags: added: packaging
summary: - No output from landscape-sysinfo
+ landscape-client missing python-configobj dependency
Revision history for this message
Christer Solskogen (christer-solskogen) wrote :

thanks! Installing python-configobj fixed it!

Changed in landscape-client (Ubuntu):
assignee: Adam Collard (adam-collard) → Andreas Hasenack (ahasenack)
Changed in landscape-client (Ubuntu):
status: Confirmed → In Progress
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package landscape-client - 14.01-0ubuntu2

---------------
landscape-client (14.01-0ubuntu2) trusty; urgency=low

  * Added missing python-configobj dependency to -common (LP: #1283716)
 -- Andreas Hasenack <email address hidden> Mon, 24 Feb 2014 09:43:33 -0300

Changed in landscape-client (Ubuntu):
status: In Progress → 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.