Hi
I have been using Ceph for many years now, and recently upgraded to Reef.
Seems I made the jump too quickly, as I have been hitting a few issues. I can't find
any mention of them in the bug reports. I thought I would share them here in case it is
something to do with my setup.
On V18.2.0
cephadm version
Fails with the following output:
Traceback (most recent call last):
File "/usr/lib64/python3.6/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib64/python3.6/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/usr/sbin/cephadm/__main__.py", line 10096, in <module>
File "/usr/sbin/cephadm/__main__.py", line 10084, in main
File "/usr/sbin/cephadm/__main__.py", line 2240, in _infer_image
File "/usr/sbin/cephadm/__main__.py", line 2338, in infer_local_ceph_image
File "/usr/sbin/cephadm/__main__.py", line 2301, in get_container_info
File "/usr/sbin/cephadm/__main__.py", line 2301, in <listcomp>
File "/usr/sbin/cephadm/__main__.py", line 222, in __getattr__
AttributeError: 'CephadmContext' object has no attribute 'fsid'
I don't know if it is related, but
cephadm adopt --style legacy --name osd.X
Tries to use a V15 image which then fails to start after being imported. The OSD in
question has an SSD device from block.db if that is relevant.
Using the latest head version of cephadm from github let me work around this issue, but
the adopted OSDs were running 18.0.0-6603-g6c4ed58a and needed to be upgraded to 18.2.0.
Also the command:
ceph orch upgrade start -ceph_version v18.2.0
Does not work, it fails to find the right image. From memory I think it tried to pull
quay.io/ceph/ceph:v18:v18.2.0
Ceph orch upgrade start quay.io/ceph/ceph:v18.2.0
Does work as expected.
Let me know if there is any other information that would be helpful, but I have since
worked around these issues and have my ceph back in a happy state.
Regards,
Martin Conway
IT and Digital Media Manager
Research School of Physics
Australian National University
Canberra ACT 2601
+61 2 6125 1599
https://physics.anu.edu.au<https://physics.anu.edu.au/>