Bug 1642525 - beaker-init --downgrade 26 will fail
Summary: beaker-init --downgrade 26 will fail
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Beaker
Classification: Retired
Component: tests
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: 26.1
Assignee: Christopher Beer
QA Contact: Christopher Beer
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-10-24 15:20 UTC by Bill Peck
Modified: 2018-10-31 17:34 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2018-10-31 17:34:01 UTC
Embargoed:


Attachments (Terms of Use)

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.


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