action #42182
closedopenQA-worker package doesn't ship necessary folder (/var/lib/openqa/share)
0%
Description
I'm currently setting up a worker-only host on openSUSE Leap 15.0 with openQA-worker-4.5.1526033850.1ad9148d-lp150.1.1.noarch installed.
After installing the package and adjusting the workers.ini and client.conf I tried to start openqa-worker@1 and encountered the following issue:
[info] CACHE: caching is enabled, setting up /var/lib/openqa/cache/openqa.chell.qa.suse.de
[debug] Found possible working directory for http://openqa.chell.qa.suse.de: /var/lib/openqa/share
[error] Ignoring host 'http://openqa.chell.qa.suse.de': Working directory does not exist.
mkdir -p /var/lib/openqa/share/
was needed to bring up the worker successfully.
My workers.ini
as reference:
[global]
HOST = http://openqa.chell.qa.suse.de
CACHEDIRECTORY = /var/lib/openqa/cache
[1]
WORKER_CLASS=64bit-ipmi
IPMI_HOSTNAME=openqaw4-sp.qa.suse.de
IPMI_USER=admin
IPMI_PASSWORD=qatesting
SUT_IP=openqaw4.qa.suse.de
MAX_JOB_TIME=32000
OPENQA_URL=openqa.suse.de
[2]
WORKER_CLASS = 64bit-ipmi
IPMI_HOSTNAME = openqaw3-sp.qa.suse.de
IPMI_PASSWORD = qatesting
IPMI_USER = admin
MAX_JOB_TIME = 32000
SUT_IP = openqaw3.qa.suse.de
[openqa.chell.qa.suse.de]
TESTPOOLSERVER = rsync://chell.qa.suse.de/openqa-tests
IMHO this folder should be packaged to provide the best out-of-the-box experience.
Updated by okurz over 6 years ago
- Category set to Regressions/Crashes
- Assignee set to SLindoMansilla
https://github.com/os-autoinst/openQA/pull/1689 should have covered this, see #32632 as well.
@SLindoMansilla could you take a look please because you were working on #32632?
Updated by okurz over 6 years ago
- Related to action #32632: With caching enabled worker still requires /var/lib/openqa/share added
Updated by SLindoMansilla over 6 years ago
The version on Leap 15 doesn't have my fix. I will try to submit a maintenance fix to Leap 15, but I haven't ever achieved to get a fix on Leap/SLE, so I don't know how much time can it take.
You can auto patch your instance adding the line I added on the PR provided by okurz: https://github.com/os-autoinst/openQA/pull/1689
Updated by SLindoMansilla over 6 years ago
- Status changed from In Progress to Feedback
from IRC:
<SergioAtSUSE> how can I properly make that fix into Leap 15?
<fvogt> SergioAtSUSE: Depends on the project and package. Normally the package maintainer is responsible for submitting maintenance updates. Note that a bug report is required
<SergioAtSUSE> fvogt, openQA bug tracker is in progress, does the bug report needs to be on bugzilla
<SergioAtSUSE> ?
<fvogt> Yes
Bug reported: https://bugzilla.opensuse.org/show_bug.cgi?id=1111325
Updated by nicksinger over 6 years ago
- Status changed from Feedback to New
SLindoMansilla wrote:
The version on Leap 15 doesn't have my fix. I will try to submit a maintenance fix to Leap 15, but I haven't ever achieved to get a fix on Leap/SLE, so I don't know how much time can it take.
You can auto patch your instance adding the line I added on the PR provided by okurz: https://github.com/os-autoinst/openQA/pull/1689
Awesome, thanks a lot for driving this!
Updated by SLindoMansilla about 6 years ago
- Subject changed from openQA-worker package dosn't ship neccessary folder (/var/lib/openqa/share) to openQA-worker package doesn't ship necessary folder (/var/lib/openqa/share)
- Status changed from Workable to In Progress
Updated by SLindoMansilla about 6 years ago
- Status changed from In Progress to Resolved