Until then I've fixed it for myself with this patch and restarted maas-regiond and now I don't have failing hardware tests any more:
--- /usr/lib/python3/dist-packages/metadataserver/builtin_scripts/smartctl.py.orig +++ /usr/lib/python3/dist-packages/metadataserver/builtin_scripts/smartctl.py @@ -245,7 +245,7 @@ print('INFO: Verifying SMART data on %s' % device_name) try: output = run_smartctl( - blockdevice, ['--xall'], device, output=True, stderr=STDOUT) + blockdevice, ['--health'], device, output=True, stderr=STDOUT) except TimeoutExpired: print('ERROR: Validating %s timed out!' % device_name) raise
Until then I've fixed it for myself with this patch and restarted maas-regiond and now I don't have failing hardware tests any more:
--- /usr/lib/ python3/ dist-packages/ metadataserver/ builtin_ scripts/ smartctl. py.orig python3/ dist-packages/ metadataserver/ builtin_ scripts/ smartctl. py
print( 'ERROR: Validating %s timed out!' % device_name)
+++ /usr/lib/
@@ -245,7 +245,7 @@
print('INFO: Verifying SMART data on %s' % device_name)
try:
output = run_smartctl(
- blockdevice, ['--xall'], device, output=True, stderr=STDOUT)
+ blockdevice, ['--health'], device, output=True, stderr=STDOUT)
except TimeoutExpired:
raise