Sorry for the typo: must be journalctl -f instead of syslogctl -f.-gw On Tue, 2020-04-28 at 19:12 +0000, Gert Wieberdink wrote:
Hello Simon,ceph-mgr and dashboard installation should bestraightforward.These are tough ones (internal server error 500). Did you create a selfsigned cert for dashboard?Did you check firewalld (port 8443) and/orSELinux? Does syslogctl -f show anything?rgds,-gwOn Tue, 2020-04-28 at 12:17 +0000, Simon Sutter wrote:
<!--p {margin-top:0; margin-bottom:0}-->
Hello,
Yes I upgraded the system to Centos8 and now I can install thedashboard module.But the problem now is, I cannot log in to the dashboard.I deleted every cached file on my end and reinstalled the mgr anddashboard several times.If I try to log in with a wrong password, it tells me that it'swrong, but if i use the right password, it just gives me a "500Internal Server Error". I enabled the debug mode for the mgr: ceph config set mgrmgr/dashboard/log_level debug But in the /var/log/ceph/ceph-mgr.node1.log it just tells me thisgeneric message (ips replaced with 0.0.0.0):
2020-04-28T14:11:15.191+0200 7f0baba8c700 0 [dashboard DEBUGrequest] [::ffff:0.0.0.0:61383] [POST] [None] /api/auth2020- 04-28T14:11:15.282+0200 7f0bcf164700 0 log_channel(cluster) log[DBG] : pgmap v316: 273 pgs: 273 active+clean; 2.4 TiB data, 7.1 TiBused, 18 TiB / 25 TiB avail2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard DEBUGcontrollers.auth] Login successful2020-04-28T14:11:15.453+0200 7f0baba8c700 0 [dashboard ERRORrequest] [::ffff:0.0.0.0:61383] [POST] [500] [0.264s] [513.0B][100ecd9a-5d09-419f-8b9f-31bc3d4042b4] /api/auth2020-04- 28T14:11:15.453+0200 7f0baba8c700 0 [dashboard ERRORrequest] [b'{"status": "500 Internal Server Error", "detail": "Theserver encountered an unexpected condition which prevented it fromfulfilling the request.", "request_id": "100ecd9a-5d09-419f- 8b9f- 31bc3d4042b4"}
']2020-04- 28T14:11:15.454+0200 7f0baba8c700 0 [dashboard INFO request][::ffff:0.0.0.0:61383] [POST] [500] [0.264s] [513.0B] [100ecd9a-5d09-419f-8b9f-31bc3d4042b4] /api/auth
How can I find out, where the problem is?
Thanks in advance,Simon
Von: gert.wieberdink@ziggo.nl <gert.wieberdink@ziggo.nl> Gesendet: Donnerstag, 23. April 2020 20:34:58 An: ceph-users@ceph.io
Betreff: [ceph-users] Re: Upgrading to Octopus
Hello Simon, I think that Khodayar is right. I managed to install a new Cephcluster on CentOS 8.1. Therefore you will need the ceph- el8.repo forthe time being. For some reason, "they" left the py3 packages youmentioned out of EPEL (as with leveldb, but this package appeared luckily last week in EPEL). Please find below the ceph-el8.repo file, which you have to create in/etc/yum.repos.d/
[copr:copr.fedorainfracloud.org:ktdreyer:ceph-el8] name=Copr repo for ceph-el8 owned by ktdreyer baseurl= https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/epel-8-...
type=rpm-md skip_if_unavailable=True gpgcheck=1 gpgkey= https://download.copr.fedorainfracloud.org/results/ktdreyer/ceph-el8/pubkey....
repo_gpgcheck=0 enabled=1 enabled_metadata=1
This repository - and CentOS 8.x - should have been sufficient tobring up a fresh Ceph cluster. Please let me know if you still have problems in configuring yourCeph cluster. rgds, -gw _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io
To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io