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
[dev.icinga.com #9570] Multi select causes commands to fail #3130
Comments
Updated by jmeyer on 2015-07-07 07:53:35 +00:00
Hi, which version of Icinga Web 2 are you using? Best regards, |
Updated by dgoetz on 2015-07-07 08:20:00 +00:00
Using the release candidate and a local command pipe |
Updated by jmeyer on 2015-07-07 08:37:55 +00:00 I cannot reproduce this, neither with rc1 nor the latest master. Please make sure you've upgraded properly. (all files are up2date etc) If the issue persists:
|
Updated by smadmin on 2015-07-07 09:39:55 +00:00 We see this in the log:
|
Updated by jmeyer on 2015-07-07 11:08:03 +00:00 Please apply the following patch and report whether it fixes the issue:
|
Updated by smadmin on 2015-07-07 13:00:55 +00:00 This removes the error message, but let it fail silently while sending if pipe is blocked. (I can only see one or two external commands in icinga2.log out of five executed in the webinterface). |
Updated by jmeyer on 2015-07-07 14:30:48 +00:00 Then there is something else wrong in your environment. Using fopen(, "w") is a blocking call, which will not succeed until something (Icinga 2) actually reads from the pipe. The patch I've proposed behaves the same as your while loop and issues one command at a time and continues after Icinga 2 retrieved the command. I've even tried it myself to be really sure:
How did you install Icinga 2? |
Updated by vvv on 2015-07-07 22:29:30 +00:00 I was seeing similar issue in 3.beta3. 4.rc1 seems to have fixed it for me. |
Updated by elippmann on 2015-07-16 14:11:27 +00:00
|
Updated by elippmann on 2015-07-17 14:23:08 +00:00
|
Updated by icinga-kanban on 2015-08-10 09:34:47 +00:00 Build !#939 triggered by commit cb0b3c8 passed successfully. Branch: origin/master |
Updated by jmeyer on 2015-08-18 06:38:29 +00:00
|
Updated by jmeyer on 2015-08-18 09:12:59 +00:00
Hi Icinga2! We suspect that this issue is caused by your commandpipe listener implementation. Can you please make your devs have a look at it if there is something to improve when processing multiple commands? Thanks, |
Updated by mfriedrich on 2015-08-18 09:19:13 +00:00
|
Updated by mfriedrich on 2016-02-24 23:55:42 +00:00
Haven't seen the issue after the release of 2.4.0. Please retest and open a new issue if it still occurs. |
This issue has been migrated from Redmine: https://dev.icinga.com/issues/9570
Created by smadmin on 2015-07-07 07:34:12 +00:00
Assignee: (none)
Status: Closed (closed on 2016-02-24 23:55:42 +00:00)
Target Version: (none)
Last Update: 2016-02-24 23:55:42 +00:00 (in Redmine)
Using multi select on hosts or service causes commands to fail with message
Changesets
2015-08-10 09:31:27 +00:00 by elippmann cb0b3c8754b0e8b1dc96b240f5f40a084b0503c2
Relations:
The text was updated successfully, but these errors were encountered: