Project

General

Profile

Bug #52117

mgr/dashboard: redirect to active mgr ipv6 lacks [], fails

Added by Harry Coin 3 months ago. Updated 2 months ago.

Status:
Pending Backport
Priority:
Normal
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
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%


Subtasks

Bug #52373: mgr/{prometheus,restful}: Fix url generationPending BackportSebastian Wagner


Related issues

Related to Dashboard - Backport #45020: octopus: mgr/dashboard: standby mgr redirects to a IP address instead of a FQDN URL Resolved
Duplicated by mgr - Bug #51564: Dashboard URL address is incorrect after bootstrap with IPV6 address Duplicate
Copied to Dashboard - Backport #52325: pacific: mgr/dashboard: redirect to active mgr ipv6 lacks [], fails Resolved
Copied to Dashboard - Backport #52326: octopus: mgr/dashboard: redirect to active mgr ipv6 lacks [], fails New

History

#1 Updated by Ernesto Puerta 2 months ago

  • Project changed from Dashboard to Orchestrator
  • Subject changed from mgr/dashboard: redirect to active mgr ipv6 lacks [], fails to mgr/cephadm: redirect to active mgr ipv6 lacks [], fails

#2 Updated by Sebastian Wagner 2 months ago

  • Related to Backport #45020: octopus: mgr/dashboard: standby mgr redirects to a IP address instead of a FQDN URL added

#3 Updated by Sebastian Wagner 2 months ago

  • Description updated (diff)

#4 Updated by Sebastian Wagner 2 months ago

  • Status changed from New to Fix Under Review
  • Assignee set to Sebastian Wagner
  • Pull request ID set to 42793

#5 Updated by Sebastian Wagner 2 months ago

  • Duplicated by Bug #51564: Dashboard URL address is incorrect after bootstrap with IPV6 address added

#6 Updated by Sebastian Wagner 2 months ago

  • Project changed from Orchestrator to Dashboard
  • Subject changed from mgr/cephadm: redirect to active mgr ipv6 lacks [], fails to mgr/dashboard: redirect to active mgr ipv6 lacks [], fails

#7 Updated by Alfonso Martínez 2 months ago

  • Backport set to pacific octopus

#8 Updated by Alfonso Martínez 2 months ago

  • Status changed from Fix Under Review to Pending Backport

#9 Updated by Backport Bot 2 months ago

  • Copied to Backport #52325: pacific: mgr/dashboard: redirect to active mgr ipv6 lacks [], fails added

#10 Updated by Backport Bot 2 months ago

  • Copied to Backport #52326: octopus: mgr/dashboard: redirect to active mgr ipv6 lacks [], fails added

Also available in: Atom PDF