Support #49499
closednew osds created by orchestrator running different image version
0%
Description
Hi,
I installed new host for OSDS today, they were automatically created using drivegroups service specs (https://docs.ceph.com/en/latest/cephadm/drivegroups/#drivegroups) and they started with a 15.2.9 image, instead of 15.2.8 which all daemons of the cluster are running.
I did not yet run ceph orch upgrade to 15.2.9.
Is there a way to lock the version of OSDS created by orchestrator?
Thanks!
Kenneth
Updated by Kenneth Waegeman about 3 years ago
Already solved with help from mailing list, sorry for the noise.
The fix (thanks to Tobias Fisher):
Hi Kenneth,
check the config db which image is set:
ceph config dump
WHO MASK LEVEL OPTION VALUE RO
global basic container_image docker.io/ceph/ceph:v15.2.9 *
Probably you have v15 tag configured which means orchestrator will fetch latest v15 image - so as of today this would be v15.2.9.
So either you change the setting in the config DB or you can do it like this if you have v15 configured:
- log in to the host that is going to be added beforehand
- get you preferred image:
docker pull ceph/ceph:v15.2.6
- retag it
docker tag ceph/ceph:v15.2.6 ceph/ceph:v15
- remove the original image
docker rmi ceph/ceph:v15.2.6
- add host as usual
orchestrator will use the configured v15 image which on the new host corresponds to v15.2.6
hope it helps
best,
tobi
Updated by Sebastian Wagner about 3 years ago
- Tracker changed from Bug to Support
- Status changed from New to Resolved
This is getting fixed by https://github.com/ceph/ceph/pull/39058