Bug 838589 - RHEVM - Backend: Uninformative logs on exceeding quota limits
Summary: RHEVM - Backend: Uninformative logs on exceeding quota limits
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: ofri
QA Contact: Dafna Ron
URL:
Whiteboard: sla
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-07-09 14:36 UTC by Daniel Paikov
Modified: 2016-02-10 20:18 UTC (History)
11 users (show)

Fixed In Version: si18
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-04 20:07:41 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Daniel Paikov 2012-07-09 14:36:18 UTC
When VMs exceed quota limits, the following event is shown: "Quota <quota> has exceeded Cluster grace limitation". The event should be more informative - are we over-consuming VCPU or VRAM or storage? what's the limit? how much are we consuming?

Comment 4 Dafna Ron 2012-09-02 12:39:48 UTC
checked in si16 - moving back to devel

1. the errors are referring to quota (showing both my existing quota's) instead of cluster/storage name
2. they are too long
3. even if we use correct storage/cluster name, the error is incoherent: 
"Storage Dafna exceeded and blocked operations" is not correct syntax. 

Storage Quota Quota1 exceeded and blocked operation. Current utilization: storage 11.11%, Requested: 116.67% - Please select a different quota or contact your administrator to extend the (cut off in event log)

Cluster Quota Quota2 exceeded and blocked operation. Current utilization: mem:0%, Requested: mem:200% - Please select a different quota or contact your administrator to extend the the (cut off in event log)

Comment 5 Miki Kenneth 2012-09-03 12:59:28 UTC
Totally agree that the message should be changed.
Let's go with:

Storage Quota Quota1 exceeded and operation was blocked. 
Current quota utilization (storage wise) is 11.11%, and the requested value is 116.67%.
Please select a different quota or contact your administrator.

Cluster Quota Quota2 exceeded and operation was blocked. 
Current quota utilization (memory wise) is 0% and the requested values is 200%.
Please select a different quota or contact your administrator .

Can you differentiate between memory and cpu? if so need to have one for cpu as well...

Comment 6 ofri 2012-09-03 13:15:52 UTC
The current diffrentiation between CPU an memory is done inline: 
for example:

 - If both cpu and mem are over the limit:  
Cluster Quota Q2 exceeded and blocked operation. Current utilization: mem:0% cpu:50%, Requested: mem:200% cpu:100% - Please select a different quota or contact your administrator to extend the the quota.

 - If only cpu is over the limit:  
Cluster Quota Q2 exceeded and blocked operation. Current utilization: cpu:50%, Requested: cpu:100% - Please select a different quota or contact your administrator to extend the the quota.

Could you also adress Dafna's suggestion to diffrentiate between user portal and web-admin.

Comment 7 ofri 2012-09-04 10:47:07 UTC
Final Formulation:

Storage-Quota Quota1 limit exceeded and operation was blocked. 
Utilization(used/requested): 11.11%/116.67%. Please select a different quota or contact your administrator.

Cluster-Quota Quota1 limit exceeded and operation was blocked. 
CPU(used/requested): 11.11%/116.67%. mem(used/requested): 11.11%/116.67%. Please select a different quota or contact your administrator.

Comment 8 ofri 2012-09-04 15:15:53 UTC
Posted to Upstream: http://gerrit.ovirt.org/#/c/7747/

Comment 10 Dafna Ron 2012-09-21 09:37:39 UTC
verified on si18
nice work with the tool tip :)


Note You need to log in before you can comment on or make changes to this bug.