Project

Profile

Help

Issue #4834

closed

File directories between pulp 2 and pulp 3 conflict

Added by daviddavis over 5 years ago. Updated over 5 years ago.

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

Description

This is a problem for users (eg Katello) running both Pulp 2 and Pulp 3 side-by-side but also potentially in place upgrades too. Both pulp 2 and pulp 3 save files to /var/lib/pulp and /var/lib/pulp/published. It's possible to change this default though (in Pulp 3 at least) so this may just be a docs issue.


Related issues

Is duplicate of Pulp - Issue #5304: Pulp 3 publishes metadata outside of artifact storageCLOSED - CURRENTRELEASEdkliban@redhat.comActions
Actions #1

Updated by jsherril@redhat.com over 5 years ago

To clarify, its possible to change the default of /var/lib/pulp, but not change /var/lib/pulp/published to something else.

Honestly i'd rather the MEDIA_ROOT default to something different than what pulp2 uses (such as /var/lib/pulp), but i don't have any suggestion since i would avoid '/var/lib/pulp3'. Maybe /var/lib/pulp_content/.

Actions #2

Updated by amacdona@redhat.com over 5 years ago

  • Triaged changed from No to Yes
Actions #3

Updated by bmbouter over 5 years ago

Do pulp2 and pulp3 actually overlap inside of /var/lib/pulp/? We should look because I can't think of one folder or file in /var/lib/pulp that both Pulp2 and Pulp3 want to write/read to/from.

Actions #4

Updated by daviddavis over 5 years ago

bmbouter pulp 3 stores stuff in /var/lib/pulp/published as well as pulp 2.

Actions #5

Updated by bmbouter over 5 years ago

Where does that dir come from? My pulp3 system with pulp_ansible and pulp_deb that contains content is missing it. I have:

[vagrant@pulp3-source-fedora29 ~]$ cd /var/lib/pulp
[vagrant@pulp3-source-fedora29 pulp]$ ls
artifact  static  tmp
[vagrant@pulp3-source-fedora29 pulp]$ ls -la
total 20
drwxrwxr-x.  5 vagrant vagrant 4096 May 16 20:29 .
drwxr-xr-x. 31 root    root    4096 May 16 16:32 ..
drwxr-xr-x. 19 vagrant vagrant 4096 May 16 20:29 artifact
drwxrwxr-x.  6 vagrant vagrant 4096 May 16 20:29 static
drwxr-xr-x.  5 vagrant vagrant 4096 May 16 20:29 tmp
Actions #7

Updated by bmbouter over 5 years ago

@daviddavis oh I see, yes I agree. Can we rename either the pulp2 or pulp3 folder so they don't collide? The pulp3 change is easy, but the pulp2 change I think could be fine also to do in pulp2 as well. What do you think?

Actions #8

Updated by daviddavis over 5 years ago

If we did the rename in pulp 2, would we have to provide some sort of migration?

Actions #9

Updated by daviddavis over 5 years ago

  • Status changed from NEW to CLOSED - DUPLICATE
Actions #10

Updated by daviddavis over 5 years ago

  • Is duplicate of Issue #5304: Pulp 3 publishes metadata outside of artifact storage added

Also available in: Atom PDF