Bug 1387109 - cannot set power quiescent period to 0 (zero)
Summary: cannot set power quiescent period to 0 (zero)
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: general
Version: 23
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 23.3
Assignee: Dan Callaghan
QA Contact: tools-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-20 07:09 UTC by Dan Callaghan
Modified: 2016-11-07 06:44 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-11-07 06:44:49 UTC
Embargoed:


Attachments (Terms of Use)

Description Dan Callaghan 2016-10-20 07:09:14 UTC
Description of problem:
The default quiescent period is 5, which is a good choice for things like PDU ports. For virtual machines there is no need for any delay, it can be set to zero. But Beaker refuses.

Version-Release number of selected component (if applicable):
23.2

How reproducible:
easy

Steps to Reproduce:
1. Go to system page, Power Settings tab
2. Change quiescent period to 0
3. Hit Save Changes

Actual results:
BAD REQUEST: Quiescent period for power control must be greater than or equal to zero

Expected results:
Should save quiescent period as 0.

Additional info:
Wrong validation condition, change > to >=.

Comment 1 Dan Callaghan 2016-10-20 07:11:04 UTC
http://gerrit.beaker-project.org/5337

Comment 3 Hui Wang 2016-10-21 08:40:45 UTC
Verified this issue. The quiescent period 0 can be saved.
The result is PASS.
Version: beaker-server-24.0.git.143.42e2fdb 
Steps: 
Same with steps in comment#0

Comment 4 Dan Callaghan 2016-11-07 06:44:49 UTC
Beaker 23.3 has been released.


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