Red Hat Bugzilla – Bug 965622
User can't assign different quota to vm disk, if he is not quota consumer of quota which is currently assigned to vm disk.
Last modified: 2016-02-10 15:13:56 EST
Created attachment 751095 [details]
Description of problem:
If there is a vm with disk which has assigned some quota and the user is not
consumer of this quota. Then this user can't reassing the quota of vm disk,
even if he try to assigne quota of which he is consumer. Doesn't work in
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Set DC to enforce mode.
2. Create quota_1 and quota_2.
3. Add user1 and add him UserVmManager role on DC and add him as consumer of quota_1.
4. Create vm in DC with disk, assign to vm and disk quota_2.
5. Login as user1 and try to change vm disk quota from quota_2 to quota_1.
Error while executing action:
User is not authorized to perform this action.
Quota is changed successfully.
When user is also quota consumer on quota_1 then the reassign of quotas works
User can now release quota which he is not consumer of and assign quota
which he is consumer of.
Closing - RHEV 3.3 Released