Red Hat Bugzilla – Bug 892995
users/powerusers cannot consume quota on an upgraded pre-quota DB
Last modified: 2016-02-10 15:20:28 EST
Description of problem:
When trying to add Quota consumers, it seems like the operation succeeded but nothing happens (the consumer is not added to the list).
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. try to add consumer to quota
consumer not added to list
consumer added to list
the quota consumer is added to DB but not shown in the list. This happens because of missing entry in the DB role_groups table.
The missing entry is created only when DB is first created but not if the DB was upgraded. The SQL query adding the entry was accidentally added to insert_predefined_roles.sql instead of being added to a new upgrade script.
Since UI is filtering the quota consumers view by this entry - the list remains empty. Nevertheless, consumers added to the quota can still consume it.
Since the users are actually getting the right permissions,
this is mostly an ugly UI/UX issue. Consumers should be able to
work as needed.
posted upstream: http://gerrit.ovirt.org/#/c/10746/
merged upstream (http://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=commit;h=a06bcb3f88afed27b28b2e6aff38ceafa3b7909f)
ok in latest sf, upgrade from ic159 to si29.4 to sf21.1. User can consume quota.