Bug 1080685

Summary: cannot set release action, always becomes PowerOff
Product: [Retired] Beaker Reporter: Dan Callaghan <dcallagh>
Component: web UIAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 0.16CC: aigao, asaha, dcallagh, rmancy, xjia
Target Milestone: 0.16.1Keywords: Regression
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-26 23:54:24 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dan Callaghan 2014-03-25 23:30:28 UTC
Version-Release number of selected component (if applicable):
0.16.0

Steps to Reproduce:
1. Go to the Power Config tab for a system
2. Change the release action to something other than PowerOff

Actual results:
Release action is saved as PowerOff (shown as "None" in system activity, NULL in the database).

Expected results:
Beaker should save the release action that was selected.

Additional info:
Regression in 0.16.0 due to power config form validation changes.

Comment 1 Dan Callaghan 2014-03-25 23:31:40 UTC
Another effect of this bug is that when saving the power config form, if a system had its release action set to something other than PowerOff, it will be saved as PowerOff and the original setting will be lost.

Comment 2 Dan Callaghan 2014-03-25 23:49:05 UTC
On Gerrit: http://gerrit.beaker-project.org/2959

Comment 4 xjia 2014-03-26 03:29:13 UTC
Verify:
1. Set "leaveon" for one system
2. Provision this system
3. Release this system
4. Check the Release Action still is "Leaveon" and the activity is correct.

Version:
beaker-0.16.1-0.git.24.7ff6422.el6eng.noarch
beaker-server-0.16.1-0.git.24.7ff6422.el6eng.noarch

Comment 5 Dan Callaghan 2014-03-26 23:54:24 UTC
Beaker 0.16.1 has been released.