cephadm checks /var/lib/ceph/{FSID}/ for daemons. If you rename/remove
the osd.60.oldf (again), fail the mgr (just to get a quicker response)
and see if the warning clears.
Zitat von Joffrey <joff.au@xxxxxxxxx>:
Hi,
After a failed OSD during the upgrade to 19.2.0, I renamed a folder.
Now, I have an OSD with the name osd.60.oldf.
This bug impacts various commands and services. The host is offline (but it
is not — another OSD, osd.67, is up and in).
Some commands return the following error:
cephadm shell -- ceph cephadm get-ssh-config:
Error EIO: Module 'cephadm' has experienced an error and cannot handle
commands: invalid literal for int() with base 10: '60.oldf'
ceph osd status:
Error EINVAL: Traceback (most recent call last):
File "/usr/share/ceph/mgr/mgr_module.py", line 1864, in _handle_command
return CLICommand.COMMANDS[cmd['prefix']].call(self, cmd, inbuf)
File "/usr/share/ceph/mgr/mgr_module.py", line 499, in call
return self.func(mgr, **kwargs)
File "/usr/share/ceph/mgr/status/module.py", line 337, in handle_osd_status
assert metadata
AssertionError
I tried to remove the daemon:
ceph orch daemon rm osd.60.oldf --force
but received:
TypeError: __init__() missing 2 required positional arguments: 'hostname'
and 'addr'
because the host is offline, and get-ssh-config does not work...
I have removed all data related to osd.60 and osd.60.oldf on the host
hosting this OSD.
How can I remove this daemon entry osd.60.oldf from Ceph's store?
osd.60.oldf only appears in orch ps, not in osd ls...
Thank you.
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx