Hi,
is there anything in the Ceph mgr log file that might give a hint on why
the dashboard is not starting?
Lenz
On 2020-04-05 13:03, sz_cuitao(a)163.com wrote:
hi:
I enabled the dashboard module of ceph mgr and configed it,but it does not works.
why it is?
[cephuser@cadmin ~]$ sudo ceph mgr module enable dashboard
module 'dashboard' is already enabled
[cephuser@cadmin ~]$ sudo ceph config set mgr mgr/dashboard/server_addr 192.168.137.90
[cephuser@cadmin ~]$
[cephuser@cadmin ~]$
[cephuser@cadmin ~]$ sudo ceph config set mgr mgr/dashboard/server_port 6000
[cephuser@cadmin ~]$
[cephuser@cadmin ~]$
[cephuser@cadmin ~]$ sudo ceph dashboard ac-user-create admin ceph123 administrator
[root@cadmin ~]# systemctl restart ceph-mgr@cadmin
[root@cadmin ~]#
[root@cadmin ~]#
[root@cadmin ~]# netstat -an | grep 6000
[root@cadmin ~]#
[root@cadmin ~]#
[root@cadmin ~]#
[root@cadmin ~]# ceph mgr services
{}
[root@cadmin ~]#
[root@cadmin ~]#
[root@cadmin ~]#
[root@cadmin ~]# systemctl status ceph-mgr@cadmin
● ceph-mgr(a)cadmin.service - Ceph cluster manager daemon
Loaded: loaded (/usr/lib/systemd/system/ceph-mgr@.service; enabled; vendor preset:
disabled)
Active: active (running) since Sun 2020-04-05 18:57:44 CST; 5min ago
Main PID: 86161 (ceph-mgr)
CGroup: /system.slice/system-ceph\x2dmgr.slice/ceph-mgr(a)cadmin.service
└─86161 /usr/bin/ceph-mgr -f --cluster ceph --id cadmin --setuser ceph
--setgroup ceph
Apr 05 18:57:44 cadmin systemd[1]: Stopping Ceph cluster manager daemon...
Apr 05 18:57:44 cadmin systemd[1]: Stopped Ceph cluster manager daemon.
Apr 05 18:57:44 cadmin systemd[1]: Started Ceph cluster manager daemon.
--
SUSE Software Solutions Germany GmbH - Maxfeldstr. 5 - 90409 Nuernberg
GF: Felix Imendörffer, HRB 36809 (AG Nürnberg)