Public bug reported: When there is a
DatastoreDefaultDatastoreNotFound or DatastoreDefaultVersionNotFound exception raised on trove database creation attempt through horizon, only this is shown to the user: """ Error: There was an error submitting the form. Please try again. """ This is not useful in terms of fixing the problem, and should provide more information. Example debug log: File "/opt/stack/trove/trove/common/wsgi.py", line 251, in execute_action **action_args) File "/opt/stack/trove/trove/openstack/common/wsgi.py", line 395, in execute_action return self.dispatch(self.controller, action, request, **action_args) File "/opt/stack/trove/trove/openstack/common/wsgi.py", line 404, in dispatch return method(*args, **kwargs) File "/opt/stack/trove/trove/instance/service.py", line 186, in create datastore_models.get_datastore_version(**datastore_args)) File "/opt/stack/trove/trove/datastore/models.py", line 179, in get_datastore_version datastore.name) DatastoreDefaultVersionNotFound: Default version for datastore 'Legacy MySQL' not found. Steps to reproduce. 1. Install devstack with all services enabled, using milestone-proposed branch 2. try to create a new database through horizon ** Affects: horizon Importance: Undecided Status: New ** Affects: trove Importance: Undecided Status: New ** Also affects: trove Importance: Undecided Status: New -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to OpenStack Dashboard (Horizon). https://bugs.launchpad.net/bugs/1308313 Title: bad error message on trove database initialisation failure Status in OpenStack Dashboard (Horizon): New Status in Trove - Database as a Service: New Bug description: When there is a DatastoreDefaultDatastoreNotFound or DatastoreDefaultVersionNotFound exception raised on trove database creation attempt through horizon, only this is shown to the user: """ Error: There was an error submitting the form. Please try again. """ This is not useful in terms of fixing the problem, and should provide more information. Example debug log: File "/opt/stack/trove/trove/common/wsgi.py", line 251, in execute_action **action_args) File "/opt/stack/trove/trove/openstack/common/wsgi.py", line 395, in execute_action return self.dispatch(self.controller, action, request, **action_args) File "/opt/stack/trove/trove/openstack/common/wsgi.py", line 404, in dispatch return method(*args, **kwargs) File "/opt/stack/trove/trove/instance/service.py", line 186, in create datastore_models.get_datastore_version(**datastore_args)) File "/opt/stack/trove/trove/datastore/models.py", line 179, in get_datastore_version datastore.name) DatastoreDefaultVersionNotFound: Default version for datastore 'Legacy MySQL' not found. Steps to reproduce. 1. Install devstack with all services enabled, using milestone-proposed branch 2. try to create a new database through horizon To manage notifications about this bug go to: https://bugs.launchpad.net/horizon/+bug/1308313/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : yahoo-eng-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp