Project

General

Profile

Actions

Bug #75009

closed
RK RK

Switching a certificate-source field in service specs between supported modes (cephadm-signed, inline, reference) does not handle TLS credentials consistently.

Bug #75009: Switching a certificate-source field in service specs between supported modes (cephadm-signed, inline, reference) does not handle TLS credentials consistently.

Added by Redouane Kachach Elhicou 10 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
-
Due date:
% Done:

0%

Source:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v21.0.0-1651-g4bc3c23bf8
Released In:
v21.2.0~393
Upkeep Timestamp:
2026-10-24T01:45:12+00:00

Description

When switching a the cert source field in service spec between different certificate_source modes (cephadm-signed, inline, reference), TLS credentials are not handled consistently, leading to stale or conflicting certmgr entries and unreliable reconfiguration behavior.

Problems observed:

  1. Spec changes not always triggering reconciliation
    Changes to TLS-related fields (e.g., certificate_source, inline cert/key contents) were not fully reflected in service deps, so switching sources could fail to trigger a proper daemon reconfig.
  2. Stale inline certmgr entries after switching to reference
    When moving from inline to reference, previously inline-saved (non-editable) cert/key entries remained in certmgr.
    This could:
    1. Prevent users from setting editable, user-managed credentials.
    2. Cause confusion about which certificate is actually in use.
  3. Leftover cephadm-signed credentials
    On daemon removal or certificate source transitions, cephadm-signed cert/key pairs were not always cleaned up, leaving unnecessary credentials in the store.
  4. Incorrect self-signed lookup in labeled scenarios
    In some cases, self-signed cert retrieval used the FQDN instead of the host key used in storage, resulting in lookup mismatches.

RK Updated by Redouane Kachach Elhicou 10 months ago Actions #1

  • Status changed from New to Fix Under Review
  • Pull request ID set to 67308

UB Updated by Upkeep Bot 6 months ago Actions #2

  • Status changed from Fix Under Review to Resolved
  • Merge Commit set to 4bc3c23bf8718005c4301faecf13808d56c750a8
  • Fixed In set to v21.0.0-1651-g4bc3c23bf8
  • Upkeep Timestamp set to 2026-05-23T08:05:48+00:00

UB Updated by Upkeep Bot about 1 month ago Actions #3

  • Released In set to v21.2.0~393
  • Upkeep Timestamp changed from 2026-05-23T08:05:48+00:00 to 2026-10-24T01:45:12+00:00
Actions

Also available in: PDF Atom