Error while using changes to applied alembic migrations scripts
Bug #1421164 reported by
Artem Roma
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
Medium
|
Artem Roma |
Bug Description
When changes are made to alembic revision script and that migration is already applied, second applying will not set the changes for database which could lead to different errors while interacting with db. Such situation can occur, for example, when in different git topics revisions with same uid but different content are stored. The issue mainly affects development process, particularly tests execution.
In order to resolve the problem we may need to perform cleaning of db schema before new tests execution. Such code is already present in nailgun infrastructure [1], so we need to include it to ostf and adapt it for the project.
Changed in fuel: | |
status: | New → Confirmed |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/155290
Review: https:/