python-cloudfiles deprecated

Bug #1179322 reported by Jonathan Krauss
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Duplicity
New
Undecided
Unassigned

Bug Description

Rackspace has deprecated python-cloudfiles in favor of their pyrax library, which consolidates all Rackspace Cloud API functionality into a single library. Attached is a simple backend for pyrax, ported over from cloudfiles. I tested it with Duplicity 0.6.21 on both Arch Linux and FreeBSD 8.3.0.

Revision history for this message
Jonathan Krauss (jkrauss) wrote :
Revision history for this message
Jesus Monzon (gsusmonzon) wrote :

Hello Jonathan, all,
I can confirm that your script works with Ubuntu 12.04 as well.
However with the newer versions of pyrax, you must include

pyrax.set_setting("identity_type", "rackspace")

before starting the authentication.

Thanks

Revision history for this message
edso (ed.so) wrote :

hi Jonathan,

would you be willing to add the missing documentation to the manpage (sections REQUIREMENTS, URL FORMAT, NOTES ON CLOUDFILES) as well? you would have to hack latest "bin/duplicity.1" and check your changes with "man -l bin/duplicity.1"

could you also check the change by Jesus is needed and include it properly, if necessary?

i assume the backend was tested (with which dupilcity version?) or is running somewhere on your site?

can you upload all changes into a branch for Ken the maintainer to evaluate and commit eventually? if not, i could do that. i wonder we should integrate a --backend-cf switch, similar to how --backend-ssh is handling the legacy ssh backend.

..thx ede/duply.net

Revision history for this message
Jonathan Krauss (jkrauss) wrote :

I added Jesus' change and updated the man page. Pyrax backend is now in a new branch ~jkrauss/duplicity/pyrax.

Revision history for this message
Jonathan Krauss (jkrauss) wrote :

Forgot to answer your question on testing... I've tested the backend with Duplicity 0.6.22-1 on Arch Linux in a test environment for both backup and restore. I had it running "in production" on my file server for a while but I migrated that to a FreeNAS recently and haven't gotten Duplicity re-installed there yet.

Revision history for this message
Chris Snell (chris-snell) wrote :

I've tested this backend on Mac OS X and it seems to work well. When will this be merged and packaged with a release? There are a few of us eagerly awaiting this. :)

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote : Re: [Bug 1179322] Re: python-cloudfiles deprecated

Will get it in the 0.6.23 version, to be released soon.

On Fri, Nov 22, 2013 at 6:33 PM, Chris Snell <email address hidden>wrote:

> I've tested this backend on Mac OS X and it seems to work well. When
> will this be merged and packaged with a release? There are a few of us
> eagerly awaiting this. :)
>
> --
> You received this bug notification because you are subscribed to
> Duplicity.
> https://bugs.launchpad.net/bugs/1179322
>
> Title:
> python-cloudfiles deprecated
>
> Status in Duplicity - Bandwidth Efficient Encrypted Backup:
> New
>
> Bug description:
> Rackspace has deprecated python-cloudfiles in favor of their pyrax
> library, which consolidates all Rackspace Cloud API functionality into
> a single library. Attached is a simple backend for pyrax, ported over
> from cloudfiles. I tested it with Duplicity 0.6.21 on both Arch Linux
> and FreeBSD 8.3.0.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/duplicity/+bug/1179322/+subscriptions
>

Revision history for this message
Yajo (yajo) wrote :

It seems now pyrax is also deprecated also, so although the issue is still valid, the fix isn't.

Neither python-cloudfiles nor pyrax are available for Python 3.

Revision history for this message
Kenneth Loafman (kenneth-loafman) wrote :

You can use "pip3 install pyrax", however python-cloudfiles has not been ported yet.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.