Project

General

Profile

Actions

action #17408

closed

Webinterface does not show any information when a worker fails to write to disk

Added by nicksinger almost 8 years ago. Updated about 7 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Category:
Feature requests
Target version:
-
Start date:
2017-03-01
Due date:
% Done:

0%

Estimated time:

Description

Observation
A test in openQA is incomplete, even if every module passes.

Steps to reproduce

  • Change the ownership of e.g. /var/lib/openqa/share/factory/hdd to something so that the "_openqa-worker" user is not allowed to write to this path.
  • Start test with PUBLISH_HDD_1 variable
  • All modules will pass but overall status will be "incomplete" and no errors in os-autoinst.log
  • Only worker log will have permissions error

Problem
If an openqa-worker fails to write to the hard drive, the web interface does not show any hint, why a test is incomplete.
Syslog shows an entry stating "Permission denied" but this could be a problem on live instances of openQA where an testing engineer may not be able to access the logs of the openqa-worker process.

Possible solutions
A suggestion of mine would be to provide some sort of message in the web ui, stating why a test is "incomplete".
It would be also nice, if the log of the worker can be somehow investigated over the web interface. This, of course, depends on how critical/secret the information is that are written to the log by openqa-worker.


Related issues 3 (0 open3 closed)

Related to openQA Project (public) - action #17218: Can't publish HDD1: cksum: /var/lib/openqa/share/factory/hdd/sle-12-SP3-x86_64-0248-textmode@64bit.qcow2.TEMP-IMZWlhMn: Permission deniedResolvedoholecek2017-02-20

Actions
Related to openQA Project (public) - coordination #14972: [tools][epic] Improvements on backend to improve better handling of stallsResolvedokurz2016-11-24

Actions
Related to openQA Project (public) - action #27120: [tools][sprint 201711.2] Make worker upload part of its log to WebUIResolveddasantiago2017-10-30

Actions
Actions #1

Updated by asmorodskyi almost 8 years ago

  • Description updated (diff)
Actions #2

Updated by asmorodskyi almost 8 years ago

  • Related to action #17218: Can't publish HDD1: cksum: /var/lib/openqa/share/factory/hdd/sle-12-SP3-x86_64-0248-textmode@64bit.qcow2.TEMP-IMZWlhMn: Permission denied added
Actions #3

Updated by szarate almost 8 years ago

  • Related to coordination #14972: [tools][epic] Improvements on backend to improve better handling of stalls added
Actions #4

Updated by coolo about 7 years ago

  • Related to action #27120: [tools][sprint 201711.2] Make worker upload part of its log to WebUI added
Actions #5

Updated by coolo about 7 years ago

  • Status changed from New to Rejected

we need to make this debuggable by implementing #27120 - that has to do

Actions

Also available in: Atom PDF