[SOLVED] mon_command failed - bad entity name

RobFantini

Famous Member
May 24, 2012
2,042
107
133
Boston,Mass
Hello

After upgrading pve to version 5, using pve web page I tried to add a ceph mon and got this:
Code:
mon_command failed - bad entity name

the new mon did get created, the naming patern is different.

old are mon.1 mon.2

new is mon.sys8

things look ok from cli:
Code:
ceph -s
    cluster 75bc38f7-d42c-449b-88ed-488c7778a551
     health HEALTH_WARN
            noout flag(s) set
     monmap e33: 3 mons at {1=10.11.12.10:6789/0,2=10.11.12.3:6789/0,sys8=10.11.12.8:6789/0}
            election epoch 2804, quorum 0,1,2 2,sys8,1
     osdmap e11410: 18 osds: 18 up, 18 in
            flags noout,sortbitwise,require_jewel_osds
      pgmap v12997103: 0 pgs, 0 pools, 0 bytes data, 0 objects
            2013 MB used, 7952 GB / 7954 GB avail

pve task viewer:
Code:
ceph-mon: set fsid to 75bc38f7-d42c-449b-88ed-488c7778a551
ceph-mon: created monfs at /var/lib/ceph/mon/ceph-sys8 for mon.sys8
Created symlink /etc/systemd/system/ceph-mon.target.wants/ceph-mon@sys8.service -> /lib/systemd/system/ceph-mon@.service.
admin_socket: exception getting command descriptions: [Errno 2] No such file or directory
INFO:ceph-create-keys:ceph-mon admin socket not ready yet.
INFO:ceph-create-keys:ceph-mon is not in quorum: u'synchronizing'
INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'
INFO:ceph-create-keys:ceph-mon is not in quorum: u'probing'
INFO:ceph-create-keys:ceph-mon is not in quorum: u'electing'
INFO:ceph-create-keys:ceph-mon is not in quorum: u'electing'
INFO:ceph-create-keys:Key exists already: /etc/ceph/ceph.client.admin.keyring
INFO:ceph-create-keys:Key exists already: /var/lib/ceph/bootstrap-osd/ceph.keyring
INFO:ceph-create-keys:Key exists already: /var/lib/ceph/bootstrap-rgw/ceph.keyring
INFO:ceph-create-keys:Key exists already: /var/lib/ceph/bootstrap-mds/ceph.keyring
creating manager directory '/var/lib/ceph/mgr/ceph-sys8'
creating keys for 'mgr.sys8'
TASK ERROR: mon_command failed - bad entity name

I assume this is just a glitch. in anycase I do not have pools - to prepare for 12.2 ceph I've moved all vm's to zfs .


Code:
# pveversion -v
proxmox-ve: 5.0-20 (running kernel: 4.10.17-2-pve)
pve-manager: 5.0-30 (running version: 5.0-30/5ab26bc)
pve-kernel-4.10.17-2-pve: 4.10.17-20
libpve-http-server-perl: 2.0-6
lvm2: 2.02.168-pve3
corosync: 2.4.2-pve3
libqb0: 1.0.1-1
pve-cluster: 5.0-12
qemu-server: 5.0-15
pve-firmware: 2.0-2
libpve-common-perl: 5.0-16
libpve-guest-common-perl: 2.0-11
libpve-access-control: 5.0-6
libpve-storage-perl: 5.0-14
pve-libspice-server1: 0.12.8-3
vncterm: 1.5-2
pve-docs: 5.0-9
pve-qemu-kvm: 2.9.0-4
pve-container: 2.0-15
pve-firewall: 3.0-2
pve-ha-manager: 2.0-2
ksm-control-daemon: 1.2-2
glusterfs-client: 3.8.8-1
lxc-pve: 2.0.8-3
lxcfs: 2.0.7-pve4
criu: 2.11.1-1~bpo90
novnc-pve: 0.6-4
smartmontools: 6.5+svn4324-1
zfsutils-linux: 0.6.5.11-pve17~bpo90
ceph: 10.2.9-1~bpo80+1
 
Last edited:
we do not support ceph jewel on pve 5

we try to create a ceph-mgr with the monitor, but this does not exist in ceph jewel