Page MenuHomePhabricator

request service IP / DNS name for gitlab-replica, apply puppet role on gitlab2001
Closed, ResolvedPublic

Description

A second gitlab VM for codfw has been created in T285456.

To make it an actual replica and test restore from backup for T285867, we need to reserve a service IP (v4 and v6) in netbox and give it a DNS name like "gitlab-replica.wikimedia.org" (similar to gerrit-replica.wikimedia.org).

https://gerrit.wikimedia.org/r/c/operations/puppet/+/702123/ made it possible to assign a different service IP per DC, so the new IP needs to be added to hieradata/common/codfw and then puppet will add it to the interface.

This requires putting the gitlab role on the machine that is for now using "insetup".

Event Timeline

Volans triaged this task as Medium priority.Jul 15 2021, 2:11 PM
Volans added a subscriber: Volans.

@Jelto and I went over this together and created the related IPs in Netbox.
We did also chat a bit about possible failover scenarios and it might happen that the DNS name of these records will be changed later on, but for now they are ready to be used to unblock the gitlab installation process.

host gitlab-replica.wikimedia.org
gitlab-replica.wikimedia.org has address 208.80.153.105
gitlab-replica.wikimedia.org has IPv6 address 2620:0:860:4:208:80:153:105

:)

Change 704801 had a related patch set uploaded (by Jelto; author: Jelto):

[operations/puppet@production] site: assign role gitlab to gitlab2001

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

Change 704801 merged by Jelto:

[operations/puppet@production] site: assign role gitlab to gitlab2001

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

Jelto renamed this task from request service IP / DNS name for gitlab-failover, apply puppet role on gitlab2001 to request service IP / DNS name for gitlab-replica, apply puppet role on gitlab2001.Aug 4 2021, 11:03 AM
Jelto closed this task as Resolved.