Project

Profile

Help

Task #4932

closed

Issue #4950: [epic] pulp3 on pulp2

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

Added by bmbouter almost 5 years ago. Updated almost 4 years 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
Quarter:

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 - WONTFIXActions
Actions #1

Updated by bmbouter almost 5 years ago

@jsherrill is this a P1 also?

Actions #2

Updated by jsherril@redhat.com almost 5 years ago

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

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

Actions #3

Updated by bmbouter almost 5 years ago

  • Tags Pulp 2 added

Adding back the Pulp2 label since this change occurs there.

Actions #4

Updated by bmbouter almost 5 years ago

  • Description updated (diff)

adding the detail that we will use a migration.

Actions #5

Updated by ttereshc almost 5 years ago

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

Updated by bherring almost 5 years ago

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

Updated by jsherril@redhat.com almost 5 years 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
Actions #8

Updated by jsherril@redhat.com almost 5 years ago

Actions #9

Updated by jsherril@redhat.com almost 5 years ago

Actions #10

Updated by jsherril@redhat.com almost 5 years ago

  • Parent issue set to #4950
Actions #11

Updated by amacdona@redhat.com almost 5 years ago

  • Tracker changed from Issue to Task
  • % Done set to 0
Actions #12

Updated by bmbouter almost 5 years 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
Actions #13

Updated by ttereshc almost 5 years ago

  • Sprint/Milestone set to 2.20.0
Actions #14

Updated by ttereshc almost 5 years ago

  • Status changed from CLOSED - NOTABUG to 5
Actions #15

Updated by ttereshc almost 5 years ago

  • Status changed from 5 to CLOSED - CURRENTRELEASE
Actions #16

Updated by ggainey almost 4 years ago

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

Also available in: Atom PDF