Project

General

Profile

Bug #57840

mgr/dashboard: "Add Host" rejects IPv6 addresses

Added by Björn Lässig 4 months ago. Updated 4 months ago.

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

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

Description of problem

After setup a Cluster with cephadm it is not possible to add Hosts with its IPv6 addess via dashboard.

Environment

  • ceph version string: 17.2.4 (1353ed37dec8d74973edc3d5d5908c20ad5a7332) quincy (stable)
  • Platform (OS/distro/release): Debian Bullseye (stable)
  • Cluster details (nodes, monitors, OSDs): Testcluster 3 Nodes, 21 OSDs
  • Did it happen on a stable environment or after a migration/upgrade?: it happened after a new clean setup with cephadm
  • Browser used (e.g.: Version 86.0.4240.198 (Official Build) (64-bit)): chromium

How reproducible

Steps:

  1. cephadm bootstrap --mon-ip [2a0a:edc0:0:1202:1d::40] --cluster-network 2a0a:edc0:0:1203::/64 --with-centralized-logging --ssh-public-key .ssh/id_ed25519.pub --ssh-private-key .ssh/id_ed25519
  2. open browser ... connect to [2a0a:edc0:0:1202:1d::40]:8443 and login
  3. open Custer:Hosts
  4. Click Add
  5. add name and ipv6 address

Actual results

Look @ screenshots.
It moans about every IPv6 address: "The value is not a valid IP address"

Expected results

I expect that IPv6 addresses are valid IP addresses

Additional info

I used cli as workaround:

cephadm shell -- ceph orch host add marvin07 2a0a:edc0:0:1202:1d::3d

add_host_ipv6.png View (30.7 KB) Björn Lässig, 10/11/2022 09:08 AM

History

#1 Updated by Nizamudeen A 4 months ago

  • Status changed from New to Triaged
  • Assignee set to Bryan Montalvan

Also available in: Atom PDF