In freenas, in the iSCSI configuration under iSNS remove the entry. That will solve the issue. You will have to restart the service. This will cause an outage during the restart. Be sure to schedule your downtime.
Last edited:
#
# proxmox filters
#
filter f_cut_ctld01 { message("ctld") and message("86.75.30.9: read: connection lost"); };
filter f_cut_ctld02 { message("ctld") and message("86.75.30.10: read: connection lost"); };
filter f_cut_ctld03 { message("ctld") and message("86.75.30.11: read: connection lost"); };
log { source(src); filter(f_cut_ctld01); flags(final); };
log { source(src); filter(f_cut_ctld02); flags(final); };
log { source(src); filter(f_cut_ctld03); flags(final); };
If you are referring to Sharing > Block Shares (iSCSI) > Target Global Configuration > Global Configuration > ISNS Servers, I have never had anything defined there.Did you remove the iSNS setting from freenas? Doing anything with the syslog server is just going to make it not log the problem.
@nowoe already touched on this: it's not a bug, it's expected, if unfortunate behavior. Fortunately, there's an easy fix on the FreeNAS side that doesn't involve crippling either FreeNAS or Proxmox. Taken from an ixsystems thread (can't link since I'm a new user):
I added the following at the end of the filter section of /etc/local/syslog-ng.conf on FreeNAS:
Code:# # 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); };
Save, exit, and runAnything 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.Code:service syslog-ng reload
### Implementation
# scp or create the text file as attached - /root as example
# Validate no prior issues with pvestatd / pvedaemon
journalctl -xeu pvestatd
journalctl -xeu pvedaemon
# Make a backup
cp -a /usr/share/perl5/PVE/Storage/ISCSIPlugin.pm /root/ISCSIPlugin.pm.bak
# Validate your backup - diff should return no difference
ls -la /root/ISCSIPlugin.pm.bak
diff /root/ISCSIPlugin.pm.bak /usr/share/perl5/PVE/Storage/ISCSIPlugin.pm
# Replace with new version
cp -a /root/ISCSIPlugin.pm.txt /usr/share/perl5/PVE/Storage/ISCSIPlugin.pm
# Restart PVE Services and confirm no errors/services are started
systemctl restart pvedaemon
systemctl status pvedaemon
systemctl restart pvestatd
systemctl status pvestatd
journalctl -xeu pvestatd
journalctl -xeu pvedaemon
### Roll back if any errors encountered
# Restore backup file
cp -a /root/ISCSIPlugin.pm.bak /usr/share/perl5/PVE/Storage/ISCSIPlugin.pm
# Restart PVE Services and confirm no errors/services are started
systemctl restart pvedaemon
systemctl status pvedaemon
systemctl restart pvestatd
systemctl status pvestatd
journalctl -xeu pvestatd
journalctl -xeu pvedaemon
We use essential cookies to make this site work, and optional cookies to enhance your experience.