Is there an Solution meanwhile? With Proxmox 5.1-41 and FreeNAS 11.1-U2 the Problem is still available. This Message is spamming my console.
echo -n -e \\x40\\x80\\x00\\x00 > iscsiPing.bin
echo -n -e \\x00\\x00\\x00\\x00 >> iscsiPing.bin
echo -n -e \\x00\\x00\\x00\\x00 >> iscsiPing.bin
echo -n -e \\x00\\x00\\x00\\x00 >> iscsiPing.bin
echo -n -e \\xff\\xff\\xff\\xff >> iscsiPing.bin
echo -n -e \\xff\\xff\\xff\\xff >> iscsiPing.bin
echo -n -e \\x00\\x00\\x00\\x00 >> iscsiPing.bin
echo -n -e \\x00\\x00\\x00\\x00 >> iscsiPing.bin
echo -n -e \\x00\\x00\\x00\\x00 >> iscsiPing.bin
echo -n -e \\x00\\x00\\x00\\x00 >> iscsiPing.bin
echo -n -e \\x00\\x00\\x00\\x00 >> iscsiPing.bin
echo -n -e \\x00\\x00\\x00\\x00 >> iscsiPing.bin
nc <iscsi-target> 3260 < iscsiPing.bin
#
# Proxmox Filters
#
filter f_cut_ctld01 {
program("ctld") and
message("192.168.1.2: read: connection lost");
};
filter f_cut_ctld02 {
program("ctld") and
message("child process") and
message("terminated with exit status 1");
};
log { source(src); filter(f_cut_ctld01); flags(final); };
log { source(src); filter(f_cut_ctld02); flags(final); };
service syslog-ng reload
I tried adding the code above into the syslog-ng.conf on my freenas, but am still seeing the errors.....
Adding filter to syslog-ng on FreeNAS work for we. but I hope proxmox devs fix it from the source.Anything matching those parameters will be blocked. Note that I don't know what will happen if proxmox has a legitimate failure and drops connections, and you may lose those log messages. But, that may be worth the sanity of having clean logs.
Dec 9 22:12:18 freenas 1 2020-12-09T22:12:18.751514+01:00 MYDOMAIN.tld ctld 2868 - - child process 63139 terminated with exit status 1
Dec 9 22:12:28 freenas 1 2020-12-09T22:12:28.797576+01:00 MYDOMAIN.tld ctld 63152 - - 172.16.0.1: read: connection lost
Dec 9 22:12:28 freenas 1 2020-12-09T22:12:28.798263+01:00 MYDOMAIN.tld ctld 2868 - - child process 63152 terminated with exit status 1
program("ctld")
filter f_cut_ctld01 {
message("ctld") and
message("172.16.0.1: read: connection lost"); };
filter f_cut_ctld02 {
message("ctld") and
message("child process") and
message("terminated with exit status 1"); };
log { source(src); filter(f_cut_ctld01); flags(final); };
log { source(src); filter(f_cut_ctld02); flags(final); };