Project

Profile

Help

Issue #7693

Worker's working directory is wrong during file migration

Added by iballou about 2 months ago. Updated about 2 months 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"
    }
  ],

Associated revisions

Revision 7d04b772 View on GitHub
Added by dkliban@redhat.com about 2 months ago

Use publish task from pulp_file to create FilePublications.

fixes: #7693 https://pulp.plan.io/issues/7693

Revision 7d04b772 View on GitHub
Added by dkliban@redhat.com about 2 months ago

Use publish task from pulp_file to create FilePublications.

fixes: #7693 https://pulp.plan.io/issues/7693

Revision 7d04b772 View on GitHub
Added by dkliban@redhat.com about 2 months ago

Use publish task from pulp_file to create FilePublications.

fixes: #7693 https://pulp.plan.io/issues/7693

History

#1 Updated by dkliban@redhat.com about 2 months ago

  • Status changed from NEW to MODIFIED

#2 Updated by dkliban@redhat.com about 2 months ago

  • Assignee set to dkliban@redhat.com
  • Triaged changed from No to Yes
  • Sprint set to Sprint 83

#3 Updated by ttereshc about 2 months ago

  • Sprint/Milestone set to 0.5.0

#4 Updated by pulpbot about 2 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF