45 Drives Knowledge Base
KB450161 - Dashboard Login Fix
https://knowledgebase.45drives.com/kb/kb450161-dashboard-login-fix/

KB450161 - Dashboard Login Fix

Posted on July 3, 2019 by Rob MacQueen


Dashboard Login Fix

IF you go to login to the Ceph Dashboard and it loops back, to the login page with no error, follow these steps to fix.
This applies to Nautilus 14.2.1,14.2.0

  • Manually apply the change posted at https://github.com/ceph/ceph/pull/27942/files to the file /usr/share/ceph/mgr/dashboard/services/access_control.py on all nodes running the dashboard.
    • sed -i 's/time.mktime(time.gmtime())/time.time()/' /usr/share/ceph/mgr/dashboard/services/access_control.py
  • Restart the dashboard using
    • ceph mgr module disable dashboard; ceph mgr module enable dashboard
  • Update the timestamp on admin's password:
    • ceph dashboard ac-user-set-password admin <same_password_as_before>
  • Try to login again
KB450161 – Dashboard Login Fix – 45 Drives Knowledge Base

KB450161 – Dashboard Login Fix

Last modified: July 3, 2019
You are here:
Estimated reading time: < 1 min
In this article

Dashboard Login Fix

IF you go to login to the Ceph Dashboard and it loops back, to the login page with no error, follow these steps to fix.
This applies to Nautilus 14.2.1,14.2.0

  • Manually apply the change posted at https://github.com/ceph/ceph/pull/27942/files to the file /usr/share/ceph/mgr/dashboard/services/access_control.py on all nodes running the dashboard.
    • sed -i 's/time.mktime(time.gmtime())/time.time()/' /usr/share/ceph/mgr/dashboard/services/access_control.py
  • Restart the dashboard using
    • ceph mgr module disable dashboard; ceph mgr module enable dashboard
  • Update the timestamp on admin’s password:
    • ceph dashboard ac-user-set-password admin <same_password_as_before>
  • Try to login again
Was this article helpful?
Dislike 0
Views: 118
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access