migration 86 fails when database table dns_domains is already InnoDB
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Unassigned |
Bug Description
Hi, from my investigation it seems that altering a table from innodb causes problems if the table has registered foreign keys. There is further information about the problem on this random blog [1].
I came across the bug while working with a fresh devstack (master branch) install on a precise vm.
1. http://
Command failed, please check log for more info
2012-04-30 14:34:40 CRITICAL nova [-] (OperationalError) (1025, "Error on rename of './nova/
2012-04-30 14:34:40 TRACE nova Traceback (most recent call last):
2012-04-30 14:34:40 TRACE nova File "/usr/local/
2012-04-30 14:34:40 TRACE nova execfile(__file__)
2012-04-30 14:34:40 TRACE nova File "/opt/stack/
2012-04-30 14:34:40 TRACE nova main()
2012-04-30 14:34:40 TRACE nova File "/opt/stack/
2012-04-30 14:34:40 TRACE nova fn(*fn_args, **fn_kwargs)
2012-04-30 14:34:40 TRACE nova File "/opt/stack/
2012-04-30 14:34:40 TRACE nova return migration.
2012-04-30 14:34:40 TRACE nova File "/opt/stack/
2012-04-30 14:34:40 TRACE nova return IMPL.db_
2012-04-30 14:34:40 TRACE nova File "/opt/stack/
2012-04-30 14:34:40 TRACE nova return versioning_
2012-04-30 14:34:40 TRACE nova File "/usr/lib/
2012-04-30 14:34:40 TRACE nova return _migrate(url, repository, version, upgrade=True, err=err, **opts)
2012-04-30 14:34:40 TRACE nova File "<string>", line 2, in _migrate
2012-04-30 14:34:40 TRACE nova File "/opt/stack/
2012-04-30 14:34:40 TRACE nova return f(*a, **kw)
2012-04-30 14:34:40 TRACE nova File "/usr/lib/
2012-04-30 14:34:40 TRACE nova schema.
2012-04-30 14:34:40 TRACE nova File "/usr/lib/
2012-04-30 14:34:40 TRACE nova change.
2012-04-30 14:34:40 TRACE nova File "/usr/lib/
2012-04-30 14:34:40 TRACE nova script_func(engine)
2012-04-30 14:34:40 TRACE nova File "/opt/stack/
2012-04-30 14:34:40 TRACE nova migrate_
2012-04-30 14:34:40 TRACE nova File "/usr/lib/
2012-04-30 14:34:40 TRACE nova return connection.
2012-04-30 14:34:40 TRACE nova File "/usr/lib/
2012-04-30 14:34:40 TRACE nova params)
2012-04-30 14:34:40 TRACE nova File "/usr/lib/
2012-04-30 14:34:40 TRACE nova statement, parameters
2012-04-30 14:34:40 TRACE nova File "/usr/lib/
2012-04-30 14:34:40 TRACE nova context)
2012-04-30 14:34:40 TRACE nova File "/usr/lib/
2012-04-30 14:34:40 TRACE nova context)
2012-04-30 14:34:40 TRACE nova File "/usr/lib/
2012-04-30 14:34:40 TRACE nova cursor.
2012-04-30 14:34:40 TRACE nova File "/usr/lib/
2012-04-30 14:34:40 TRACE nova self.errorhandl
2012-04-30 14:34:40 TRACE nova File "/usr/lib/
2012-04-30 14:34:40 TRACE nova raise errorclass, errorvalue
2012-04-30 14:34:40 TRACE nova OperationalError: (OperationalError) (1025, "Error on rename of './nova/
2012-04-30 14:34:40 TRACE nova
Changed in nova: | |
importance: | Undecided → Low |
milestone: | none → folsom-1 |
Changed in nova: | |
status: | Fix Committed → Fix Released |
Changed in nova: | |
milestone: | folsom-1 → 2012.2 |
Fix proposed to branch: master /review. openstack. org/6913
Review: https:/