Project

General

Profile

Actions

Bug #49872

closed

cephadm: Don't remove the daemon keyring, if redeploy failes

Added by Sebastian Wagner about 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Tags:
low-hanging-fruit
Backport:
pacific
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

Description

This code block is also executed when redeploying a daemon:

https://github.com/ceph/ceph/blob/28b5137da73c3fa74e1dca51df3390f465a21d33/src/pybind/mgr/cephadm/serve.py#L899-L903

Instead, we should only remove the keyring, if the daemon was not previously deployed.


Related issues 1 (0 open1 closed)

Related to Orchestrator - Bug #48164: Orchestrator: failed deployments leave orphaned auth entriesResolved

Actions
Actions

Also available in: Atom PDF