Red Hat Bugzilla – Bug 988376
When quota is created in disabled mode, quota checkbox for creating vm is not showed when dc is switch to enforced/audit mode.
Last modified: 2015-09-22 09:09 EDT
Description of problem:
If user create quota when dc is in disabled quota mode, then quota checkbox don't appers in new vm dialog when dc quota mode is switched into audit/enforced mode.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Create dc and set quota mode to disabled.
2. In tree view select the dc. Go to Quota main tab.
3. Create new quota.
4. Set dc to audit/enforced mode.
5. Try to create vm.
User can't set quota for vm, because there is no quota section.
1) Delete quota main tab when quota mode is disabled.
2) User should be able to set quota of vm, even when the quota was created in disabled mode.
When quota is created in audit/enforced mode, everything works as expected.
This may be related to recent UI changes in this dialog.
Einav, can you please check and update if this is a regression due to recent changes?
reply to Doron Fediuck from comment #1)
> This may be related to recent UI changes in this dialog.
> Einav, can you please check and update if this is a regression due to recent
Hi Doron, I apologize for the late response; I assume that you are referring to the layout changes introduced as part of the instance types feature; putting 'needinfo' on Tomas, which is probably most familiar with this dialog in any case, so he will be able to assist you.
it should not be related to that changes - the quota field was just moved not directly changed. I was not able to simulate this, I can imagine that it has something to do with the gwt upgrade which caused some mysterious behavior similar to this one which is afaik fixed. Or it can be similar to 985813
which I was able to simulate. So if I find out what the issue is in 985813 maybe it helps me to do also something about the quota...
(In reply to Tomas Jelinek from comment #3)
> it should not be related to that changes - the quota field was just moved
> not directly changed. I was not able to simulate this, I can imagine that it
> has something to do with the gwt upgrade which caused some mysterious
> behavior similar to this one which is afaik fixed. Or it can be similar to
> which I was able to simulate. So if I find out what the issue is in 985813
> maybe it helps me to do also something about the quota...
Hi Tomas, note that this bz has been opened on is6 (which was released on July 17), whereas the gwt upgrade patch was merged only on July 22, so this issue has nothing to do with the gwt upgrade.
@Ondra - can you please re-test the behavior with one of the recent builds (e.g. is9) to see if this behavior is still reproducible (it seems that Tomas cannot reproduce it)?
I've retested on is9 and the quota combobox for vm don't appear only when user
have selected specific DC in tree view, when user have selected 'System' in tree
view quota combobox is showed(in audit/enforced mode).
ok, now I have simulated it as well.
There is a similar bug (bug 988018) which also describes problems in the VM dialog when a DC is selected on the left-pane tree.
@Michal - maybe makes sense to move this BZ to 'virt'?
*** This bug has been marked as a duplicate of bug 988018 ***
*** Bug 986862 has been marked as a duplicate of this bug. ***