Actions
Issue #7693
closedWorker's working directory is wrong during file migration
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"
}
],
Actions
Use publish task from pulp_file to create FilePublications.
fixes: #7693 https://pulp.plan.io/issues/7693