Bug 847950
| Summary: | webadmin [Quota]: quota will randomly show domains from different DC | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Dafna Ron <dron> | ||||
| Component: | ovirt-engine-webadmin-portal | Assignee: | ofri <omasad> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dafna Ron <dron> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 3.1.0 | CC: | dfediuck, dyasny, ecohen, hateya, iheim, Rhev-m-bugs, sgrinber, ykaul | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | sla | ||||||
| Fixed In Version: | si17 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-12-04 20:06:01 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | SLA | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Unable to reproduce on si15. please provide a reproducable. steps are in the bug. please speak to Gilad - he knows where the issue is in the code and fixed bugs related to this one - maybe he already fixed it. Fixed and merged downstream on: https://gerrit.eng.lab.tlv.redhat.com/gitweb?p=ovirt-engine.git;a=commit;h=c23f946e5456e683b0b4f9f06ad0493656334b7f verified on si17 |
Created attachment 604176 [details] log and screen shot Description of problem: I have two DC's on my setup. one has quota enabled and one has quota disabled. I have 4 quota's configured for the DC with the quota 3 of them have specific domains configured. when I press edit on the quota's I can randomly see the domains from the DC that is not configured with Quota (see screen shot) and I am able to select them I can even see that the update is sent to the backend and db was updated with the domains which are not under the DC (see further info below). the storages are : Contrl-Grp2 and Contrl-Grp1 Version-Release number of selected component (if applicable): si13.2 How reproducible: 100% Steps to Reproduce: 1. create 2 DC's: one with quota enabled and one disabled 2. create several quota's on the dc with quota enabled and define specific domains 3. press the edit on the quota (different one each time) at some point you will see the domains from the other DC. 4. select the domains and save the quota. Actual results: we are able to save the quota with domains which are not in the DC Expected results: we should not be able to see the domains in UI in api we should block from updating the quota with domains which are not on the DC. Additional info: log and screen shot 2012-08-14 10:22:50,760 INFO [org.ovirt.engine.core.bll.UpdateQuotaCommand] (ajp-/127.0.0.1:8009-1) [3e9302c2] Running command: UpdateQuotaCommand internal: false. Entities affected : ID: 583898aa-923e-4f03-a21f-a03fade0bf9d Type: Quo ta 2012-08-14 10:23:43,239 INFO [org.ovirt.engine.core.bll.UpdateQuotaCommand] (ajp-/127.0.0.1:8009-2) [77fce5] Running command: UpdateQuotaCommand internal: false. Entities affected : ID: 544bd367-8e1c-4f63-8e3c-08e9b5e89623 Type: Quota engine=# SELECT * from quota_storage_view ; quota_storage_id | quota_id | storage_id | storage_name | storage_size_gb | storage_size_gb_usage --------------------------------------+--------------------------------------+--------------------------------------+---------------+-----------------+----------------------- 961abda2-5f50-4967-ab85-c1ae71cc5b37 | 266f051d-e4b0-4e7a-af7f-81a479bcf69a | cad7080d-09c4-4f66-80bd-0e0dad866447 | Dafna-si13-03 | 10 | 9 ff0a685b-e268-4e94-8d89-5d0d4fcf9679 | 583898aa-923e-4f03-a21f-a03fade0bf9d | 270af8f1-5bdb-42d7-9e0b-cea74762c1d9 | Contrl-Grp2 | -1 | 0 c4b6cad4-36fd-429a-b59d-472e89d1781d | 583898aa-923e-4f03-a21f-a03fade0bf9d | 731136fe-8e6d-4838-9486-2495a03b7fb4 | Contrl-Grp1 | -1 | 0 6b5dac38-82ba-41e4-8242-daa56806e7cf | 544bd367-8e1c-4f63-8e3c-08e9b5e89623 | 270af8f1-5bdb-42d7-9e0b-cea74762c1d9 | Contrl-Grp2 | 1 | 0 eced733a-61b8-4e6c-ae39-813474830351 | 544bd367-8e1c-4f63-8e3c-08e9b5e89623 | 731136fe-8e6d-4838-9486-2495a03b7fb4 | Contrl-Grp1 | 1 | 0