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"
    }
  ],

Added by dkliban@redhat.com over 3 years ago

Revision 7d04b772 | View on GitHub

Use publish task from pulp_file to create FilePublications.

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

Added by dkliban@redhat.com over 3 years ago

Revision 7d04b772 | View on GitHub

Use publish task from pulp_file to create FilePublications.

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

Added by dkliban@redhat.com over 3 years ago

Revision 7d04b772 | View on GitHub

Use publish task from pulp_file to create FilePublications.

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

Actions #1

Updated by dkliban@redhat.com over 3 years ago

  • Status changed from NEW to MODIFIED
Actions #2

Updated by dkliban@redhat.com over 3 years ago

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

Updated by ttereshc over 3 years ago

  • Sprint/Milestone set to 0.5.0
Actions #4

Updated by pulpbot over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Also available in: Atom PDF