In preparation for the region migration of beta cluster, we need to ensure that there are no IP addresses for beta hard-coded anywhere in puppet and instead that we switch to using DNS lookups.
Description
Details
Subject | Repo | Branch | Lines +/- | |
---|---|---|---|---|
Change static IPs to host names | operations/puppet | production | +6 -6 |
Status | Subtype | Assigned | Task | ||
---|---|---|---|---|---|
Open | None | T53494 Use Beta cluster as a true canary for code deployments (epic) | |||
Open | None | T87220 Minimize infrastructure differences between Beta Cluster and production | |||
Open | None | T196662 Set up LVS in beta like prod | |||
Resolved | bd808 | T166396 Program 1 Outcome 4: VPS hosting | |||
Resolved | None | T167293 Nova-network to Neutron migration | |||
Resolved | Krenair | T208101 Migrate deployment-prep to eqiad1 | |||
Resolved | • mmodell | T208262 Ensure there are no hard-coded IPs in use for beta |
Event Timeline
A git grep for 10.68 yields a good amount of stuff related to beta-cluster.
FrEx:
hieradata/labs/deployment-prep/common.yaml 191: - 10.68.23.25:11211:1 # deployment-memc04 192: - 10.68.23.49:11211:1 # deployment-memc05 197: host: 10.68.23.25 # deployment-memc04 200: host: 10.68.23.49 # deployment-memc05 245:"role::url_downloader::url_downloader_ip": 10.68.19.117 # deployment-urldownloader02 329: host: 10.68.19.242 # deployment-redis06 332: host: 10.68.20.16 # deployment-redis06
There is stuff in network::constants as well.
Change 472507 had a related patch set uploaded (by 20after4; owner: 20after4):
[operations/puppet@production] Change static IPs to host names
Change 472507 merged by Andrew Bogott:
[operations/puppet@production] Change static IPs to host names
All of the 10.* references in hieradata/labs/deployment-prep/common.yaml are gone now, but a few 172.16.* ones have crept in there as well as in the hiera data managed in Horizon. It turns out that there are at least a few Puppet modules (for example ::profile::mediawiki::nutcracker) that only work with IP addresses.
Yeah. There's some notes after relevant lines in https://etherpad.wikimedia.org/p/deployment-prep-to-neutron about what got updated and where.