Bug 1654292

Summary: BackendException: Pyrax backend requires the pyrax library available from Rackspace.
Product: [Fedora] Fedora Reporter: morgan read <mstuff>
Component: deja-dupAssignee: Gwyn Ciesla <gwync>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 28CC: fedora, gwync, jitesh.1337, kengert, walter.pete
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-04 14:45:41 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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
?