Re: Targetcli/rtslib issue on Ubuntu 13.04

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, 2013-04-07 at 13:23 +0100, Tim Eggleston wrote:
> Hi guys,
> 
> I understand that this is almost certainly a downstream problem with 
> the Ubuntu packages, but I wanted to see if anyone here has run into it 
> before I log a bug...
> 

I've already reported this to the Ubuntu folks (CC'ed), and they have
assured me that this will be addressed before the final release.

Logging a bug here would probably still be a good idea as a reference as
other Ubuntu users run into this issue.

> On Ubuntu 13.04 (packages up to date as of today), after installing 
> targetcli and dependencies, on attempting to run targetcli I get the 
> following error:
> 
> Traceback (most recent call last):
>    File "/usr/bin/targetcli", line 24, in <module>
>      from targetcli import UIRoot
>    File "/usr/lib/python2.7/dist-packages/targetcli/__init__.py", line 
> 18, in <module>
>      from ui_root import UIRoot
>    File "/usr/lib/python2.7/dist-packages/targetcli/ui_root.py", line 
> 24, in <module>
>      from ui_target import UIFabricModule
>    File "/usr/lib/python2.7/dist-packages/targetcli/ui_target.py", line 
> 21, in <module>
>      from ui_backstore import dedup_so_name
>    File "/usr/lib/python2.7/dist-packages/targetcli/ui_backstore.py", 
> line 22, in <module>
>      from rtslib import FileIOBackstore, IBlockBackstore
> ImportError: cannot import name FileIOBackstore
> 

So the problem is the mixing of the Fedora forked version of rtslib-fb,
and upstream targetcli codebase.  rtslib-fb is *not* object library
compatible with upstream rtslib, which is what is causing the breakage
here.

Note this issue is specific to the rtslib_2.1.fb27 package in Raring,
and using the Quantal package below with the upstream rtslib version
should get you up and running again:

http://packages.ubuntu.com/source/quantal/rtslib

> This is reproducible both on a server I  upgraded to 13.04, as well as 
> a completely fresh build.
> 
> As I say, this looks like it's probably an issue with the rtslib 
> package on Ubuntu, but has anybody else seen it? Unfortunately I'm not 
> competent in Python to be able to debug.
> 

Thanks for reporting!

--nab


--
To unsubscribe from this list: send the line "unsubscribe target-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux SCSI]     [Kernel Newbies]     [Linux SCSI Target Infrastructure]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Linux IIO]     [Device Mapper]

  Powered by Linux