Project

General

Profile

Actions

Bug #51601

closed

mgr/dashboard: server does not bind to all addresses anymore

Added by Jan Graichen almost 3 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Low
Assignee:
-
Category:
cephadm
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

I've upgraded ceph-mgr from 16.2.4 to 16.2.5 and the dashboard stopped listing on all addresses. Instead, it uses the cluster address:

> ceph config get mgr mgr/dashboard/server_addr
::

> ss -tulpn | grep mgr
tcp   LISTEN   0        5            10.230.100.21:8443           0.0.0.0:*      users:(("ceph-mgr",pid=1314023,fd=24))

Explicitly assigning an address does work:

> ceph config set mgr mgr/dashboard/server_addr '::1'
> systemctl restart ceph-mgr.target
> ss -tulpn | grep mgr
tcp   LISTEN   0        5                    [::1]:8443              [::]:*      users:(("ceph-mgr",pid=1319150,fd=24))
Actions #1

Updated by Ernesto Puerta over 2 years ago

  • Project changed from Dashboard to Orchestrator
  • Category set to cephadm

I think this is related to the change in the URI setting and hostname/IP address handling.

Actions #2

Updated by Sebastian Wagner over 2 years ago

do we need to do anything on the cephadm side?

Actions #3

Updated by Redouane Kachach Elhichou about 2 years ago

I'm not sure if this issue has to do with cephadm or not. Anyway, in a fresh created cluster (using master code) dashboard seems to bind to all addresses:

[root@ceph-node-0 ~]# ss -tulpn | grep mgr
tcp   LISTEN 0      5      192.168.100.100:7150      0.0.0.0:*    users:(("ceph-mgr",pid=106911,fd=56))     
tcp   LISTEN 0      512            0.0.0.0:6800      0.0.0.0:*    users:(("ceph-mgr",pid=106911,fd=27))     
tcp   LISTEN 0      512            0.0.0.0:6801      0.0.0.0:*    users:(("ceph-mgr",pid=106911,fd=28))     
tcp   LISTEN 0      5                    *:8443            *:*    users:(("ceph-mgr",pid=106911,fd=43))     
tcp   LISTEN 0      5                    *:9283            *:*    users:(("ceph-mgr",pid=106911,fd=40))
Actions #4

Updated by Redouane Kachach Elhichou about 2 years ago

  • Priority changed from Normal to Low
Actions #5

Updated by Redouane Kachach Elhichou about 2 years ago

Closing because cannot be reproduced and seems to be fixed on master/quincy.

Actions #6

Updated by Redouane Kachach Elhichou about 2 years ago

  • Status changed from New to Closed
Actions

Also available in: Atom PDF