Project

General

Profile

Bug #30423

pulp 3 is configured to store downloaded content in /var/lib/pulp/docroot/

Added by Justin Sherrill 3 months ago. Updated 7 days ago.


Description

Pulp3 uses this setting to configure where things are downloaded:

MEDIA_ROOT

we are currently setting it to "/var/lib/pulp/docroot", which means things are downloaded to var/lib/pulp/docroot/artifiact/.

This differs from a vanilla pulp3 install and i think it is a mistake. I think it should be set to /var/lib/pulp/

Associated revisions

Revision 6a88107e (diff)
Added by Ewoud Kohl van Wijngaarden 11 days ago

Fixes #30423 - Change the application layout

This explicitly sets the all directories and documents the layout. It
diverges from the upstream defaults in that MEDIA_ROOT is set to a
subdirectory and the directory permissions are stricter than upstream.

Upstream this layout is proposed as the default.
https://pulp.plan.io/issues/7178 has been opened for that.

Revision d41f1fd6 (diff)
Added by Ewoud Kohl van Wijngaarden 7 days ago

Refs #30423 - Migrate Pulp media directory

The Pulp media root is being changed from /var/lib/pulp to
/var/lib/pulp/media. This migration moves the existing content in
/var/lib/pulp/artifact.

Pulp only really uses $MEDIA_ROOT/artifact but various tools that can do
consistency checks use the entire MEDIA_ROOT.

These hooks are implemented in 4 stages, 3 of which in hooks.

  • pre_validations - Checks if a migration would be a problem
  • pre - Moves the directory and creates a symlink
  • Puppet - Updates the config and restarts services
  • post - Cleans up the old symlink

History

#1 Updated by The Foreman Bot 3 months ago

  • Assignee set to William Clark
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/puppet-pulpcore/pull/113 added

#2 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/puppet-foreman_proxy_content/pull/275 added

#3 Updated by The Foreman Bot 3 months ago

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

#4 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/puppet-pulpcore/pull/115 added

#5 Updated by The Foreman Bot 3 months ago

  • Pull request https://github.com/theforeman/puppet-pulpcore/pull/105 added

#6 Updated by The Foreman Bot 15 days ago

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

#7 Updated by The Foreman Bot 15 days ago

  • Pull request https://github.com/theforeman/puppet-pulpcore/pull/124 added

#8 Updated by Ewoud Kohl van Wijngaarden 11 days ago

  • Status changed from Ready For Testing to Closed

#9 Updated by The Foreman Bot 9 days ago

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

Also available in: Atom PDF