action #32632

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

Added by szarate almost 2 years ago. Updated over 1 year ago.

Status:ResolvedStart date:01/03/2018
Priority:LowDue date:
Assignee:SLindoMansilla% Done:

0%

Category:Concrete Bugs
Target version:Done
Difficulty:
Duration:

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

Related to openQA Project - action #42182: openQA-worker package doesn't ship necessary folder (/var... Resolved 09/10/2018

History

#1 Updated by szarate almost 2 years ago

  • Priority changed from Normal to Low

#2 Updated by SLindoMansilla over 1 year ago

  • Status changed from New to In Progress
  • Assignee set to SLindoMansilla

#3 Updated by SLindoMansilla over 1 year 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

#5 Updated by SLindoMansilla over 1 year ago

  • Status changed from In Progress to Feedback

#6 Updated by SLindoMansilla over 1 year ago

PR merged, waiting for verification from devel:openQA

#7 Updated by SLindoMansilla over 1 year ago

  • Status changed from Feedback to Resolved

Verified on docker container.

#8 Updated by coolo over 1 year 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.

#9 Updated by coolo over 1 year ago

  • Target version changed from Ready to Done

#10 Updated by okurz over 1 year ago

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

Also available in: Atom PDF