Project

General

Profile

Actions

action #17218

closed

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 by michalnowak about 7 years ago. Updated about 7 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
2017-02-20
Due date:
% Done:

100%

Estimated time:

Description

Using: openQA-4.4.1487185841.20f2a62-75.2.noarch and latest Mojo.

openQA is unable to publish HDD due to:

cksum: /var/lib/openqa/share/factory/hdd/sle-12-SP3-x86_64-0248-textmode@64bit.qcow2.TEMP-IMZWlhMn: Permission denied
Use of uninitialized value $csum1 in concatenation (.) or string at /usr/share/openqa/script/../lib/OpenQA/Worker/Jobs.pm line 255.
Use of uninitialized value $size1 in concatenation (.) or string at /usr/share/openqa/script/../lib/OpenQA/Worker/Jobs.pm line 255.
Use of uninitialized value $csum1 in string eq at /usr/share/openqa/script/../lib/OpenQA/Worker/Jobs.pm line 257.

autoinst-log.txt:

15:44:40.4442 29040 QEMU: qemu-system-x86_64: terminating on signal 15 from pid 29040 (/usr/bin/isotovideo: backen)
15:44:40.4443 29040 sending magic and exit
15:44:40.4444 29034 received magic close
15:44:40.4487 29034 preparing hdd 1 for upload as sle-12-SP3-x86_64-0248-textmode@64bit.qcow2 in qcow2
15:44:40.4489 29034 running nice ionice qemu-img convert -O qcow2 raid/l1 assets_public/sle-12-SP3-x86_64-0248-textmode@64bit.qcow2 -c
29034: EXIT 0
+++ worker notes +++
end time: 2017-02-20 15:46:20
result: done
uploading install_and_reboot-y2logs.tar.bz2
uploading sle-12-SP3-x86_64-0248-textmode@64bit.qcow2
Checksum :3415784162 Sizes::1061024768
uploading video.ogv
uploading vars.json
uploading serial0.txt
uploading autoinst-log.txt
-rw-r--r-- 1 root      root    1015235072 Feb 17 14:25 sle-12-SP3-x86_64-0248-textmode@64bit.qcow2
-rw------- 1 geekotest nogroup 1061024768 Feb 20 16:46 sle-12-SP3-x86_64-0248-textmode@64bit.qcow2.TEMP-IMZWlhMn

This is how is worker started: su - _openqa-worker -c "/usr/bin/perl /usr/share/openqa/script/worker --instance 1". HDD gets published if it's started as root. This is a recent problem on my instance.


Related issues 2 (0 open2 closed)

Related to openQA Project - action #16430: [tools] qcow2 image upload fails with no apparent reason and job ends up incompleteResolvedcoolo2017-02-02

Actions
Related to openQA Project - action #17408: Webinterface does not show any information when a worker fails to write to diskRejected2017-03-01

Actions
Actions

Also available in: Atom PDF