[sdake@bigiron kolla]$ magnum bay-list
magn+--------------------------------------+-------+------------+---------------+
| uuid | name | node_count | status |
+--------------------------------------+-------+------------+---------------+
| 78dc040a-c5e4-4bcc-8fc2-565fbb6069c0 | steak | 3 | CREATE_FAILED |
+--------------------------------------+-------+------------+---------------+
u[sdake@bigiron kolla]$ magnum bay-delete steak
Delete for bay steak failed: Remote error: OperationalError (OperationalError) no such table: bay u'SELECT bay.created_at AS bay_created_at, bay.updated_at AS bay_updated_at, bay.id AS bay_id, bay.project_id AS bay_project_id, bay.user_id AS bay_user_id, bay.uuid AS bay_uuid, bay.name AS bay_name, bay.baymodel_id AS bay_baymodel_id, bay.stack_id AS bay_stack_id, bay.api_address AS bay_api_address, bay.node_addresses AS bay_node_addresses, bay.node_count AS bay_node_count, bay.status AS bay_status, bay.discovery_url AS bay_discovery_url \nFROM bay \nWHERE bay.project_id = ? AND bay.uuid = ?' (u'2cd3341ff4ed49ceb0ba7fa2ed5d21ad', u'78dc040a-c5e4-4bcc-8fc2-565fbb6069c0')
[u' (HTTP 500)
then deleting the heat stack and bay delete:
[sdake@bigiron kolla]$ heat delete steak-lonk7cvtpo3a
WARNING (shell) DEPRECATED! Use stack-delete instead.
+--------------------------------------+--------------------+--------------------+----------------------+
| id | stack_name | stack_status | creation_time |
+--------------------------------------+--------------------+--------------------+----------------------+
| e2ff24b6-3b56-4680-9ab2-3493c4ae7016 | steak-lonk7cvtpo3a | DELETE_IN_PROGRESS | 2015-05-03T01:34:15Z |
+--------------------------------------+--------------------+--------------------+----------------------+
[sdake@bigiron kolla]$ heat list
WARNING (shell) DEPRECATED! Use stack-list instead.
+----+------------+--------------+---------------+
| id | stack_name | stack_status | creation_time |
+----+------------+--------------+---------------+
+----+------------+--------------+---------------+
[sdake@bigiron kolla]$ magnum bay-list
magn+--------------------------------------+-------+------------+---------------+
| uuid | name | node_count | status |
+--------------------------------------+-------+------------+---------------+
| 78dc040a-c5e4-4bcc-8fc2-565fbb6069c0 | steak | 3 | CREATE_FAILED |
+--------------------------------------+-------+------------+---------------+
[sdake@bigiron kolla]$ magnum bay-delete steak
[sdake@bigiron kolla]$
deleting the heat stack manually gets rid of the exception.
I seem to encounter a similar error before. In my case, I did a 'git pull' without migrating the db schema. The problem was solved by running "magnum-db-manage upgrade" with a restart.