Poor error message when using same database for designate and the pool manager cache
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Designate |
Fix Released
|
Low
|
Mimi Lee | ||
Kilo |
Fix Committed
|
Low
|
Graham Hayes |
Bug Description
To reproduce: In designate.conf, use the same database for designate and the pool_manager_cache. For example:
[storage:
connection = mysql:/
...
[pool_manager_
connection = mysql:/
...
Then do the following:
1. Drop and recreate the designate database, if it exists
2. In either order, sync designate's database and then sync the pool_manager_cache:
designate-
designate-
You should get an error message "DbMigrationError: The database is not under version control, but has tables. Please stamp the current version of the schema manually." For example: http://
Expected: Designate should check for this and provide a better error message.
Note: I was running commit 889961f938519c0
description: | updated |
Changed in designate: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in designate: | |
assignee: | nobody → Mimi Lee (mimi-lee) |
Changed in designate: | |
status: | Triaged → In Progress |
Changed in designate: | |
status: | In Progress → Fix Committed |
Fixed in master in https:/ /review. openstack. org/#/c/ 198861/ /review. openstack. org/#/c/ 200019/
Fixed in stable/kilo in https:/