Project

General

Profile

Actions

Bug #52117

closed

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

Added by Harry Coin over 4 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% Done:

100%

Source:
Backport:
pacific octopus
Regression:
Yes
Severity:
2 - major
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v17.0.0-7097-g9788d202e7
Released In:
v17.2.0~1137
Upkeep Timestamp:
2025-07-14T16:44:13+00:00

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 1 (0 open1 closed)

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

Actions

Related issues 4 (0 open4 closed)

Related to Dashboard - Backport #45020: octopus: mgr/dashboard: standby mgr redirects to a IP address instead of a FQDN URLResolvedVolker TheileActions
Has duplicate mgr - Bug #51564: Dashboard URL address is incorrect after bootstrap with IPV6 addressDuplicate

Actions
Copied to Dashboard - Backport #52325: pacific: mgr/dashboard: redirect to active mgr ipv6 lacks [], failsResolvedErnesto PuertaActions
Copied to Dashboard - Backport #52326: octopus: mgr/dashboard: redirect to active mgr ipv6 lacks [], failsRejectedActions
Actions #1

Updated by Ernesto Puerta over 4 years 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
Actions #2

Updated by Sebastian Wagner over 4 years ago

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

Updated by Sebastian Wagner over 4 years ago

  • Description updated (diff)
Actions #4

Updated by Sebastian Wagner over 4 years ago

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

Updated by Sebastian Wagner over 4 years ago

  • Has duplicate Bug #51564: Dashboard URL address is incorrect after bootstrap with IPV6 address added
Actions #6

Updated by Sebastian Wagner over 4 years 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
Actions #7

Updated by Alfonso Martínez over 4 years ago

  • Backport set to pacific octopus
Actions #8

Updated by Alfonso Martínez over 4 years ago

  • Status changed from Fix Under Review to Pending Backport
Actions #9

Updated by Upkeep Bot over 4 years ago

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

Updated by Upkeep Bot over 4 years ago

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

Updated by Konstantin Shalygin almost 3 years ago

  • Status changed from Pending Backport to Resolved
Actions #13

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to 9788d202e7d433a6819f7474612bb69f98dc4013
  • Fixed In set to v17.0.0-7097-g9788d202e7
  • Released In set to v17.2.0~1137
  • Upkeep Timestamp set to 2025-07-14T16:44:13+00:00
Actions

Also available in: Atom PDF