Project

Profile

Help

Issue #7693

closed

Worker's working directory is wrong during file migration

Added by iballou over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Sprint/Milestone:
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Katello
Sprint:
Sprint 83
Quarter:

Description

My file migration was failing because the worker was trying to create a PULP_MANIFEST at /, which was the specified working directory in the systemd service file. It only worked after I changed the working directory from ~ to /var/run/pulpcore-worker-%i/.

The worker should not be using the working directory listed in the systemd service file. Rather, it should use /var/lib/pulp/tmp/

"versions": [
    {
      "component": "pulpcore",
      "version": "3.7.1"
    },
    {
      "component": "pulp_2to3_migration",
      "version": "0.4.1"
    },
    {
      "component": "pulp_rpm",
      "version": "3.7.0"
    },
    {
      "component": "pulp_file",
      "version": "1.3.0"
    },
    {
      "component": "pulp_deb",
      "version": "2.7.0"
    },
    {
      "component": "pulp_container",
      "version": "2.1.0"
    },
    {
      "component": "pulp_certguard",
      "version": "1.0.3"
    },
    {
      "component": "pulp_ansible",
      "version": "0.4.1"
    }
  ],

Also available in: Atom PDF