Actions
Bug #52117
closedmgr/dashboard: redirect to active mgr ipv6 lacks [], fails
% Done:
100%
Source:
Tags:
backport_processed
Backport:
pacific octopus
Regression:
Yes
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
Latest pacific:
The patch described here: https://tracker.ceph.com/issues/45020
fails when the non-active mgr redirects via ip address and the address is ipv6. Patch author assumed v4? Needs [] for v6.
viz:
$ wget https://noc1.1.quietfountain.com:8443/ --2021-08-09 15:18:52-- https://noc1.1.quietfountain.com:8443/ Resolving noc1.1.aaaa.com (noc1.1.aaaa.com)... fc00:1002:c7::41, 10.12.112.65 Connecting to noc1.1.aaaa.com (noc1.1.aaaa.com)|fc00:1002:c7::41|:8443... connected. HTTP request sent, awaiting response... 303 See Other Location: https://fc00:1002:c7::42:8443/ [following] https://fc00:1002:c7::42:8443/: Bad port number.
Environment¶
- Stable.
- Chromium, firefox, 'wget'
How reproducible¶
Steps: 100%
Actions