rancher: Rancher UI login extermely slow
We are experiencing issues with our Rancher Web UI, which is behaving slowly during logins and has been affecting user’s browser performance during the login process. I have a attached a screenshot of what we see when logging into Rancher.

It will stay on this screen for 2-3mins.
We think the issue is LDAP related, but its hard to pen point since we can’t find any auth related log data from the rancher-server container. We had tried different domain controllers with same results. However, it does appears that auth is happening because if you enter in a wrong password, you will be denied access.
Our current setup is rancher-server container with a external MySQL database running on the host. I have also setup HTTPS and using a nginx container to proxy from port 8000 to 433.
Please let us know if we can provide any further info.
Thanks,
| Useful | Info |
|---|---|
| Versions | Rancher v1.3.2 Cattle: v0.175.8 UI: v1.3.5 |
| Access | ldap admin |
| Orchestration | Kubernetes |
| Route | k8s-tab.namespace.stacks.index |
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Comments: 15 (1 by maintainers)
Mount is large, but not terrifying. We have a cleanup script that should prune unused mounts, can you give that a go and see if it resolves the issue?
docker run --rm rancher/cleanup-1-1:v0.1.2should give you the usage… just point it at your db.@cdomigan this is how I did it just now:
Okay thats a capable host… It also looks like your query is choking on the amount of volumes/mounts. Can you share the output of:
SELECT table_name AS "Table", round(((data_length + index_length) / 1024 / 1024), 2) as TEST FROM information_schema.TABLES WHERE table_schema = "<cattle_db_name>" ORDER BY TEST;