8.2.2 create ceph monitor also appears to create manager

bagels1b

New Member
Nov 7, 2022
8
1
3
This is a fresh ProxMox 8.2.2 install. I'm creating the first host in the cluster and using ceph. In 8.1.4 my procedure to make him a ceph monitor and a manager was to issue 'pveceph mon create' and 'pveceph mgr create'. In 8.2.2 this fails for me. The mon create is successful but the mgr create gives me the error "ceph manager directory '/var/lib/ceph/mgr/ceph-prox01' already exists". If I look at the output of the mon create command i see he is creating that directory. Has the procedure to configure ceph changed in 8.2.2....or was my 8.1.4 procedure wrong? Do I need to issue the 'pveceph mgr create' command at all or does 'pveceph mon create' handle creating the mon and mgr now?

Code:
creating new monitor keyring
    creating /etc/pve/priv/ceph.mon.keyring
    importing contents of /etc/pve/priv/ceph.client.admin.keyring into /etc/pve/priv/ceph.mon.keyring
    monmaptool: monmap file /tmp/monmap
    monmaptool: generated fsid 63dd
    setting min_mon_release = pacific
    epoch 0
    fsid 63dd
    last_changed 2024-05-20T18:05:07.496317-0400
    created 2024-05-20T18:05:07.496317-0400
    min_mon_release 16 (pacific)
    election_strategy: 1
    0: [v2:172.16.1.1:3300/0,v1:172.16.1.1:6789/0] mon.prox-01
    monmaptool: writing epoch 0 to /tmp/monmap (1 monitors)
    created the first monitor, assume it's safe to disable insecure global ID reclaim for new setup
    Configuring keyring for ceph-crash.service
    Created symlink /etc/systemd/system/ceph-mon.target.wants/ceph-mon@prox01.service -> /lib/systemd/system/ceph-mon@.service.
    creating manager directory '/var/lib/ceph/mgr/ceph-prox01'
    creating keys for 'mgr.prox01'
    setting owner for directory
    enabling service 'ceph-mgr@prox01.service'
    Created symlink /etc/systemd/system/ceph-mgr.target.wants/ceph-mgr@prox01.service -> /lib/systemd/system/ceph-mgr@.service.
    starting service 'ceph-mgr@prox01.service'


Thanks
 
  • Like
Reactions: bagels1b

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!