Project

Profile

Help

Task #4932

Issue #4950: [epic] pulp3 on pulp2

pulp3 on pulp2: Rename Pulp2 static directory to not conflict with Pulp3

Added by bmbouter about 1 year ago. Updated 3 months ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:
Platform Release:
2.20.0
Groomed:
Yes
Sprint Candidate:
No
Tags:
Katello, Pulp 2
Sprint:
Sprint 54

Description

Problem

The only thing left in /var/lib/pulp/ that conflicts between pulp2 and pulp3 is /var/lib/pulp/static

At installation time, this causes an error when deploying pulp3 onto a pulp2 server because on pulp2 this directory is owned by apache, and pulp3 expects this to be owned by pulp_user.

Solution

To allow the long-term state of Pulp3 to make the most sense we've taken the approach in other areas to rename the Pulp2 once and advertise that breaking change loudly on pulp-list early.

Create a new migration that will rename /var/lib/pulp/static/ to /var/lib/pulp/pulp2static


Related issues

Copied to Pulp - Test #4933: Rename Pulp2 static directory to not conflict with Pulp3CLOSED - WONTFIX<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by bmbouter about 1 year ago

@jsherrill is this a P1 also?

#2 Updated by jsherril@redhat.com about 1 year ago

  • Tags Katello-P2 added
  • Tags deleted (Pulp 2)

Going to mark as p2 for now, will re-evaulate our priorities soon

#3 Updated by bmbouter about 1 year ago

  • Tags Pulp 2 added

Adding back the Pulp2 label since this change occurs there.

#4 Updated by bmbouter about 1 year ago

  • Description updated (diff)

adding the detail that we will use a migration.

#5 Updated by ttereshc about 1 year ago

  • Platform Release set to 2.20.0
  • Groomed changed from No to Yes
  • Sprint set to Sprint 54

#6 Updated by bherring about 1 year ago

  • Copied to Test #4933: Rename Pulp2 static directory to not conflict with Pulp3 added

#7 Updated by jsherril@redhat.com about 1 year ago

  • Subject changed from Rename Pulp2 static directory to not conflict with Pulp3 to pulp3 on pulp2: Rename Pulp2 static directory to not conflict with Pulp3

#8 Updated by jsherril@redhat.com about 1 year ago

#9 Updated by jsherril@redhat.com about 1 year ago

#10 Updated by jsherril@redhat.com about 1 year ago

  • Parent task set to #4950

#11 Updated by amacdona@redhat.com about 1 year ago

  • Tracker changed from Issue to Task
  • % Done set to 0

#12 Updated by bmbouter about 1 year ago

  • Status changed from NEW to CLOSED - NOTABUG

After the fixing of permissions with https://pulp.plan.io/issues/4949 and https://pulp.plan.io/issues/4948 we believe both pulp2 and pulp3 will be happy sharing the static directory.

Pulp2 stores exactly 1 file in there, a symlink so we'll be able to delete that file later.

[vagrant@pulp2 ~]$ ls -la /var/lib/pulp/static/
total 0
drwxr-xr-x. 2 apache apache  25 Jun 11 19:26 .
drwxrwsr-t. 7 apache apache 121 Jun 11 19:32 ..
lrwxrwxrwx. 1 apache apache  25 Jun 11 19:26 rsa_pub.key -> /etc/pki/pulp/rsa_pub.key

#13 Updated by ttereshc about 1 year ago

  • Sprint/Milestone set to 2.20.0

#14 Updated by ttereshc about 1 year ago

  • Status changed from CLOSED - NOTABUG to 5

#15 Updated by ttereshc about 1 year ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE

#16 Updated by ggainey 3 months ago

  • Tags Katello added
  • Tags deleted (Katello-P2)

Please register to edit this issue

Also available in: Atom PDF