[upgrade] [regression] Ceph FSID and keys added to DB without migration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Committed
|
High
|
slava valyavskiy | ||
Mitaka |
Fix Committed
|
High
|
slava valyavskiy |
Bug Description
Detailed bug description:
The following commit introduces new fields into Nailgun DB without corresponding migration. This has potential to break upgrade process if old clusters don't have these fields (i.e. KeyError, compare to https:/
https:/
Steps to reproduce:
1. Install the Fuel Master node version 8.0
2. Create an environment with Ceph storage
3. Dump the Nailgun database to file
4. Install the Fuel Master node version 9.0
5. Upload the database dump into Nailgun database
6. Run nailgun_syncdb
7. Run:
echo "SELECT attributes_metadata FROM releases WHERE id=1;" | psql -At postgresql:
python -c "import json
with open(\"tttttt\") as f:
data = json.loads(
print data['editable'
Expected results:
The JSON data field contents displayed.
Actual result:
KeyError: 'fsid'
Reproducibility:
Always
Workaround:
None
Impact:
Potential regression
Description of the environment:
Operation system: Ubuntu
Versions of components: 9
Reference architecture: Ceph storage
Network model: any
Related projects installed: any
Additional information:
N/A
Changed in fuel: | |
assignee: | nobody → Fuel Python Team (fuel-python) |
milestone: | none → 9.0 |
tags: | added: team-upgrades |
tags: | added: area-python |
Changed in fuel: | |
milestone: | 9.0 → 10.0 |
status: | Fix Committed → In Progress |
Changed in fuel: | |
status: | In Progress → Fix Committed |
tags: | added: on-verification |
description: | updated |
Fix proposed to branch: master /review. openstack. org/303195
Review: https:/