Repository navigation
Conversation
johnramsden
left a comment
There was a problem hiding this comment.
(AI Review, Claude Opus 5.5)
This review was generated by an AI model and hasn't been verified by a human yet. Treat it as a starting point, not a verdict: individual findings may be wrong, overstated or missing context, so please check each one before acting on it. A human reviewer will follow up.
Reviewed at d5c45b0. Claims about Ceph behaviour were checked against the 19.2.6 source (the first Squid release with aes256k), not against 20.2.x, and nothing was run on a live cluster. "Upstream step N" refers to https://docs.ceph.com/en/latest/rados/configuration/auth-config-ref/#cephx-upgrade.
The structure is a good base: a singleton record, stage names that map onto the upstream procedure, and injectable *Func seams with unit tests. The main problems are in how the stages reach other nodes and services. Each point below has its own inline thread:
- Daemon and client rotation only touch the node that runs the command. Other members keep old keys on disk and in memory.
--reloadnever restarts the rotated OSD, so it keeps the old key until its auth ticket expires (72h by default).- The pending-key keyring written for managed clients can't be loaded by Ceph (it contains a
pending key =line). - Managed-client detection misfires when NFS or two-way replication is configured, and
--client client.adminlocks MicroCeph out. - Resuming starts over from scratch, there's no abort, and the whole run is one synchronous request with a 10-minute timeout and an unrenewed 10-minute lock.
make check-staticis narrowed to errcheck only, and the new Robot suite isn't in the CI matrix, so neither the extra linters nor the integration test has exercised this code.
|
I will follow up with a manual review after the AI review is addressed |
johnramsden
left a comment
There was a problem hiding this comment.
AI Review (omp:gpt-6-astra)
This patchset implements the aforemention commands. The former works by rotating the microceph-managed CephX keys of an (optional) client, allowing users to explicitly select the key type. It performs the steps defined by the upstream Ceph community. The latter command notifies users of potential problems with the key rotations. It lets users know what are the current blockers so that manual intervention can happen more effectively. Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
Signed-off-by: Luciano Lo Giudice <luciano.logiudice@canonical.com>
This patchset implements the aforementioned commands. The former works by rotating the microceph-managed CephX keys of an (optional) client, allowing users to explicitly select the key type. It performs the steps defined by the upstream Ceph community.
The latter command notifies users of potential problems with the key rotations. It lets users know what are the current blockers so that manual intervention can happen more effectively.