-
Notifications
You must be signed in to change notification settings - Fork 41
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
DLPX-84565 telegraf.service restarts after upgrade when it should be masked #739
DLPX-84565 telegraf.service restarts after upgrade when it should be masked #739
Conversation
1dfe4f2
to
4a20e2f
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, pending some manual tests with the relevant versions to ensure it works as intended (e.g. upgrade from pre-6.0.15, to post-6.0.15).
2bc9468
to
0c989c7
Compare
0c989c7
to
e156319
Compare
e156319
to
2d6d0fb
Compare
0ee6761
to
432c681
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
annoying, but makes sense.. thank you.
1c8208c
to
6a42a15
Compare
6a42a15
to
e13f3cb
Compare
Problem
The telegraf package enables
telegraf.service
. The service ends up in a restart loop as noted in the Jira.While the service is masked and disabled on a fresh install, there is nothing in the upgrade logic to mask this service.
Solution
Mask it like other services.
Testing Done
ab-pre-push: http://selfservice.jenkins.delphix.com/job/appliance-build-orchestrator-pre-push/7191/console
Manual test: Upgrade from 6.0.13.0 to 7.0 to 16.0 and verify telegraf.service is not running
http://selfservice.jenkins.delphix.com/job/blackbox-chained/5396/console
From the syslog:
During verify:
During apply: