RackSpace UK Cloud Files Endpoint URL out of date

I received a notification from Rackspace that my account was using an outdate URL for their authentication endpoint. After checking all my code (we use Cloud Files in a number of projects) I realise that it was Virtualmin which us using the old URL for backups.

Rackspace are due to turn off the old URL on 19th May. Is there a way this can be updated?

Notification from Rackspace:

You are receiving this email because your systems have been identified to be hitting one of the endpoints that are being deprecated.

What is happening?
•	We are retiring old API endpoint hostnames to simplify our DNS and application configuration.
•	The endpoint will be deprecated on Monday 19 May 2025.

How does this affect me?
Your systems have been identified to be hitting one of the endpoints. If the deprecated endpoints are not updated before the certificate expiration on Monday 19 May 2025, it may lead to certificate validation errors, followed by the inability to connect once the DNS lookups stop functioning. 

What needs to be done?
You will need to update your code/configuration to use the hostname identity.api.rackspacecloud.com for your API calls instead of auth.api.rackspacecloud.com

Old URL in Virtualmin source: virtualmin-gpl/cloud-lib.pl at b3f8ec7eb12de229135b7741afbec4e8e48f9621 · virtualmin/virtualmin-gpl · GitHub

The correct new hostname for the UK is lon.identity.api.rackspacecloud.com

Shall I submit a PR to change this?

Once the code is updated, will this apply automatically to existing configurations? If not, there may be lot of servers who’s backups start failing on May 19th…

Hello,

Thanks for the heads up!

@Jamie, could you take a look?

Let me know if this commit fixes it : Fix rackspace london endpoint selection · virtualmin/virtualmin-gpl@7a9bc76 · GitHub

We could also automatically update any systems using the old endpoint in the next Virtualmin release?

That looks like it will work. The new URL is correct.

It’s hard to test however as the old URL will continue working until 19th May.

An automated update for existing backups would be very useful (and hopefully will prevent people who aren’t aware being caught out).

No, it’s not hard at all:

webmin patch https://github.com/virtualmin/virtualmin-gpl/commit/7a9bc76

Ok this will happen in the next Virtualmin release.

I’ve run the patch command and got back:

Patch applied successfully to:
  cloud-lib.pl

I’ve run a backup and it worked correctly.

My comment about it being hard to test was more about the fact that the current auth endpoint URL still works until 19th May, so nothing was visibly or functionally broken.

I can’t see anything in the backup output to say if the patch caused the new endpoint URL to be used for the backup, so I still can’t say if this fix ‘worked’ but given that it’s a very simple change it looks like it will, and it hasn’t broken anything which was working in terms of running a backups to cloud files.

Excellent, assuming the next release will be ahead of May 19th we should be good. Thanks for the prompt fix.

We will try our best! Thanks for the heads up!

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.