canonical / microceph

MicroCeph is snap-deployed Ceph with built-in clustering
https://snapcraft.io/microceph
GNU Affero General Public License v3.0
226 stars 35 forks source link

Unable to add rebuilt server #445

Closed nickwales closed 1 month ago

nickwales commented 1 month ago

Issue report

What version of MicroCeph are you using ?

ceph-version: 18.2.4-0ubuntu1~cloud0; microceph-git: c9f2b08f92

18.2.4+snapc9f2b08f92 (1139) 102MB held)

What are the steps to reproduce this issue ?

  1. Removed server
  2. On the monitor microceph cluster add <name>
  3. On the replaced server run: microceph cluster join <encoded join output>

What happens (observed behaviour) ?

The terminal returns: Error: failed to record mon db entries: failed to record mon host: This "config" entry already exists

What were you expecting to happen ?

The server to join the cluster

Relevant logs, error output, etc.

This is from syslog, I can't find any other logs.

2024-10-17T15:33:25.473086+00:00 <hostname> systemd[1]: Started snap.microceph.microceph-2a2bee09-65da-4836-a55c-9d80aa0fb903.scope.
2024-10-17T15:33:28.366018+00:00 <hostname> systemd[1]: snap.microceph.microceph-2a2bee09-65da-4836-a55c-9d80aa0fb903.scope: Deactivated successfully.
2024-10-17T15:33:28.377009+00:00 <hostname> microceph.daemon[263532]: time="2024-10-17T15:33:28Z" level=warning msg="microcluster database is uninitialized"
nickwales commented 1 month ago

Duplicate of #444 closing.