Project

General

Profile

Actions

action #32632

closed

With caching enabled worker still requires /var/lib/openqa/share

Added by szarate about 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Low
Category:
Regressions/Crashes
Target version:
Start date:
2018-03-01
Due date:
% Done:

0%

Estimated time:

Description

When installing an openqa worker, it will still require the /var/lib/openqa/share directory created:

Mar 01 18:42:12 openqaworker12 worker[23687]: [info] CACHE: caching is enabled, setting up /var/lib/openqa/cache/e212.suse.de          
Mar 01 18:42:12 openqaworker12 worker[23687]: [error] Ignoring host 'e212.suse.de': Working directory does not exist.   

When creating the directory:
Mar 01 18:44:22 openqaworker12 worker[23920]: [info] CACHE: caching is enabled, setting up /var/lib/openqa/cache/e212.suse.de

Mar 01 18:44:22 openqaworker12 worker[23920]: [info] Project dir for host e212.suse.de is /var/lib/openqa/share

Mar 01 18:44:22 openqaworker12 worker[23920]: [info] registering worker openqaworker12 version 7 with openQA e212.suse.de using protocol version [1]

entrance level issue


Related issues 1 (0 open1 closed)

Related to openQA Project - action #42182: openQA-worker package doesn't ship necessary folder (/var/lib/openqa/share)ResolvedSLindoMansilla2018-10-09

Actions
Actions #1

Updated by szarate about 6 years ago

  • Priority changed from Normal to Low
Actions #2

Updated by SLindoMansilla almost 6 years ago

  • Status changed from New to In Progress
  • Assignee set to SLindoMansilla
Actions #3

Updated by SLindoMansilla almost 6 years ago

As spoken with mkittler, the directory is never created during runtime. So the directory should be installed with the package.

The directory is packaged in openQA-common with the directive %ghost; the package owns the directory but it doesn't create it.

Proposing to remove the %ghost directive: SR https://build.opensuse.org/request/show/616093

Actions #5

Updated by SLindoMansilla almost 6 years ago

  • Status changed from In Progress to Feedback
Actions #6

Updated by SLindoMansilla almost 6 years ago

PR merged, waiting for verification from devel:openQA

Actions #7

Updated by SLindoMansilla almost 6 years ago

  • Status changed from Feedback to Resolved

Verified on docker container.

Actions #8

Updated by coolo almost 6 years ago

For the record: the worker doesn't need the /share dir, but isotovideo needs for all these tests:

coolo@cleopatra#os-autoinst-distri-opensuse>git grep /assets/
tests/boot/boot_from_pxe.pm: my $repo = $openqa_url . "/assets/repo/${image_name}";
tests/console/docker_image.pm: my $image_url = autoinst_url("/assets/other/$image_filename");
tests/kernel/install_ltp.pm: $ar_url = "http://openqa.suse.de/assets/repo/$we_repo";
tests/support_server/setup.pm: zypper_call('ar http://openqa.suse.de/assets/repo/SLE-12-SP3-SERVER-POOL-x86_64-Media1-CURRENT/ sles12sp3dvd1_repo');
tests/virt_autotest/virt_utils.pm: my $newrepo = "http://openqa.suse.de/assets/repo/" . get_var("REPO_0");
tests/virt_autotest/virt_utils.pm: my $daily_build_module = "http://openqa.suse.de/assets/repo/SLE-${version}-Module-\\2-POOL-x86_64-Build" . get_required_var('BUILD') . "-Media1/";
tests/virt_autotest/virt_utils.pm: . "http://openqa.suse.de/assets/repo/SLE-${version}-Module-\\1-POOL-x86_64-Build"

These assets aren't cached but rely on NFS.

Actions #9

Updated by coolo over 5 years ago

  • Target version changed from Ready to Done
Actions #10

Updated by okurz over 5 years ago

  • Related to action #42182: openQA-worker package doesn't ship necessary folder (/var/lib/openqa/share) added
Actions

Also available in: Atom PDF