Project

General

Profile

Actions

Bug #52117

closed

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

Added by Harry Coin over 2 years ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
% 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%


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 2 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 2 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 2 years ago

  • Description updated (diff)
Actions #4

Updated by Sebastian Wagner over 2 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 2 years ago

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

Updated by Sebastian Wagner over 2 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 2 years ago

  • Backport set to pacific octopus
Actions #8

Updated by Alfonso Martínez over 2 years ago

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

Updated by Backport Bot over 2 years ago

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

Updated by Backport Bot over 2 years ago

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

Updated by Backport Bot over 1 year ago

  • Tags set to backport_processed
Actions #12

Updated by Konstantin Shalygin about 1 year ago

  • Status changed from Pending Backport to Resolved
Actions

Also available in: Atom PDF