Bug 1642525

Summary: beaker-init --downgrade 26 will fail
Product: [Retired] Beaker Reporter: Bill Peck <bpeck>
Component: testsAssignee: Christopher Beer <cbeer>
Status: CLOSED CURRENTRELEASE QA Contact: Christopher Beer <cbeer>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: dcallagh
Target Milestone: 26.1   
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-10-31 17:34:01 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 Bill Peck 2018-10-24 15:20:03 UTC
Description of problem:
beaker 26 was released without an alembic entry so beaker-init will not know how to downgrade.

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

How reproducible:
run the unit tests or beaker-init --downgrade 26

Comment 2 Christopher Beer 2018-10-29 20:10:55 UTC
Verified that the downgrade command worked on beaker-devel after update.

Command output:
[cbeer@beaker-devel ~]$ sudo beaker-init --downgrade 26 --debug
2018-10-29 20:08:26,016 bkr.server.tools.init INFO Downgrading schema to version 348daa35773c
2018-10-29 20:08:26,060 alembic.migration INFO Context impl MySQLImpl.
2018-10-29 20:08:26,060 alembic.migration INFO Will assume non-transactional DDL.
2018-10-29 20:08:26,103 bkr.server.tools.init INFO Downgrade completed
2018-10-29 20:08:26,103 bkr.server.tools.init INFO Exiting

Comment 3 Christopher Beer 2018-10-31 17:34:01 UTC
Beaker 26.1 has been released.