migration 61 downgrade fails using mysql
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
Medium
|
Brant Knudson |
Bug Description
When trying to downgrade from version 61, it fails with an AttributeError.
$ keystone-manage db_sync 60
2015-01-08 08:29:56.494 CRITICAL keystone [-] AttributeError: 'MetaData' object has no attribute 'c'
2015-01-08 08:29:56.494 TRACE keystone Traceback (most recent call last):
2015-01-08 08:29:56.494 TRACE keystone File "/usr/local/
2015-01-08 08:29:56.494 TRACE keystone exec(compile(
2015-01-08 08:29:56.494 TRACE keystone File "/opt/stack/
2015-01-08 08:29:56.494 TRACE keystone cli.main(
2015-01-08 08:29:56.494 TRACE keystone File "/opt/stack/
2015-01-08 08:29:56.494 TRACE keystone CONF.command.
2015-01-08 08:29:56.494 TRACE keystone File "/opt/stack/
2015-01-08 08:29:56.494 TRACE keystone migration_
2015-01-08 08:29:56.494 TRACE keystone File "/opt/stack/
2015-01-08 08:29:56.494 TRACE keystone _sync_common_
2015-01-08 08:29:56.494 TRACE keystone File "/opt/stack/
2015-01-08 08:29:56.494 TRACE keystone init_version=
2015-01-08 08:29:56.494 TRACE keystone File "/opt/stack/
2015-01-08 08:29:56.494 TRACE keystone version)
2015-01-08 08:29:56.494 TRACE keystone File "/usr/local/
2015-01-08 08:29:56.494 TRACE keystone return _migrate(url, repository, version, upgrade=False, err=err, **opts)
2015-01-08 08:29:56.494 TRACE keystone File "<string>", line 2, in _migrate
2015-01-08 08:29:56.494 TRACE keystone File "/usr/local/
2015-01-08 08:29:56.494 TRACE keystone return f(*a, **kw)
2015-01-08 08:29:56.494 TRACE keystone File "/usr/local/
2015-01-08 08:29:56.494 TRACE keystone schema.
2015-01-08 08:29:56.494 TRACE keystone File "/usr/local/
2015-01-08 08:29:56.494 TRACE keystone change.
2015-01-08 08:29:56.494 TRACE keystone File "/usr/local/
2015-01-08 08:29:56.494 TRACE keystone script_func(engine)
2015-01-08 08:29:56.494 TRACE keystone File "/opt/stack/
2015-01-08 08:29:56.494 TRACE keystone migration_
2015-01-08 08:29:56.494 TRACE keystone File "/opt/stack/
2015-01-08 08:29:56.494 TRACE keystone 'ref_column': project_
2015-01-08 08:29:56.494 TRACE keystone AttributeError: 'MetaData' object has no attribute 'c'
2015-01-08 08:29:56.494 TRACE keystone
Changed in keystone: | |
assignee: | nobody → Brant Knudson (blk-u) |
Changed in keystone: | |
importance: | Undecided → Medium |
Changed in keystone: | |
milestone: | none → kilo-2 |
status: | Fix Committed → Fix Released |
Changed in keystone: | |
milestone: | kilo-2 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/145795
Review: https:/