How to change authenticator for Rackspace

Asked by Richard Hamilton

I'm using deja-dup 22.0 on Ubuntu 12.04 with backups going to Rackspace. Everything has been working correctly for over a year and the software is up-to-date (I know 22.0 is not the most recent release, but it appears to be the most recent version distributed for 12.04).

The folks at Rackspace tell me that the URL https://api.mosso.com is going away and that it should be replaced with https://identity.api.rackspacecloud.com.

I believe (though I can't confirm) that this is the URL deja-dup uses as the endpoint for authentication to access Rackspace, however, I can't find where this URL is set.

Can anyone tell me where this information is kept so I can change it?

Based on other posts in this forum and just poking around, I have checked dconf (using dconf-editor), ~/.gconf, ~/.dconf, /usr/share/deja-dup, and usr/lib/deja-dup with no luck.

Any help would be greatly appreciated.

Question information

Language:
English Edit question
Status:
Solved
For:
Déjà Dup Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Terry
Solved:
Last query:
Last reply:
Revision history for this message
Best Michael Terry (mterry) said :
#1

The URL "auth.api.rackspacecloud.com" is hardcoded in deja-dup and python-cloudfiles. Deja Dup has never used the mosso URL. And python-cloudfiles hasn't used it since version 1.7.0.

I think you should be fine, unless Rackspace told you specifically that you've been using the old URL and need to update.

Revision history for this message
Richard Hamilton (hamilton-g) said :
#2

Hi Mike,

Thanks for the information. I thought this might be hard-coded somewhere. I'm glad to hear that the mosso URL has never been used by Deja Dup.

Rackspace did tell me I was using that URL, so I'll need to figure out what's up, but it's clearly not happening through Deja Dup.

Best Regards,
Richard Hamilton

Revision history for this message
Michael Terry (mterry) said :
#3

If you do find out that Deja Dup is responsible somehow (maybe its dependencies like python-cloudfiles are still using it), please let me know!

Revision history for this message
Richard Hamilton (hamilton-g) said :
#4

I definitely will let you know. But things are looking pretty good. The Rackspace deadline was 9/14, and I just tested both backup and restore and they both are working correctly.

I'm checking again with Rackspace to see if they can look a bit further and figure out what's up. If I run into anything that points anywhere near Deja Dup or python-cloudfiles, I'll let you know.

Revision history for this message
Richard Hamilton (hamilton-g) said :
#5

Hi Michael,

I just discovered that this was coming from python-cloudfiles. In the file (on my system) /usr/share/pyshared/cloudfiles/consts.py there is a reference to https://api.mosso.com. It's easy enough to fix locally, so I did on my system, and was able to successfully test a restore from Rackspace.

The version of python-cloudfiles is 1.5.0, which is pretty old. I looked at what I believe is the current version (1.7.10), and it has the correct rackspace URL.

That said, 1.5.0 appears to be the version that is currently considered "current" for Ubuntu 12.04, which is where anyone who wants a long-term support version of Ubuntu is working. So, when Rackspace actually does decommission this URL (I don't think they have quite yet), you may hear about breakage:-).

Best regards,
Richard

Revision history for this message
Michael Terry (mterry) said :
#6

Ah... That's because 12.04 had two versions of that package: python-cloudfiles (1.7) and python-rackspace-cloudfiles (1.5). Later releases dropped the python-rackspace-cloudfiles, but for 12.04, deja-dup was set up to depend on python-rackspace-cloudfiles.

Glad you fixed it. I believe another way (probably better than manually editing system files) is to install python-cloudfiles instead. Deja Dup should be just as happy with that.

Revision history for this message
Michael Terry (mterry) said :
#7

Whoops, later releases didn't drop python-rackspace-cloudfiles (though Deja Dup did switch which package it recommended). I've filed bug 1227347 to drop it from the archive.