Magnum-conductor throws "MultipleResultsFound: Multiple rows were found for one()"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Env: Packstack (Pike) running Magnum. At startup (or restart magnum-conductor service), error in log (Cluster creation failed):
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
2017-10-14 21:36:05.020 28376 ERROR oslo_service.
Maybe something went wrong in the initial installation. There are two magnum-conductors running, both in down state. Restarting/ re-install did not seem to help.
To solve the problem, drop Magnum + Heat databases, then reinstall packstack with the old answer-file; then the service is running normally.