Bug 1393182

Summary: Database Integrity Scheduler recipeset_activity
Product: [Retired] Beaker Reporter: Tyrone Abdy <tabdy>
Component: generalAssignee: Dan Callaghan <dcallagh>
Status: CLOSED CURRENTRELEASE QA Contact: tools-bugs <tools-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: developCC: dcallagh, mjia, rjoost
Target Milestone: 25.0Keywords: Patch
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-03-19 04:18:32 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 Tyrone Abdy 2016-11-09 03:44:58 UTC
Description of problem:
Table recipetset_activity column recipeset_id is nullable which can lead to orphaned data. Should be nullable=False
As part of the migration need to remove any potential orphaned data.

Comment 1 Dan Callaghan 2017-12-20 06:11:11 UTC
On a recent production snapshot:

MySQL [beaker_dcallagh]> select count(*) from recipeset_activity where recipeset_id is null;
+----------+
| count(*) |
+----------+
|        0 |
+----------+
1 row in set (0.01 sec)

Comment 2 Dan Callaghan 2017-12-20 06:49:47 UTC
https://gerrit.beaker-project.org/5960

Comment 4 Dan Callaghan 2018-01-10 03:28:24 UTC
There is no expected change in behaviour here, so verification should just be that the database migration succeeds (it did) and that nothing else breaks.

Comment 6 Roman Joost 2018-03-19 04:18:32 UTC
Beaker 25.0 has been released.

Release notes are available upstream: https://beaker-project.org/docs/whats-new/release-25.html