Geo: Trailing / missing from secondary Name in geo admin area causes Not a secondary node
When setting up the
Name of a secondary node in the admin area of the primary, the trailing
/ is necessary. When it is missing,
gitlab-rake gitlab:geo:check returns
not a secondary node. The trailing
/ is necessary even when it is not included in the
external_url of the secondary node.
Steps to reproduce
- Navigate to the Geo admin area on the primary (
- Add or edit a secondary node.
- Set the
Namewithout the trailing
gitlab-rake gitlab:geo:checkon the secondary and see
not a secondary node
- Adding the trailing
/will make the check pass.
What is the current bug behavior?
/ is needed in the
Name of the secondary node in the primary Geo admin area. Even when it is not included in the
external_url of the secondary.
What is the expected correct behavior?
/ should not be needed. Especially when it is not included in
Noticed on 11.11.x