qa/tasks: capture CommandCrashedError when running nvme list cmd
The safe_while retry loop does not catch exceptions, so a
CommandCrashedError from `nvme list` bypasses it entirely. Catch
CommandCrashedError and continue the retry loop instead.
Fixes: https://tracker.ceph.com/issues/77001 (Tentacle backport tracker)
Fixes: https://tracker.ceph.com/issues/76984 (original tracker)
Signed-off-by: Redouane Kachach <rkachach@ibm.com>
(cherry picked from commit
0bf55d6a8bb38942a33220ee6ab2890fb557476e)