Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1178480 - Storage thresholds should not be inclusive
Storage thresholds should not be inclusive
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
3.4.3
All All
medium Severity medium
: ovirt-3.6.0-rc
: 3.6.0
Assigned To: Vered Volansky
lkuchlan
: ZStream
Depends On:
Blocks: 1184807
  Show dependency treegraph
 
Reported: 2015-01-04 03:26 EST by Allon Mureinik
Modified: 2016-03-09 15:53 EST (History)
16 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Previously, less than or equal to (<=) was used in monitoring storage free space. Alerts for low disk space were triggered when they shouldn't have. With this update, when monitoring the storage free space, less than (<) is now used. Alerts for low disk space are now generated appropriately.
Story Points: ---
Clone Of: 1170263
: 1184807 (view as bug list)
Environment:
Last Closed: 2016-03-09 15:53:47 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Storage
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 36557 master MERGED core: Fine-tune Storage space alerts policy Never
Red Hat Product Errata RHEA-2016:0376 normal SHIPPED_LIVE Red Hat Enterprise Virtualization Manager 3.6.0 2016-03-09 20:20:52 EST

  None (edit)
Comment 2 Allon Mureinik 2015-03-29 14:22:15 EDT
Copied doctext from the zstream clone.
Comment 3 Vered Volansky 2015-04-30 03:40:05 EDT
Hi Judi,
Please note that the doc-text here is as wrong as it is on bz1184807.
When the latter is resolved it's doc-text should be the same here.
Allon, adding you just to put it on your radar as well.
Comment 4 Vered Volansky 2015-04-30 03:55:33 EDT
Verification instructions:
Bare in mind there are two thresholds. Critical is 5GB, Low is 10%, both can be changed through configuration.
If both thresholds are met an audit log error is sent, if just one - a warning.
Note that this logic is somewhat different if the configurable thresholds feature is already in, at which case an error is sent if the critical threshold is met, and a warning if the Low (percentage) threshold is met.

Prioritized tests:
1. Create a storage domain and add disks/a disk so that the remaining space is 5.5GB. Verify there's no message.
Create a storage domain and add disks/a disk so that the remaining space is 10.5% Verify there's no message.
Please note the important thing here are the decimal points. We need any number between 5 and 6 GB or 10 and 11 %, non-inclusive in order to verify this.
Anything >= 6GB and 11% should not yield a message.

2. Verify there are messages for values of 5GB/10% 
3. and bellow.
Comment 5 Julie 2015-05-04 02:43:57 EDT
(In reply to Vered Volansky from comment #3)
> Hi Judi,
> Please note that the doc-text here is as wrong as it is on bz1184807.
> When the latter is resolved it's doc-text should be the same here.
> Allon, adding you just to put it on your radar as well.

Hi Vered,
   My apologies for the delay in response. I somehow didn't pick up the need info for bz1184807. The doc text has been updated in both bugs. Please advise if you any other feedback, and do feel free to shoot me an email or ping me if you feel your need info has been overlooked. 

Apologies again,
Julie
Comment 6 lkuchlan 2015-05-06 05:24:17 EDT
Tested using ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764

Verification instructions:
1.Create a storage domain and add disks/a disk so that the remaining space is 5GB-6GB and 10%-11%  --> should not be any message  
2.Create a storage domain and add disks/a disk so that the remaining space is  5GB-6GB  and <10%  --> should be a warning message
3.Create a storage domain and add disks/a disk so that the remaining space is  <5GB  and 10%-11%  --> should be a warning message
4.Create a storage domain and add disks/a disk so that the remaining space is  <5GB  and <10%  --> should be an error message
Comment 7 Vered Volansky 2016-02-28 01:10:04 EST
Julie,
The doc text's update just caught my eye, and it looks like there's a grammar issue:
"Alerts for low disk space were triggered when it shouldn't have"
Should be -
"Alerts for low disk space were triggered when they shouldn't have" .

"it" was correctly used in the original wording.

If you do agree with me, I think there's a clone that's probably also affected.
Comment 8 Julie 2016-02-28 21:11:37 EST
(In reply to Vered Volansky from comment #7)
> Julie,
> The doc text's update just caught my eye, and it looks like there's a
> grammar issue:
> "Alerts for low disk space were triggered when it shouldn't have"
> Should be -
> "Alerts for low disk space were triggered when they shouldn't have" .
> 
> "it" was correctly used in the original wording.
> 
> If you do agree with me, I think there's a clone that's probably also
> affected.

Hi Vered,
  Thanks for checking the doc text again. I have updated the text in both bugs as requested.

Many thanks,
Julie
Comment 10 errata-xmlrpc 2016-03-09 15:53:47 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-0376.html

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