Spec file question: --dry-run not showing anything would be applied?
Sorry, I just got on this list and am asking a number of questions… ☹ It was suggested in one of my other threads to create and apply a spec file that would have cephadm put the DB for rotational drives onto SSD when it creates the OSD on those drives. I came up with he following spec file: --- START --- service_type: osd service_id: osd_spec_hdd placement: host_pattern: '*' data_devices: rotational: 1 db_devices: rotational: 0 model: 'Samsung SSD 990 PRO 1TB' limit: 1 --- service_type: osd service_id: osd_spec_ssd placement: host_pattern: '*' data_devices: model: 'KINGSTON SEDC1500M1920G' --- END --- But when I run ‘ceph orch apply osd -i ./osd_spec.yml --dry-run’, I get the following output: --- START --- WARNING! Dry-Runs are snapshots of a certain point in time and are bound to the current inventory setup. If any of these conditions change, the preview will be invalid. Please make sure to have a minimal timeframe between planning and applying the specs. #################### SERVICESPEC PREVIEWS #################### +---------+------+--------+-------------+ |SERVICE |NAME |ADD_TO |REMOVE_FROM | +---------+------+--------+-------------+ +---------+------+--------+-------------+ ################ OSDSPEC PREVIEWS ################ +---------+------+------+------+----+-----+ |SERVICE |NAME |HOST |DATA |DB |WAL | +---------+------+------+------+----+-----+ +---------+------+------+------+----+-----+ --- END --- Which seems to indicate that nothing would be applied, but I am not sure if that is because my spec file is wrong or if it is because my rotational drives already have OSDs (and I have migrated their DB/WAL to the SSDs)?
Correct, since your OSDs are already created, Ceph won’t do anything. Maybe think about adding a DB size parameter if you don’t want the entire disk to be consumed by the existing DBs. Zitat von Alan Murrell <Alan@t-net.ca>:
Sorry, I just got on this list and am asking a number of questions… ☹
It was suggested in one of my other threads to create and apply a spec file that would have cephadm put the DB for rotational drives onto SSD when it creates the OSD on those drives. I came up with he following spec file:
--- START --- service_type: osd service_id: osd_spec_hdd placement: host_pattern: '*' data_devices: rotational: 1 db_devices: rotational: 0 model: 'Samsung SSD 990 PRO 1TB' limit: 1 --- service_type: osd service_id: osd_spec_ssd placement: host_pattern: '*' data_devices: model: 'KINGSTON SEDC1500M1920G' --- END ---
But when I run ‘ceph orch apply osd -i ./osd_spec.yml --dry-run’, I get the following output:
--- START --- WARNING! Dry-Runs are snapshots of a certain point in time and are bound to the current inventory setup. If any of these conditions change, the preview will be invalid. Please make sure to have a minimal timeframe between planning and applying the specs. #################### SERVICESPEC PREVIEWS #################### +---------+------+--------+-------------+ |SERVICE |NAME |ADD_TO |REMOVE_FROM | +---------+------+--------+-------------+ +---------+------+--------+-------------+ ################ OSDSPEC PREVIEWS ################ +---------+------+------+------+----+-----+ |SERVICE |NAME |HOST |DATA |DB |WAL | +---------+------+------+------+----+-----+ +---------+------+------+------+----+-----+
--- END ---
Which seems to indicate that nothing would be applied, but I am not sure if that is because my spec file is wrong or if it is because my rotational drives already have OSDs (and I have migrated their DB/WAL to the SSDs)?
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
Sorry, I just got on this list and am asking a number of questions… ☹
Nothing to be sorry for. We are a community and we were all new to Ceph at some point.
It was suggested in one of my other threads to create and apply a spec file that would have cephadm put the DB for rotational drives onto SSD when it creates the OSD on those drives. I came up with the following spec file:
Note that the 990 PRO appears to be a “client” model and may not be a good fit for enterprise duty cycle or workloads. The Kingston SSD specified below does look like an enterprise model rated at ~1 DWPD so you should be good to go with those.
--- START --- service_type: osd service_id: osd_spec_hdd placement: host_pattern: '*' data_devices: rotational: 1 db_devices: rotational: 0 model: 'Samsung SSD 990 PRO 1TB' limit: 1 --- service_type: osd service_id: osd_spec_ssd placement: host_pattern: '*' data_devices: model: 'KINGSTON SEDC1500M1920G' --- END ---
participants (3)
-
Alan Murrell
-
Anthony D'Atri
-
Eugen Block