Actions
Story #8011
closedas a pulp_installer user, I can upgrade to pulpcore 3.10
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
-
Category:
Installer - Moved to GitHub issues
Sprint/Milestone:
-
Start date:
Due date:
% Done:
100%
Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:
Description
The change in the MEDIA_ROOT[0] in 3.10 will require the installer to create a new directory /var/lib/pulp/media
. Then move /var/lib/pulp/artifact/
to /var/lib/pulp/media/artifact
. Then in order to provide support for services that have not been restarted yet, create a symlink from /var/lib/pulp/artifact
to /var/lib/pulp/media/artifact
. After the services are restarted, the /var/lib/pulp/artifact
symlink should be deleted.
Actions
Add support for new MEDIA_ROOT
The installer checks is /var/lib/pulp/artifact exists. If it exists, the directory is moved to /var/lib/pulp/media/artifact and a symlink from the original location is created to /var/lib/pulp/media/artifact. After all services are restarted, the symlink is deleted.
This includes a new variable called 'pulp_media_root'. It defaults to
/var/lib/pulp/media/
.fixes: #8011 https://pulp.plan.io/issues/8011