rtslib-fb is not object compatible with rtslib
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rtslib (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Raring |
Fix Released
|
High
|
Unassigned |
Bug Description
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/
> from targetcli import UIRoot
> File "/usr/lib/
> 18, in <module>
> from ui_root import UIRoot
> File "/usr/lib/
> 24, in <module>
> from ui_target import UIFabricModule
> File "/usr/lib/
> 21, in <module>
> from ui_backstore import dedup_so_name
> File "/usr/lib/
> 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://
> 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!
Related branches
Changed in rtslib (Ubuntu Raring): | |
status: | New → Triaged |
importance: | Undecided → High |
This bug was fixed in the package rtslib - 2.1.fb27. isreally. 2.1-0ubuntu1
--------------- isreally. 2.1-0ubuntu1) raring; urgency=low
rtslib (2.1.fb27.
* Revert to original upstream source as the fork is not object copyright: Revert changes from 2.1.fb27-0ubuntu2. rtslib. dirs: Revert changes from 2.1.fb27-0ubuntu2.
compatible and breaks targetcli (LP: #1166042):
- d/watch: Revert changes from 2.1.fb27-0ubuntu2.
- d/control,
- d/python-
-- James Page <email address hidden> Mon, 08 Apr 2013 12:55:56 +0100