BackendException: Pyrax backend requires the pyrax library available from Rackspace.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Déjà Dup |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Originally reported:
https:/
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-
How reproducible:
Always
Steps to Reproduce:
1. Install
2. Enable Rackspace as per https:/
3. Run
$ uname -r
4.19.5-
$ deja-dup --version
deja-dup 37.1
$ duplicity -V
duplicity 0.7.18.2
$ rpm -q deja-dup duplicity
deja-dup-
duplicity-
$ gsettings list-recursively org.gnome.DejaDup > /tmp/deja-
$ cat /tmp/deja-
org.gnome.DejaDup last-restore ''
org.gnome.DejaDup periodic true
org.gnome.DejaDup periodic-period 7
org.gnome.DejaDup full-backup-period 90
org.gnome.DejaDup backend 'rackspace'
org.gnome.DejaDup last-run '2018-03-
org.gnome.DejaDup nag-check '2017-01-
org.gnome.DejaDup prompt-check '2017-01-
org.gnome.DejaDup root-prompt true
org.gnome.DejaDup include-list ['$HOME']
org.gnome.DejaDup exclude-list ['/home/[home directory]
org.gnome.DejaDup last-backup '2018-01-
org.gnome.DejaDup allow-metered false
org.gnome.DejaDup delete-after 0
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
org.gnome.
$ DEJA_DUP_DEBUG=1 deja-dup --backup | tail -n 1000 > /tmp/deja-dup.log
$ cat /tmp/deja-dup.log
DUPLICITY: INFO 1
DUPLICITY: . Using archive dir: /home/readlegal
DUPLICITY: INFO 1
DUPLICITY: . Using backup name: b4cec2a8d23950b
DUPLICITY: DEBUG 1
DUPLICITY: . GPG binary is gpg, version 1.4.23
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.
DUPLICITY: INFO 1
DUPLICITY: . Using temporary directory /home/readlegal
DUPLICITY: INFO 1
DUPLICITY: . Backend error detail: Traceback (innermost last):
DUPLICITY: . File "/usr/bin/
DUPLICITY: . with_tempdir(main)
DUPLICITY: . File "/usr/bin/
DUPLICITY: . fn()
DUPLICITY: . File "/usr/bin/
DUPLICITY: . action = commandline.
DUPLICITY: . File "/usr/lib64/
DUPLICITY: . globals.backend = backend.
DUPLICITY: . File "/usr/lib64/
DUPLICITY: . obj = get_backend_
DUPLICITY: . File "/usr/lib64/
DUPLICITY: . return factory(pu)
DUPLICITY: . File "/usr/lib64/
DUPLICITY: . Exception: %s""" % str(e))
DUPLICITY: . BackendException: Pyrax backend requires the pyrax library available from Rackspace.
DUPLICITY: . Exception: cannot import name auth_plugin
DUPLICITY: .
DUPLICITY: ERROR 23 BackendException
DUPLICITY: . BackendException: Pyrax backend requires the pyrax library available from Rackspace.
DUPLICITY: . Exception: cannot import name auth_plugin
$
Seems the answer is probably:
$ pip install pyrax
Where I had previously done:
$ sudo dnf install pyrax
$ sudo dnf install pyrax pyrax-1. 9.7-5.fc28. noarch is already installed, skipping.
[sudo] password for [username]:
Last metadata expiration check: 1:48:26 ago on Mon 03 Dec 2018 21:38:48 GMT.
Package python2-
Dependencies resolved.
Nothing to do.
Complete!
$