Exclude affecting of DB schema changes on the Fuel CI jobs for fuel-stats
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
Medium
|
Bulat Gaifullin |
Bug Description
When we have changed DB schema other patchsets failed due to Alembic can't upgrade/downgrade DB.
We need to have fallback mechanism in the DbTest setUp for cleanup all indexes/
Steps for reproduce:
- Clone fuel-stats:
git clone https:/
- Configure development env: https:/
- Create branch:
git branch test_branch
- Apply latest DB migration:
./manage_
- Create DB migration:
./manage_
- Apply migration:
./manage_
- Remove created migration file from the collector/
- Switch back to master:
git checkout master
- Try to run test:
tox -epy27
We had an error: CommandError: No such revision '3c3a4fa3a39f'
Changed in fuel: | |
assignee: | nobody → Fuel Python Team (fuel-python) |
Changed in fuel: | |
assignee: | Fuel Python Team (fuel-python) → Alexander Kislitsky (akislitsky) |
description: | updated |
description: | updated |
Changed in fuel: | |
assignee: | Alexander Kislitsky (akislitsky) → Bulat Gaifullin (bgaifullin) |
Fix proposed to branch: master /review. openstack. org/292437
Review: https:/