Skip to content

Change node name when enabling PROXYv2

Igor requested to merge proxyv2-node-name-change into master

There is a longer write-up incoming on this.

TLDR:

  • This should fix the issues encountered in https://ops.gitlab.net/gitlab-cookbooks/chef-repo/-/merge_requests/4718.
  • We hit a pathological case with server-state-file.
  • When we keep the node name the same, but change the port, HAProxy will use the previous port from the state file, instead of the new port from the config file.
  • By changing the node name, we force it to discard the persisted state for that node.

refs https://gitlab.com/gitlab-com/gl-infra/infrastructure/-/issues/11902

Merge request reports