Cannot delete cluster without a supported driver
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Magnum |
In Progress
|
Undecided
|
Jason Dunsmore |
Bug Description
When you attempt to create a Cluster without a valid driver, the Cluster will immediately go into a 'CREATE_FAILED' state. Attempting to delete the Cluster do not cause the the Cluster to enter any form of DELETE state, and the 'magnum-conductor' logs display the following error:
2016-11-30 19:23:16.331 1422 ERROR oslo_messaging.
2016-11-30 19:23:16.331 1422 ERROR oslo_messaging.
2016-11-30 19:23:16.331 1422 ERROR oslo_messaging.
2016-11-30 19:23:16.331 1422 ERROR oslo_messaging.
2016-11-30 19:23:16.331 1422 ERROR oslo_messaging.
2016-11-30 19:23:16.331 1422 ERROR oslo_messaging.
2016-11-30 19:23:16.331 1422 ERROR oslo_messaging.
2016-11-30 19:23:16.331 1422 ERROR oslo_messaging.
2016-11-30 19:23:16.331 1422 ERROR oslo_messaging.
2016-11-30 19:23:16.331 1422 ERROR oslo_messaging.
2016-11-30 19:23:16.331 1422 ERROR oslo_messaging.
2016-11-30 19:23:16.331 1422 ERROR oslo_messaging.
2016-11-30 19:23:16.331 1422 ERROR oslo_messaging.
2016-11-30 19:23:16.331 1422 ERROR oslo_messaging.
Steps to reproduce:
Create a cluster template without a matching driver installed
Create a cluster based on the new template
Attempt to delete the new cluster
Changed in magnum: | |
assignee: | nobody → Jason Dunsmore (jasondunsmore) |
Faced similar error few days ago: [[01;31mExcepti on during message handling^[[00m rpc.server ^[[01;35m^ [[00mTraceback (most recent call last): rpc.server ^[[01;35m^[[00m File "/usr/local/ lib/python2. 7/dist- packages/ oslo_messaging/ rpc/server. py", line 155, in _process_incoming rpc.server ^[[01;35m^[[00m res = self.dispatcher .dispatch( message) rpc.server ^[[01;35m^[[00m File "/usr/local/ lib/python2. 7/dist- packages/ oslo_messaging/ rpc/dispatcher. py", line 225, in dispatch rpc.server ^[[01;35m^[[00m return self._do_ dispatch( endpoint, method, ctxt, args) rpc.server ^[[01;35m^[[00m File "/usr/local/ lib/python2. 7/dist- packages/ oslo_messaging/ rpc/dispatcher. py", line 195, in _do_dispatch rpc.server ^[[01;35m^[[00m result = func(ctxt, **new_args) rpc.server ^[[01;35m^[[00m File "/opt/stack/ magnum/ magnum/ conductor/ handlers/ cluster_ conductor. py", line 65, in cluster_create rpc.server ^[[01;35m^[[00m ct.coe) rpc.server ^[[01;35m^[[00m File "/opt/stack/ magnum/ magnum/ drivers/ common/ driver. py", line 152, in get_driver rpc.server ^[[01;35m^[[00m coe=coe) rpc.server ^[[01;35m^ [[00mClusterTyp eNotSupported: Cluster type (vm, coreos, swarm) not supported.
] ^[[01;35m^
^[[01;31m2016-11-29 08:44:25.542 TRACE oslo_messaging.
^[[01;31m2016-11-29 08:44:25.542 TRACE oslo_messaging.
^[[01;31m2016-11-29 08:44:25.542 TRACE oslo_messaging.
^[[01;31m2016-11-29 08:44:25.542 TRACE oslo_messaging.
^[[01;31m2016-11-29 08:44:25.542 TRACE oslo_messaging.
^[[01;31m2016-11-29 08:44:25.542 TRACE oslo_messaging.
^[[01;31m2016-11-29 08:44:25.542 TRACE oslo_messaging.
^[[01;31m2016-11-29 08:44:25.542 TRACE oslo_messaging.
^[[01;31m2016-11-29 08:44:25.542 TRACE oslo_messaging.
^[[01;31m2016-11-29 08:44:25.542 TRACE oslo_messaging.
^[[01;31m2016-11-29 08:44:25.542 TRACE oslo_messaging.
^[[01;31m2016-11-29 08:44:25.542 TRACE oslo_messaging.
At the time of creating image: os_distro was set to "coreos", then created template using this image. After that cluster-creation fails and deletion returns above traceback.