Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
cernceph opened this issue Jul 8, 2013 · 1 comment
Open

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

cernceph opened this issue Jul 8, 2013 · 1 comment
Assignees

Comments

@cernceph
Copy link

cernceph commented Jul 8, 2013

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

@fcharlier
Copy link
Member

There's no intentional reason for this, just something I forgot indeed.

@ghost ghost assigned fcharlier Jul 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants