ISSUE TYPE
COMPONENT NAME
CLOUDSTACK VERSION
4.14+ (probably present on all older versions as well)
To consistently reproduce this, this is what I did:
- Login into UI, then open devtools->Application-> cookies
- Delete the sessionkey and JSESSIONID cookies (to simulate session expiry, in browser but not on mgmt server)
- Refresh UI and try to log in, you won't be able to login
- You've to wait until the previous session expires, or clear cache
The solution is for legacy UI to call the logout API when 401/unauthorised happens (logout will expire session on backend mgmt server) and clear cookies.