Project

General

Profile

Actions

action #17704

closed

workers Dead for real this time due to uninitialized values and permission denied

Added by ktsamis about 7 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Regressions/Crashes
Target version:
-
Start date:
2017-03-14
Due date:
% Done:

0%

Estimated time:

Description

http://paste.opensuse.org/17708954

It can't access /proc/sys/kernel/osrelease, even though User=_openqa-worker which the worker's service runs as, has access to the file:

_openqa-worker@e59:~> cat /proc/sys/kernel/osrelease
4.4.49-92.11-default

and because of that there are uninitialized values in:

/usr/share/openqa/script/../lib/OpenQA/Worker/Common.pm line 398. 
/usr/share/openqa/script/../lib/OpenQA/Worker/Common.pm line 403.

The lines are:

398:    elsif ($cando{$worker_caps->{cpu_arch}}) {

403:        $worker_caps->{worker_class} = 'qemu_' . $worker_caps->{cpu_arch};

Not sure what Category this goes to. Putting scheduling because I can't start a job.

Actions #1

Updated by coolo about 7 years ago

the apparmor profile is a bit selective - I guess we can just allow the worker to access all of /proc for reading :)

Actions #2

Updated by coolo over 6 years ago

  • Category changed from 122 to Regressions/Crashes
  • Status changed from New to Closed

this doesn't seem to be a generic issue and with the available information it's hard to judge the best road to action

Actions

Also available in: Atom PDF