Project

General

Profile

Actions

Bug #36288

open

ceph manager not picking up config settings

Added by Richard Arends over 5 years ago. Updated about 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
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

Trying to set configuration settings for ceph dashboard, specific for a host are not picked up. For every mgr host in our cluster i try to set settings like the SSL certificate file, key and ip address, for one of the current mgr nodes, these are the current settings (ip address and hostname obfuscated)

# ceph config-key dump|grep mgr|grep -v history
    "mgr/dashboard/my-host-name/crt": "-----BEGIN CERTIFICATE----- ..... ",
    "mgr/dashboard/my-host-name/key": "-----BEGIN PRIVATE KEY----- ..... ",
    "mgr/dashboard/my-host-name/server_addr": "10.10.10.10",
    "mgr/dashboard/my-host-name/server_port": "8443",

After restart the mgr service the output of `ceph mgr services` shows an empty list/hash. Putting the manager in debug mode and looking at the logs, shows that SSL is not configured. But also a key like server_addr is not picked up.

2019-10-02 13:16:04.676 7ff482811700  4 mgr get_config get_config key: mgr/dashboard/my-host-name/server_addr
2018-10-02 13:16:04.676 7ff482811700  4 ceph_config_get my-host-name/server_addr not found
2018-10-02 13:16:04.676 7ff482811700  4 mgr get_config get_config key: mgr/dashboard/server_addr
2018-10-02 13:16:04.676 7ff482811700  4 ceph_config_get server_addr not found
2018-10-02 13:16:04.676 7ff482811700  4 mgr get_config get_config key: mgr/dashboard/my-host-name/server_port
2018-10-02 13:16:04.676 7ff482811700  4 ceph_config_get my-host-name/server_port not found
2018-10-02 13:16:04.676 7ff482811700  4 mgr get_config get_config key: mgr/dashboard/server_port
2018-10-02 13:16:04.676 7ff482811700  4 ceph_config_get server_port not found
2018-10-02 13:16:04.676 7ff482811700  4 mgr[dashboard] server_addr: :: server_port: 8443
2018-10-02 13:16:04.676 7ff482811700  4 mgr get_store get_store key: mgr/dashboard/crt
2018-10-02 13:16:04.676 7ff482811700  4 ceph_store_get crt not found
2018-10-02 13:16:04.676 7ff482811700  4 mgr get_config get_config key: mgr/dashboard/my-host-name/crt_file
2018-10-02 13:16:04.676 7ff482811700  4 ceph_config_get my-host-name/crt_file not found
2018-10-02 13:16:04.676 7ff482811700  4 mgr get_config get_config key: mgr/dashboard/crt_file
2018-10-02 13:16:04.676 7ff482811700  4 ceph_config_get crt_file not found
2018-10-02 13:16:04.676 7ff482811700  4 mgr get_store get_store key: mgr/dashboard/key
2018-10-02 13:16:04.676 7ff482811700  4 ceph_store_get key not found
2018-10-02 13:16:04.676 7ff482811700  4 mgr get_config get_config key: mgr/dashboard/my-host-name/key_file
2018-10-02 13:16:04.676 7ff482811700  4 ceph_config_get my-host-name/key_file not found
2018-10-02 13:16:04.676 7ff482811700  4 mgr get_config get_config key: mgr/dashboard/key_file
2018-10-02 13:16:04.676 7ff482811700  4 ceph_config_get key_file not found
2018-10-02 13:16:04.676 7ff482811700  4 mgr[dashboard] Config not ready to serve, waiting: no certificate configured

Related issues 1 (0 open1 closed)

Related to mgr - Bug #21598: Users can do "config-key set" while mgr runs, but it doesn't see settingsResolved

Actions
Actions #1

Updated by Greg Farnum over 5 years ago

  • Project changed from Ceph to mgr
  • Category deleted (common)
Actions #2

Updated by Sebastian Wagner about 5 years ago

  • Related to Bug #21598: Users can do "config-key set" while mgr runs, but it doesn't see settings added
Actions

Also available in: Atom PDF