There was a bug with this that was fixed by https://github.com/ceph/ceph/pull/52122 (which also specifically added an integration test for this case). It looks like it's missing a reef and quincy backport though unfortunately. I'll try to open one for both. On Tue, Mar 5, 2024 at 8:26 AM Eugen Block <eblock@nde.ag> wrote:
It seems to be an issue with the service type (in this case "mon"), it's not entirely "broken", with the node-exporter it works:
quincy-1:~ # cat node-exporter.yaml service_type: node-exporter service_name: node-exporter placement: host_pattern: '*' extra_entrypoint_args: - "--collector.textfile.directory=/var/lib/node_exporter/textfile_collector2"
quincy-1:~ # ceph orch apply -i node-exporter.yaml Scheduled node-exporter update...
I'll keep looking... unless one of the devs is reading this thread and finds it quicker.
Zitat von Eugen Block <eblock@nde.ag>:
Oh, you're right. I just checked on Quincy as well at it failed with the same error message. For pacific it still works. I'll check for existing tracker issues.
Zitat von Robert Sander <r.sander@heinlein-support.de>:
Hi,
On 3/5/24 08:57, Eugen Block wrote:
extra_entrypoint_args: -
'--mon-rocksdb-options=write_buffer_size=33554432,compression=kLZ4Compression,level_compaction_dynamic_level_bytes=true,bottommost_compression=kLZ4HCCompression,max_background_jobs=4,max_subcompactions=2'
When I try this on my test cluster with Reef 18.2.1 the orchestrator tells me:
# ceph orch apply -i mon.yml Error EINVAL: ServiceSpec: __init__() got an unexpected keyword argument 'extra_entrypoint_args'
It's a documented feature:
https://docs.ceph.com/en/reef/cephadm/services/#cephadm-extra-entrypoint-arg...
Regards -- Robert Sander Heinlein Consulting GmbH Schwedter Str. 8/9b, 10119 Berlin
https://www.heinlein-support.de
Tel: 030 / 405051-43 Fax: 030 / 405051-19
Amtsgericht Berlin-Charlottenburg - HRB 220009 B Geschäftsführer: Peer Heinlein - Sitz: Berlin _______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io
_______________________________________________ ceph-users mailing list -- ceph-users@ceph.io To unsubscribe send an email to ceph-users-leave@ceph.io