Description of problem:
When in WA portal admin opens a iso domain images subtab and while loading clicks on another iso domain. Images of first iso domain are shown.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Select iso domain with images in storage tab
2. Go to images subtab
3. While portal is loading the images select another iso domain
Images of iso domain from 1. are shown as images of iso domain selected in step 3.
Should be refreshed correctly
Can we get the engine and VDSM logs please?
No errors in VDSM or engine log, as this is just WA portal problem (there will be literally nothing regarding this IO portal as there are no actual operations performed). Incorrect iso images are loaded because of quick change of tab.
But if you still insist on engine.logs I'll have to prepare env and reproduce this.
This is a race that doesn't reproduce on any storage that's marginally fast.
Pushing out to 3.6.0.
1) Had 2 unattached ISO domains
2) Attached and activated one of the domains
3) Navigated to the active domain's images list and while it was loading, clicked on the unattached domain.
Results: While being on the images list subtab of the unattached domain, the active domain's images list was presented.
Works for me on master - 21547f64b43bb2e3ced4faa26adda043cf736ab7.
I've checked it with the first storage domain activated and the second one:
1. Inactive and attached to dc.
2. Inactive and detached from dc.
3. Active and attached to dc.
I've was already tested on the latest 3.6 build and it reproduced - see comment #4. Since we don't test over the current master, I'll give it a try once we have the new 3.6 build for qe.
Talked to Elad f2f.
We saw that using my engine it's very hard to reproduce this bug from my laptop, while from his laptop (with my engine) the bug occurs every time.
I don't know what's the reason for this, so I am re-assigning it to myself for now.
Created attachment 1063778 [details]
Images of iso1 are shown instead of those of iso2.
This scenario can be reproduced by doing the following:
Have two iso domains, one containing a lot of iso files and the other containing only a few.
Then, clicking on the images sub tab of the "big" domain and then on the second domain causes the second domain's images to be shown first (since they were loaded quickly), and when the "big" one finishes to load - it overrides the "small" one's images (so that you see the "big" one's images instead of the small one's).
I've attached a video showing this in my env.
This type of scenario can happen also in other places in the UI, and not only in the images sub tab under storage. Thus, it should not be fixed in the iso domain images level, but in the infrastructure level.
Moving to UX.
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.