This just started after a recent upgrade - I am getting these errors in an email with Subject "Cron <root@hostname> PATH="/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/bin:/usr/local/sbin:/root/bin" /usr/local/libexec/nas/scrub -t 14 poolname"
Traceback (most recent call last):
File "/usr/local/bin/midclt", line 9, in <module>
load_entry_point('middlewared==0.0.0', 'console_scripts', 'midclt')()
File "/usr/local/lib/python2.7/site-packages/middlewared/client/client.py", line 211, in main
with Client(uri=args.uri) as c:
File "/usr/local/lib/python2.7/site-packages/middlewared/client/client.py", line 78, in __init__
self._ws.connect()
File "/usr/local/lib/python2.7/site-packages/middlewared/client/client.py", line 22, in connect
self.sock.settimeout(None)
AttributeError: 'NoneType' object has no attribute 'settimeout'
on FreeBSD hostname.local 10.3-STABLE FreeBSD 10.3-STABLE #0 r295946+47645f1(9.10.2-STABLE): Mon Dec 19 08:30:01 UTC 2016 root@gauntlet:/freenas-9.10-releng/_BE/objs/freenas-9.10-releng/_BE/os/sys/FreeNAS.amd64 amd64
Traceback (most recent call last):
File "/usr/local/bin/midclt", line 9, in <module>
load_entry_point('middlewared==0.0.0', 'console_scripts', 'midclt')()
File "/usr/local/lib/python2.7/site-packages/middlewared/client/client.py", line 211, in main
with Client(uri=args.uri) as c:
File "/usr/local/lib/python2.7/site-packages/middlewared/client/client.py", line 78, in __init__
self._ws.connect()
File "/usr/local/lib/python2.7/site-packages/middlewared/client/client.py", line 22, in connect
self.sock.settimeout(None)
AttributeError: 'NoneType' object has no attribute 'settimeout'
on FreeBSD hostname.local 10.3-STABLE FreeBSD 10.3-STABLE #0 r295946+47645f1(9.10.2-STABLE): Mon Dec 19 08:30:01 UTC 2016 root@gauntlet:/freenas-9.10-releng/_BE/objs/freenas-9.10-releng/_BE/os/sys/FreeNAS.amd64 amd64