Project

General

Profile

Actions

Refactor #19917

open

SSH key deletion does not error out

Added by Lukas Zapletal almost 7 years ago. Updated over 5 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

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.

Actions #1

Updated by Lukas Zapletal almost 7 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

Also available in: Atom PDF