Failed migration 90 -> 91 Can't DROP 'ixu_user_name_domain_id'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Fix Released
|
High
|
Liam Young | ||
Mitaka |
Fix Released
|
High
|
Unassigned |
Bug Description
Get the following error running DB migration when upgrading from kilo -> mitaka
2016-04-20 09:31:37.560 10471 INFO migrate.
2016-04-20 09:31:37.822 10471 CRITICAL keystone [-] OperationalError: (_mysql_
2016-04-20 09:31:37.822 10471 ERROR keystone Traceback (most recent call last):
2016-04-20 09:31:37.822 10471 ERROR keystone File "/usr/bin/
2016-04-20 09:31:37.822 10471 ERROR keystone sys.exit(main())
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/keystone/
2016-04-20 09:31:37.822 10471 ERROR keystone cli.main(
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/keystone/
2016-04-20 09:31:37.822 10471 ERROR keystone CONF.command.
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/keystone/
2016-04-20 09:31:37.822 10471 ERROR keystone migration_
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/keystone/
2016-04-20 09:31:37.822 10471 ERROR keystone _sync_common_
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/keystone/
2016-04-20 09:31:37.822 10471 ERROR keystone init_version=
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone migration = versioning_
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone return _migrate(url, repository, version, upgrade=True, err=err, **opts)
2016-04-20 09:31:37.822 10471 ERROR keystone File "<decorator-
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone return f(*a, **kw)
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone schema.
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone change.
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone script_func(engine)
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/keystone/
2016-04-20 09:31:37.822 10471 ERROR keystone name='ixu_
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone self.__
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone run_single_
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone fn(element, **kwargs)
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone self._visit_
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone self.execute()
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone return self.connection
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone return self._execute_
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone statement, parameters
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone context)
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone util.raise_
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone reraise(
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone context)
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone cursor.
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone self.errorhandl
2016-04-20 09:31:37.822 10471 ERROR keystone File "/opt/mitaka/
2016-04-20 09:31:37.822 10471 ERROR keystone raise errorclass, errorvalue
2016-04-20 09:31:37.822 10471 ERROR keystone OperationalError: (_mysql_
Changed in keystone: | |
assignee: | nobody → Vivekma (vivekmanchikanti) |
Changed in keystone: | |
assignee: | Vivekma (vivekmanchikanti) → nobody |
Changed in keystone: | |
milestone: | none → newton-2 |
To fix this I put a try catch around the drop call and all else worked