cloudstack
cloudstack copied to clipboard
Empty resources in dashborad
ISSUE TYPE
- Bug Report
COMPONENT NAME
UI
CLOUDSTACK VERSION
4.19.0.1
CONFIGURATION
N/A
OS / ENVIRONMENT
N/A
SUMMARY
One our customer account (can't really say if it happened after the upgrade but I don't believe so) is unable to see his resources assigned in the dashboard in the UI. As you can see from the screenshot the account has assigned resources, as VMs, volumes and so on. From all other pages we can see no issues and he's able to manage every resource assigned to him. Actually, this is the only account with this issue on our infrastructure.
STEPS TO REPRODUCE
Don't know how to reproduce this.
EXPECTED RESULTS
The user show be able to see the resource assigned to him in the dashboard
ACTUAL RESULTS
Empty dashboard for this user
@cdfgallo
- Did you see and exceptions in the logs?
- Do you remember when the user could last see their resources?
as the user still has limits it seems the links are there so it should be possible to repair.
@cdfgallo can you open this account in a browser with dev tools, share with us if you see any errors on the devtools/JS console?
Hi @DaanHoogland not in the management logs when the user login. Unfortunately no.
@rohityadavcloud we just completed this test with our client and I'm posting the errors received.
@cdfgallo can you please share the full resolution image or share the error? Not sure but for me above-shared images are showing in 512x239px and are not readable
@shwstppr yes, of course! sorry for the bad images.
@cdfgallo I assume you've already tried a different browser or used an incognito window. Please try if not already. I was able to partially reproduce the behaviour by corrupting cached project value
@shwstppr yes I confirm that we already tried different browsers and using incognito mode. Unfortunately the issue persists.
@rohityadavcloud @shwstppr I've been able to reproduce the issue just accessing our infrastructure with an account with domain administrator privilege using external saml2 authentication. I saw the same errors posted up here in devtools and no error logs in the management server. Looking at the database I can't see nothing strange on the account. Thank you, Fabio
Thanks @cdfgallo. I guess then this is the same issue as https://github.com/apache/cloudstack/issues/8950 cc @rohityadavcloud I'll try to spend some time next week to look into a possible fix. However, I'm not sure right now about setting up SAML authentication for a DomainAdmin role.
Fixed by https://github.com/apache/cloudstack/pull/9097
Tested on https://qa.cloudstack.cloud/simulator/ using SAML using rick
@cdfgallo please test latest 4.19 branch and re-open if you still reproduce this error