diff --git a/truenas_installer/utils.py b/truenas_installer/utils.py index 70708b2..effb959 100644 --- a/truenas_installer/utils.py +++ b/truenas_installer/utils.py @@ -41,7 +41,10 @@ async def get_partitions( if _part in partitions: # looks like {1: '/dev/sda1', 2: '/dev/nvme0n1p2'} disk_partitions[_part] = f'/dev/{partdir.name}' - except ValueError: + except (OSError, ValueError): + # OSError: [Errno 19] No such device was seen on + # our internal CI/CD infrastructure for reasons + # not understood... continue except FileNotFoundError: continue