Comment 12 for bug 1783889

Revision history for this message
Paul Tobias (tobias.pal) wrote :

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