targetcli package missing dependencies

Bug #1000490 reported by Kevin Soviero
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
targetcli (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

== OS Details ==

Distributor ID: Ubuntu
Description: Ubuntu 12.04 LTS
Release: 12.04
Codename: precise

Linux san 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

== Problem ==

After installing the "targetcli" package on a fresh install of Ubuntu 12.04 LTS, it complains with the following error:

ImportError: No module named urwid

This is due to the "python-urwid" package not being included as a dependency.

== Reproduction ==

After installing the "targetcli" package, simply run the following command:

# targetcli

/> cd

[...]
ImportError: No module named urwid

/>

== Solution ==

Please include "python-urwid" as a dependency of the "targetcli" package.

Revision history for this message
Kevin Soviero (ksoviero) wrote :

LIO Target is the new standard for Linux iSCSI target support, and Ubuntu 12.04 is the latest LTS release for enterprise use. This combination makes any flaw in the LIO Target application on Ubuntu a major issue.

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

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

Changed in targetcli (Ubuntu):
status: New → Confirmed
Revision history for this message
Jerome Martin (jxm) wrote :

Hi,

I am the original author of targetcli/rtslib and configshell and wanted to chime in on a couple of points here:

* The dependency on urwid should be on the configshell - you might call it python-configshell - package, not on targetcli itself.
* That dependency is currently properly set in the upstream debian/control file. If the Ubuntu depends are not complete, I suggest you take a look at our upstream repos to check the packages dependencies.

* Note that the upcoming version will have a couple of changes to that regards (we changed parsers to use pyparsing instead of simpleparse), so stay tuned on that for the next release (3.x) of rtslib and targetcli. Also the upcoming 3.x will not require lio-utils anymore - targetcli will handle initscripts ans rtslib will have native configuration save/restore capability. The rc1 is due in the coming days.

You can find everything there: https://github.com/Datera

Best Regards,
--
Jerome Martin

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.