-
Notifications
You must be signed in to change notification settings - Fork 103
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
ENT-11526: Changed mission-portal apache restart to graceful to minimize service interruptions #2864
Conversation
@cf-bottom jenkins please, thanks. |
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/10580/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-10580/ |
bootstrap-tests is a known issue fixed for ENT-8264 in https://github.com/cfengine/mission-portal/pull/2321 98-delete-project failure
is a bit like what I was trying to fix but in this case it is a 500 error which would not be solved by a graceful restart of apache.
Will check if there is another ticket for 500 errors during this test. |
have organized tickets and made one common ticket for 500 errors related to failed to open stream, permission denied, dispatch.php, vendor/autoload.php etc... ENT-11182 |
@cf-bottom jenkins please, now with a core change to add ExecReload using apachectl graceful to core systemd units. |
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/10602/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-10602/ |
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.
I can see how this might make sense. I would be concerned that graceful is aysnc and then after the promise runs we wouldn't be in the expected state until some undetermined period of time later.
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.
Makes sense. 👍
Looks like many platforms didn't have httpd running during bootstrap-tests restart test and sequential-tests during upgrades showed an error that may indicate why:
Will check it out. |
… interruptions In our CI system deployment tests we go through test steps quickly. Fairly often the apache config is updated by policy and a restart is initiated. By changing to apachectl graceful we should avoid some of the server availability during tests problems we have been seeing. Ticket: ENT-11526 Changelog: title
91f147a
to
f4de881
Compare
typo in core, fixed, @cf-bottom jenkins retry please. |
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/10603/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-10603/ |
rhel-9 hub in 99-cfbs-init test said
Looking in support tarball and var/cfengine/httpd/logs/error_log I think this is a known issue
Known issue: https://northerntech.atlassian.net/browse/ENT-11182 Selenium failure: InventoryTest::testExcludeIncludeFilter, looks like a timing fluke in selenium test to me. Logged a ticket: https://northerntech.atlassian.net/browse/ENT-11546 |
Will wait to cherry pick for a week or so to see how/if this improves our CI. Will set a reminder for myself for 2024-04-19. |
In our CI system deployment tests we go through test steps quickly.
Fairly often the apache config is updated by policy and a restart is initiated.
By changing to apachectl graceful we should avoid some of the server availability during tests problems we have been seeing.
Ticket: ENT-11526
Changelog: title
with cfengine/core#5480