Project

General

Profile

Actions

action #114454

open

Improve error message when HDD_1 is empty

Added by ph03nix over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
-
Target version:
Start date:
2022-07-21
Due date:
% Done:

0%

Estimated time:

Description

User story

In certain job groups where HDD_1 is not a static variable but requires assigment by a bot, reviewers and developers are often confused by the error message if this variable is missing:

Reason: backend died: qemu-img: Could not open '/var/lib/openqa/pool/3': A regular file was expected by the 'file' driver, but something else was given 

see e.g. https://openqa.suse.de/tests/9186552#settings

Unless there are legitimate cases in which HDD_1 does not need to exist, I think it would be great to provide a better error message, e.g. HDD_1 cannot be empty.

Acceptance criteria

  • Provide a more meaningful error message in case HDD_1 is empty

Tasks

  • Provide a more meaningful error message in case HDD_1 is empty

Further details

The ticket is invalid, if there are legitimate cases where HDD_1 can and should be empty. Please close it in this case.


Files

errormsg.png (45 KB) errormsg.png ph03nix, 2022-07-21 09:16
Actions

Also available in: Atom PDF