2016-06-22 14:36:52 |
Oleg S. Gelbukh |
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://bugs.launchpad.net/fuel/+bug/1551339).
https://review.openstack.org/#/c/278413/10
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 clusters WHERE id=1;" | psql -At postgresql://nailgun@localhost/nailgun > file
python -c "import json
with open(\"tttttt\") as f:
data = json.loads(f.read())
print data['editable']['storage']['fsid']"
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 |
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://bugs.launchpad.net/fuel/+bug/1551339).
https://review.openstack.org/#/c/278413/10
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://nailgun@localhost/nailgun > file
python -c "import json
with open(\"tttttt\") as f:
data = json.loads(f.read())
print data['editable']['storage']['fsid']"
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 |
|