Actions
Issue #5152
closedPulp 3 can't sync when installed along side Pulp 2
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.20.0
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 57
Quarter:
Description
The first time you try to sync using Pulp 3 that was installed on the same machine as Pulp 2 you get the following error in the Task:
{
"_created": "2019-07-17T19:18:30.230257Z",
"_href": "/pulp/api/v3/tasks/be5b916a-2c50-4558-9057-d538beb0daed/",
"created_resources": [],
"error": {
"code": null,
"description": "[Errno 13] Permission denied: '/var/lib/pulp/artifact'",
...
The permissions on /var/lib/pulp set by Pulp 2 don't allow group members to write to that directory.
$ ls -la /var/lib/pulp/
total 8
drwxr-xr-x. 6 apache pulp 132 Jul 17 18:26 .
drwxr-xr-x. 39 root root 4096 Jul 17 18:28 ..
-rw-r--r--. 1 apache apache 2 Jul 17 18:16 0005_puppet_module_name_change.txt
-rw-r--r--. 1 root root 0 Jul 17 18:16 db_initialized.flag
drwxr-xr-x. 7 apache pulp 73 Jul 17 18:16 published
drwxr-xr-x. 2 apache pulp 25 Jul 17 18:16 static
drwxrwxr-x. 5 vagrant pulp 269 Jul 17 18:28 tmp
drwxr-xr-x. 2 apache pulp 6 Jul 3 17:53 uploads
pulp-server RPM for Pulp 2 needs to set the change the permissions on /var/lib/pulp to 775.
Related issues
Updated by daviddavis over 5 years ago
- Triaged changed from No to Yes
- Sprint set to Sprint 56
Updated by dkliban@redhat.com over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to dkliban@redhat.com
Added by dkliban@redhat.com over 5 years ago
Added by dkliban@redhat.com over 5 years ago
Revision 1432746c | View on GitHub
Problem: install playbook is out of date
Solution: add 'pulp_group' config
Updated by ipanova@redhat.com over 5 years ago
- Status changed from ASSIGNED to MODIFIED
Updated by dalley about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Updated by dkliban@redhat.com about 5 years ago
- Status changed from CLOSED - CURRENTRELEASE to MODIFIED
- Platform Release deleted (
2.21.0)
This change never made it to the 2.21 branch in pulp-packaging repo. This needs to go out with 2.21.1.
Updated by dkliban@redhat.com about 5 years ago
- Copied to Issue #5742: Pulp 3 can't sync when installed along side Pulp 2 added
Updated by dkliban@redhat.com about 5 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
I made a new issue to track this for 2.21.0: https://pulp.plan.io/issues/5742
Actions
Problem: Pulp 3 can't sync when installed along side Pulp 2
Solution: make /var/lib/pulp writable by group 'pulp'
fixes: #5152 https://pulp.plan.io/issues/5152