Skip to content

ceph-osd-crush- and ceph-osd-register- run every time #19

@cernceph

Description

@cernceph

Is there some reason you didn't add an "unless" to the ceph-osd-crush-* and ceph-osd-register-* Exec's in device.pp?? As it is now the auth add and crush set is executed at every puppet instance for each osd device... which in our case is once per 10 minutes at the moment.

If you see nothing wrong with it, I'd like to add something like:

ceph-osd-register...:
unless => 'ceph auth list | grep osd.${osd_id}'

ceph-osd-crush...:
unless => '... to be determined ;) '

Cheers, Dan

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions