Actions
Refactor #19917
openSSH key deletion does not error out
Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Description
When delete of a SSH key fails, it is not reported to the UI controller and it is shown as success. This has a consequence - when SSH key is Redeployed (using the UI button) and deletion fails, result error is Error: Compute resource has already been taken
We should fix both by redesigning how this works, it's a little bit clunky in the code.
Updated by Lukas Zapletal almost 8 years ago
One more thing, I noticed that we do not care about output coming out from the request in delete_key_from_resource, we should totally investigate if that was at least HTTP 200. OpenStack for example can return non-200 response.
Actions