2018-12-03 22:22:32 |
Morgan Read |
description |
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
$ uname -r
4.19.5-200.fc28.x86_6
$ deja-dup --version
deja-dup 37.1
$ duplicity -V
duplicity 0.7.18.2
$ rpm -q deja-dup duplicity
deja-dup-38.0-2.fc28.x86_64
duplicity-0.7.18.2-1.fc28.x86_64
$ gsettings list-recursively org.gnome.DejaDup > /tmp/deja-dup.gsettings
$ cat /tmp/deja-dup.gsettings
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-02T15:17:09.028512Z'
org.gnome.DejaDup nag-check '2017-01-16T14:17:14.238056Z'
org.gnome.DejaDup prompt-check '2017-01-11T11:55:45.843939Z'
org.gnome.DejaDup root-prompt true
org.gnome.DejaDup include-list ['$HOME']
org.gnome.DejaDup exclude-list ['/home/[home directory]/.local/share/Trash', '/home/Downloads']
org.gnome.DejaDup last-backup '2018-01-16T16:33:37.237043Z'
org.gnome.DejaDup allow-metered false
org.gnome.DejaDup delete-after 0
org.gnome.DejaDup.Rackspace username '[username]'
org.gnome.DejaDup.Rackspace container 'Container-dejadup'
org.gnome.DejaDup.S3 id ''
org.gnome.DejaDup.S3 bucket 'deja-dup-auto-'
org.gnome.DejaDup.S3 folder '[machinename].lan'
org.gnome.DejaDup.OpenStack authurl ''
org.gnome.DejaDup.OpenStack tenant ''
org.gnome.DejaDup.OpenStack username ''
org.gnome.DejaDup.OpenStack container '[machinename].lan'
org.gnome.DejaDup.GCS id ''
org.gnome.DejaDup.GCS bucket ''
org.gnome.DejaDup.GCS folder '[machinename].lan'
org.gnome.DejaDup.Local folder '[machinename].lan'
org.gnome.DejaDup.Remote uri 'sftp://root@192.168.0.110/mnt/backup/[machinename]/[home directory]'
org.gnome.DejaDup.Remote folder ''
org.gnome.DejaDup.Drive uuid ''
org.gnome.DejaDup.Drive icon ''
org.gnome.DejaDup.Drive folder '$HOSTNAME'
org.gnome.DejaDup.Drive name ''
org.gnome.DejaDup.GOA id ''
org.gnome.DejaDup.GOA folder '[machinename].lan'
org.gnome.DejaDup.GOA type ''
org.gnome.DejaDup.File short-name ''
org.gnome.DejaDup.File type 'normal'
org.gnome.DejaDup.File migrated true
org.gnome.DejaDup.File name ''
org.gnome.DejaDup.File path 'sftp://root@192.168.0.110/mnt/backup/[machinename]/[home directory]'
org.gnome.DejaDup.File uuid ''
org.gnome.DejaDup.File icon ''
org.gnome.DejaDup.File relpath @ay []
$ 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/.cache/deja-dup/b4cec2a8d23950b2cc083ea37c96952c
DUPLICITY: INFO 1
DUPLICITY: . Using backup name: b4cec2a8d23950b2cc083ea37c96952c
DUPLICITY: DEBUG 1
DUPLICITY: . GPG binary is gpg, version 1.4.23
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.acdclibackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.azurebackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.b2backend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.botobackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.cfbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.dpbxbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.gdocsbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.giobackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.hsibackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.hubicbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.imapbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.lftpbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.localbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.mediafirebackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.megabackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.multibackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.ncftpbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.onedrivebackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.par2backend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.pydrivebackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.rsyncbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.ssh_paramiko_backend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.ssh_pexpect_backend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.swiftbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.sxbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.tahoebackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.webdavbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Using temporary directory /home/readlegal/.cache/deja-dup/tmp/duplicity-nP9krc-tempdir
DUPLICITY: INFO 1
DUPLICITY: . Backend error detail: Traceback (innermost last):
DUPLICITY: . File "/usr/bin/duplicity", line 1560, in <module>
DUPLICITY: . with_tempdir(main)
DUPLICITY: . File "/usr/bin/duplicity", line 1546, in with_tempdir
DUPLICITY: . fn()
DUPLICITY: . File "/usr/bin/duplicity", line 1385, in main
DUPLICITY: . action = commandline.ProcessCommandLine(sys.argv[1:])
DUPLICITY: . File "/usr/lib64/python2.7/site-packages/duplicity/commandline.py", line 1127, in ProcessCommandLine
DUPLICITY: . globals.backend = backend.get_backend(args[0])
DUPLICITY: . File "/usr/lib64/python2.7/site-packages/duplicity/backend.py", line 223, in get_backend
DUPLICITY: . obj = get_backend_object(url_string)
DUPLICITY: . File "/usr/lib64/python2.7/site-packages/duplicity/backend.py", line 209, in get_backend_object
DUPLICITY: . return factory(pu)
DUPLICITY: . File "/usr/lib64/python2.7/site-packages/duplicity/backends/_cf_pyrax.py", line 41, in __init__
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
$ |
Originally reported:
https://bugzilla.redhat.com/show_bug.cgi?id=1654292#c0
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
$ uname -r
4.19.5-200.fc28.x86_6
$ deja-dup --version
deja-dup 37.1
$ duplicity -V
duplicity 0.7.18.2
$ rpm -q deja-dup duplicity
deja-dup-38.0-2.fc28.x86_64
duplicity-0.7.18.2-1.fc28.x86_64
$ gsettings list-recursively org.gnome.DejaDup > /tmp/deja-dup.gsettings
$ cat /tmp/deja-dup.gsettings
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-02T15:17:09.028512Z'
org.gnome.DejaDup nag-check '2017-01-16T14:17:14.238056Z'
org.gnome.DejaDup prompt-check '2017-01-11T11:55:45.843939Z'
org.gnome.DejaDup root-prompt true
org.gnome.DejaDup include-list ['$HOME']
org.gnome.DejaDup exclude-list ['/home/[home directory]/.local/share/Trash', '/home/Downloads']
org.gnome.DejaDup last-backup '2018-01-16T16:33:37.237043Z'
org.gnome.DejaDup allow-metered false
org.gnome.DejaDup delete-after 0
org.gnome.DejaDup.Rackspace username '[username]'
org.gnome.DejaDup.Rackspace container 'Container-dejadup'
org.gnome.DejaDup.S3 id ''
org.gnome.DejaDup.S3 bucket 'deja-dup-auto-'
org.gnome.DejaDup.S3 folder '[machinename].lan'
org.gnome.DejaDup.OpenStack authurl ''
org.gnome.DejaDup.OpenStack tenant ''
org.gnome.DejaDup.OpenStack username ''
org.gnome.DejaDup.OpenStack container '[machinename].lan'
org.gnome.DejaDup.GCS id ''
org.gnome.DejaDup.GCS bucket ''
org.gnome.DejaDup.GCS folder '[machinename].lan'
org.gnome.DejaDup.Local folder '[machinename].lan'
org.gnome.DejaDup.Remote uri 'sftp://root@192.168.0.110/mnt/backup/[machinename]/[home directory]'
org.gnome.DejaDup.Remote folder ''
org.gnome.DejaDup.Drive uuid ''
org.gnome.DejaDup.Drive icon ''
org.gnome.DejaDup.Drive folder '$HOSTNAME'
org.gnome.DejaDup.Drive name ''
org.gnome.DejaDup.GOA id ''
org.gnome.DejaDup.GOA folder '[machinename].lan'
org.gnome.DejaDup.GOA type ''
org.gnome.DejaDup.File short-name ''
org.gnome.DejaDup.File type 'normal'
org.gnome.DejaDup.File migrated true
org.gnome.DejaDup.File name ''
org.gnome.DejaDup.File path 'sftp://root@192.168.0.110/mnt/backup/[machinename]/[home directory]'
org.gnome.DejaDup.File uuid ''
org.gnome.DejaDup.File icon ''
org.gnome.DejaDup.File relpath @ay []
$ 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/.cache/deja-dup/b4cec2a8d23950b2cc083ea37c96952c
DUPLICITY: INFO 1
DUPLICITY: . Using backup name: b4cec2a8d23950b2cc083ea37c96952c
DUPLICITY: DEBUG 1
DUPLICITY: . GPG binary is gpg, version 1.4.23
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.acdclibackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.azurebackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.b2backend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.botobackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.cfbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.dpbxbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.gdocsbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.giobackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.hsibackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.hubicbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.imapbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.lftpbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.localbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.mediafirebackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.megabackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.multibackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.ncftpbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.onedrivebackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.par2backend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.pydrivebackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.rsyncbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.ssh_paramiko_backend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.ssh_pexpect_backend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.swiftbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.sxbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.tahoebackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Import of duplicity.backends.webdavbackend Succeeded
DUPLICITY: INFO 1
DUPLICITY: . Using temporary directory /home/readlegal/.cache/deja-dup/tmp/duplicity-nP9krc-tempdir
DUPLICITY: INFO 1
DUPLICITY: . Backend error detail: Traceback (innermost last):
DUPLICITY: . File "/usr/bin/duplicity", line 1560, in <module>
DUPLICITY: . with_tempdir(main)
DUPLICITY: . File "/usr/bin/duplicity", line 1546, in with_tempdir
DUPLICITY: . fn()
DUPLICITY: . File "/usr/bin/duplicity", line 1385, in main
DUPLICITY: . action = commandline.ProcessCommandLine(sys.argv[1:])
DUPLICITY: . File "/usr/lib64/python2.7/site-packages/duplicity/commandline.py", line 1127, in ProcessCommandLine
DUPLICITY: . globals.backend = backend.get_backend(args[0])
DUPLICITY: . File "/usr/lib64/python2.7/site-packages/duplicity/backend.py", line 223, in get_backend
DUPLICITY: . obj = get_backend_object(url_string)
DUPLICITY: . File "/usr/lib64/python2.7/site-packages/duplicity/backend.py", line 209, in get_backend_object
DUPLICITY: . return factory(pu)
DUPLICITY: . File "/usr/lib64/python2.7/site-packages/duplicity/backends/_cf_pyrax.py", line 41, in __init__
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
$ |
|