Project

General

Profile

Actions

action #42182

closed

openQA-worker package doesn't ship necessary folder (/var/lib/openqa/share)

Added by nicksinger over 5 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Category:
Regressions/Crashes
Target version:
-
Start date:
2018-10-09
Due date:
% Done:

0%

Estimated time:

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.


Related issues 1 (0 open1 closed)

Related to openQA Project - action #32632: With caching enabled worker still requires /var/lib/openqa/shareResolvedSLindoMansilla2018-03-01

Actions
Actions #1

Updated by okurz over 5 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?

Actions #2

Updated by okurz over 5 years ago

  • Related to action #32632: With caching enabled worker still requires /var/lib/openqa/share added
Actions #3

Updated by SLindoMansilla over 5 years ago

  • Status changed from New to In Progress

Looking

Actions #4

Updated by SLindoMansilla over 5 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

Actions #5

Updated by SLindoMansilla over 5 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

Actions #6

Updated by nicksinger over 5 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!

Actions #7

Updated by SLindoMansilla over 5 years ago

  • Status changed from New to Workable
Actions #8

Updated by SLindoMansilla over 5 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
Actions #9

Updated by SLindoMansilla over 5 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF