Page MenuHomePhabricator

Toolforge: migrate docker registry to Debian Buster
Closed, ResolvedPublic

Description

As of this ticket, the toolforge docker registry is running on a Debian Stretch VM, and it needs to migrate to Debian Buster.

We could probably couple this migration with relocating the storage data to a cinder volume, and stop using a cold-standby server for storage purposes, which will save us 1 floating IP as well.

Event Timeline

Mentioned in SAL (#wikimedia-cloud) [2021-03-24T11:20:27Z] <arturo> created 80G cinder volume tools-docker-registry-data (T278303)

aborrero triaged this task as Medium priority.Mar 24 2021, 11:20 AM
aborrero moved this task from Inbox to Doing on the cloud-services-team (Kanban) board.

Mentioned in SAL (#wikimedia-cloud) [2021-03-24T11:23:51Z] <arturo> created 2G cinder volume toolsbeta-docker-registry-data (T278303)

Mentioned in SAL (#wikimedia-cloud) [2021-03-24T11:41:48Z] <arturo> created VM toolsbeta-docker-registry-02 as Debian buster (T278303)

Mentioned in SAL (#wikimedia-cloud) [2021-03-24T11:46:45Z] <arturo> attach cinder volume tools-docker-registry-data to VM tools-docker-registry-03 to format it and pre-populate it with registry data (T278303)

Mentioned in SAL (#wikimedia-cloud) [2021-03-24T12:09:13Z] <arturo> dettach cinder volume tools-docker-registry-data (T278303)

Mentioned in SAL (#wikimedia-cloud) [2021-03-24T12:11:02Z] <arturo> created VM tools-docker-registry-06 as Debian Buster (T278303)

Change 674576 had a related patch set uploaded (by Arturo Borrero Gonzalez; owner: Arturo Borrero Gonzalez):
[operations/puppet@production] toolforge: docker registry: don't use labs_lvm on buster

https://gerrit.wikimedia.org/r/674576

Change 674576 merged by Arturo Borrero Gonzalez:
[operations/puppet@production] toolforge: docker registry: don't use labs_lvm on buster

https://gerrit.wikimedia.org/r/674576

Mentioned in SAL (#wikimedia-cloud) [2021-03-24T12:32:57Z] <arturo> snapshot cinder volume tools-docker-registry-data into tools-docker-registry-data-stretch-migration (T278303)

Mentioned in SAL (#wikimedia-cloud) [2021-03-24T12:33:55Z] <arturo> attach cinder volume tools-docker-registry-data to VM tools-docker-registry-05 (T278303)

Mentioned in SAL (#wikimedia-cloud) [2021-03-24T12:38:21Z] <arturo> associate floating IP 185.15.56.67 with tools-docker-registry-05 and refresh FQDN docker-registry.tools.wmflabs.org accordingly (T278303)

Mentioned in SAL (#wikimedia-cloud) [2021-03-24T12:46:38Z] <arturo> shutoff the old stretch VMs tools-docker-registry-03 and tools-docker-registry-04 (T278303)

Mentioned in SAL (#wikimedia-cloud) [2021-04-13T11:20:18Z] <arturo> deleted shutoff VM tools-docker-registry-03,04 (T278303)