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

cmon.conf controller ID issue causing reloads of services on puppet run. #7

Open
thaylin opened this issue Nov 4, 2020 · 3 comments

Comments

@thaylin
Copy link

thaylin commented Nov 4, 2020

Something I dont see is adding

controller_id=some-id-hash

do the /etc/cmon.conf. This is causing puppet to remove the line, based on the template and refresh the services. The system then generates a new hash and adds it into the file and it does it over. This refresh causes services to go offline during that time.

@geekgogie
Copy link
Contributor

Hi @thaylin

Noted on this. We'll update you once we have release the fix for this. For the meantime, I believe it shall be no problem in your end if you can try and edit the templates/cmon.cnf.erb and try to add the controller_id= here or you can use any arbitrary string/integer value as stated here https://severalnines.com/docs/components.html#cmon for controller_id variable.

@thaylin
Copy link
Author

thaylin commented Nov 12, 2020

Thank you, I will need to wait. The issue is I would need to modify the template here in this repository, or fork it and use a forked version for production, since the erb file is in your templates folder. Unless I am missing something this is not like using your crt and key file where you pull it from a local directory.

@geekgogie
Copy link
Contributor

Hi @thaylin

I have updated the repo and you might be able to try the fixes I have applied. Let me know if this runs with no problem at your end.

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