Bug 1654292 - BackendException: Pyrax backend requires the pyrax library available from Rackspace.
Summary: BackendException: Pyrax backend requires the pyrax library available from Rac...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: deja-dup
Version: 28
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Gwyn Ciesla
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-11-28 12:18 UTC by morgan read
Modified: 2018-12-29 21:48 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-04 14:45:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description morgan read 2018-11-28 12:18:50 UTC
Description of problem:
Backup Failed
BackendException: Pyrax backend requires the pyrax library available from Rackspace.
Exception: cannot import name auth_plugin

Version-Release number of selected component (if applicable):
$ rpm -qa deja-dup
deja-dup-38.0-2.fc28.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Install
2. Enable Rackspace as per https://wiki.gnome.org/Apps/DejaDup/Clouds#How_to_Enable_Anyway
3. Run

Actual results:
Backup failure

Expected results:
Backup succeeds

Additional info:
How do you get the options passed to duplicity by deja-dup?  I'd run the backup from duplicity if I could work that out.

Comment 1 morgan read 2018-12-04 12:17:51 UTC
This appears to be fixed with:
$ pip install pyrax

Where I had previously done:
$ sudo dnf install pyrax

$ sudo dnf install pyrax
[sudo] password for [username]:
Last metadata expiration check: 1:48:26 ago on Mon 03 Dec 2018 21:38:48 GMT.
Package python2-pyrax-1.9.7-5.fc28.noarch is already installed, skipping.
Dependencies resolved.
Nothing to do.
Complete!
$

Comment 2 Gwyn Ciesla 2018-12-04 14:21:14 UTC
If you pip remove pyrax, and sudo dnf install python2-pyrax? If so, I'll add it as a dependency of the duplicity package.

Comment 3 Gwyn Ciesla 2018-12-04 14:45:41 UTC
Actually, I won't, since python-pyrax was retired, and is dead upstream. They recommend replacements: https://github.com/pycontribs/pyrax/blob/master/README.rst

Comment 4 morgan read 2018-12-29 21:48:21 UTC
Thanks anyway - should I raise a bug for:
openstacksdk and the rackspacesdk plugin
support
?


Note You need to log in before you can comment on or make changes to this bug.