Project

General

Profile

Bug #31548

Incorrect legacy dir in Pulpcore migration

Added by Ewoud Kohl van Wijngaarden 2 months ago. Updated about 2 months ago.

Status:
Closed
Priority:
Normal
Category:
foreman-installer script
Target version:

Description

From https://community.theforeman.org/t/updating-foreman-2-2-1-to-2-3-1-and-katello-3-17-1-to-3-18-issue/21738

It looks like I used the incorrect legacy directory in #30423. In our layout we used docroot as media directory, not artifact.


Related issues

Related to Installer - Bug #30423: pulp 3 is configured to store downloaded content in /var/lib/pulp/docroot/Closed
Has duplicate Katello - Bug #31632: Error when publishing repository Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server - pulpcore-worker-3: FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/pulp/media/artifact/5b/290c0e700df6f4b4669d9e7366f6aa4b6817f96e1dcb9b81284409ae64Duplicate

Associated revisions

Revision 39003aae (diff)
Added by Ewoud Kohl van Wijngaarden about 2 months ago

Fixes #31548 - Use the correct pulpcore legacy dir

In our previous layout we used /var/lib/pulp/docroot as media directory
while upstream used /var/lib/pulp as media directory and had all files
in /var/lib/pulp/artifact. This artifact directory also exists in our
previous layout, but that's /var/lib/pulp/docroot/artifact.

Pulp can't move /var/lib/pulp to /var/lib/pulp/media so their migration
was harder. We can just rename /var/lib/pulp/docroot to
/var/lib/pulp/media and place a symlink in the old location.

History

#1 Updated by Ewoud Kohl van Wijngaarden 2 months ago

  • Related to Bug #30423: pulp 3 is configured to store downloaded content in /var/lib/pulp/docroot/ added

#2 Updated by The Foreman Bot 2 months ago

  • Assignee set to Ewoud Kohl van Wijngaarden
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman-installer/pull/634 added

#3 Updated by Ewoud Kohl van Wijngaarden about 2 months ago

  • Status changed from Ready For Testing to Closed

#4 Updated by The Foreman Bot about 2 months ago

  • Pull request https://github.com/theforeman/foreman-installer/pull/639 added

#5 Updated by Tomer Brisker about 2 months ago

  • Fixed in Releases 2.3.2, 2.4.0 added

#6 Updated by Justin Sherrill about 1 month ago

  • Has duplicate Bug #31632: Error when publishing repository Red Hat Enterprise Linux 6 Server RPMs x86_64 6Server - pulpcore-worker-3: FileNotFoundError: [Errno 2] No such file or directory: '/var/lib/pulp/media/artifact/5b/290c0e700df6f4b4669d9e7366f6aa4b6817f96e1dcb9b81284409ae64 added

Also available in: Atom PDF