Page MenuHomePhabricator

Clean up the patchdemo3.visualeditor.eqiad1.wikimedia.cloud instance
Closed, ResolvedPublic

Description

I got an email from T428196 about the patchdemo3.visualeditor.eqiad1.wikimedia.cloud instance, still running Debian Bullseye.

I shut it down in Horizon, after which I learned that it still powers the redirect from https://patchdemo.wmflabs.org/ to https://patchdemo.wmcloud.org/. I started it back up for now. As far as I know, it's not needed for anything else.

Is there some way to transfer that domain to the new catalyst project, so that we can shut down and delete this old instance in the visualeditor project?

Event Timeline

Yes, you'll need to move the proxy from visualeditor project to catalyst using https://horizon.wikimedia.org/project/proxy/ and point it to an instance which will do the redirect. There will be some downtime while the move is in progress, though I think that's acceptable

Can you advise on how to do that? I don't see an option to move it to another project in the Horizon interface. I presumably also can't just delete it and re-create it under catalyst, since there is no option to choose wmflabs.org as the domain for a newly created proxy.

I found this: https://wikitech.wikimedia.org/wiki/Help:Using_a_web_proxy_to_reach_Cloud_VPS_servers_from_the_internet#Migrate_from_a_*.wmflabs.org_proxy_to_a_*.wmcloud.org_proxy which says I can just delete the patchdemo.wmflabs.org proxy, and Cloud VPS will make that domain automatically redirect to patchdemo.wmcloud.org. I also found my old notes at https://gitlab.wikimedia.org/repos/ci-tools/patchdemo/-/work_items/611#note_95789, where 2 years ago I wrote that we should do this "in a few weeks". I don't think there's a way to test it without actually deleting the proxy, so we'll have to take a leap of faith. I will do that now.

matmarex claimed this task.

That worked! I went ahead and deleted the instance now, as well as the old "patchdemo3-wikis" storage volume that was attached to it.