-
Notifications
You must be signed in to change notification settings - Fork 578
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
Icinga2 crashs while scan from Saint #6836
Comments
Sounds like it could be a different flavor of #6559 indeed |
hi, I have: attached. |
I've found also a 2nd crash, but Systemd was able to "handle" it. Attached. Update: the file has ~11k lines so its compressed and I replaced some internal infos. |
@linuxmail Could you please retest our snapshot packages? We improved the stability of our API since the last release. |
This issue seems to have been addressed by #7005. |
Sorry for the late response. I will try to push them into production. |
hi, so, either Systemd was able to get Icinga2 process working fast again, before we (or master) notice it, or it was better working. I had only one, which I had to kill -9 and start again. But the version says r2.8.1-1, but 2.10.2-1.stretch is installed. So I think, while upgrading the process was not killed / stopped before upgrade.
|
Hi @linuxmail, please test the current snapshot packages and run your security scanner against it. Thanks, |
hi, I have a look to do it next week. It's a bit complicated to create a "AdHoc" scan in a PCI environment :-) |
I know but it would really help to know whether it survives a scan in your environment. If not, we can fix it prior the release :) |
hi, just an update: We try to add the snapshot packages to our Debian Repo (aptly) which is a bit more complicated, because of the required libboost packages. |
For Stretch, you'll need the backports repository (likely you already have that because of plugins, etc.). |
Yeah, I saw it :-) We added a new mirror on aptly with a filter to get only the boost packages and merged them with our local Icinga2 repo. The first test was working ...
I've started a 2nd run with 4 Icinga2 instances. Two with the snapshots and two with the 2.10.2-1.stretch |
Cool, many thanks for sharing - also in terms of the error messages, expected with the scanner doing some nasty things. |
Scan was finished. Unfortunately, all Icinga2 instances survived :-), but the snapshots seems to have a better handling, because I had less error messages . On the stable version, I have hundreds of:
:-) |
Error handling has changed quite a lot with the help of Boost ASIO. Good to hear that it works out, checking this is on the global list for #7041. Thanks again, this really helps a lot ❤️ |
Marking this as solved to clear the view on the open tasks for 2.11 :) |
Hi,
Expected Behavior
Internal security scan should not bring Icinga2 to a broken state
Current Behavior
While scanning, some instances (not all) gets unresponsible and we have to kill the process (because, our Systemd tries to get Icinga2 in a known state back)
Steps to Reproduce (for bugs)
Let Saint scan the API on port 5665
Your Environment
icinga2 --version
): version: r2.10.2-1icinga2 feature list
): Enabled features: api checker mainlogdebug.txt
Maybe related to: #6559
The text was updated successfully, but these errors were encountered: