BMC: Audit_interval was not validated for under 10 seconds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Won't Fix
|
Low
|
Eric MacDonald |
Bug Description
Brief Description
-----------------
Audit_interval was not validated for under 10 seconds by sysinv. Below Audit_interval was provision with 0 seconds. Due to this Hwmond is reporting too frequent request. Below logs from hwmon.log .
2019-11-
system host-sensor-modify 1 182ddfab-
system host-sensor-show 1 182ddfab-
+------
| Property | Value |
+------
| actions_critical | alarm |
| actions_major | log |
| actions_minor | ignore |
| algorithm | debounce-1.v1 |
| audit_interval | 0 |
| capabilities | {} |
| created_at | 2019-11-
| datatype | discrete |
| path | |
| sensor_
| sensorname | 12V |
| sensortype | voltage |
| state | enabled |
| state_requested | None |
| status | ok |
| suppress | False |
| updated_at | 2019-11-
| uuid | 182ddfab-
+------
b3f28fee199ae3b
2019-11-
2019-11-
~
search
Severity
--------
Major
Steps to Reproduce
------------------
1. Modify the audit_interval less than 10 seconds and verify error message not allowing less than 10 seconds.
system host-sensor-modify 1 182ddfab-
Expected Behavior
------------------
Validate any value less than 10 seconds for audit_interval is rejected.
Actual Behavior
----------------
As per description sysinve is not validating less than 10 seconds for audit_interval is accepted.
Reproducibility
---------------
Reproducible 100%
System Configuration
-------
Simplex
Lab-name:
SM-1
Branch/Pull Time/Commit
-------
2019-11-18_20-00-00
Last Pass
---------
Timestamp/Logs
--------------
2019-11-
Test Activity
-------------
Feature Testing
Changed in starlingx: | |
status: | Triaged → Won't Fix |
Low / not gating - related to semantic checking of user-provided input