Project

General

Profile

Actions

Support #49499

closed

new osds created by orchestrator running different image version

Added by Kenneth Waegeman about 3 years ago. Updated about 3 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
orchestrator
Target version:
% Done:

0%

Tags:
Reviewed:
Affected Versions:
Pull request ID:

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

Actions #1

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

Actions #2

Updated by Sebastian Wagner about 3 years ago

  • Tracker changed from Bug to Support
  • Status changed from New to Resolved
Actions

Also available in: Atom PDF