Project

Profile

Help

Issue #4834

File directories between pulp 2 and pulp 3 conflict

Added by daviddavis 5 months ago. Updated about 2 months ago.

Status:
CLOSED - DUPLICATE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

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

Duplicates Pulp - Issue #5304: Pulp 3 publishes metadata outside of artifact storage MODIFIED Actions

History

#1 Updated by jsherril@redhat.com 5 months 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/.

#2 Updated by amacdona@redhat.com 5 months ago

  • Triaged changed from No to Yes

#3 Updated by bmbouter 5 months 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.

#4 Updated by daviddavis 5 months ago

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

#5 Updated by bmbouter 5 months 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

#7 Updated by bmbouter 5 months 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?

#8 Updated by daviddavis 5 months ago

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

#9 Updated by daviddavis about 2 months ago

  • Status changed from NEW to CLOSED - DUPLICATE

#10 Updated by daviddavis about 2 months ago

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

Please register to edit this issue

Also available in: Atom PDF