Project

Profile

Help

Task #9087

closed

Story #8701: As a pulp_installer user, I can use the full logic to add repos to the system no matter which role I apply

Document how to use pulp_installer in disconnected mode

Added by mdepaulo@redhat.com over 3 years ago. Updated almost 3 years ago.

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

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation
Sprint:
Quarter:

Description

Ticket moved to GitHub: "pulp/pulpcore/2027":https://github.com/pulp/pulpcore/issues/2027


Once we refactor the repos logic into the pulp_repos role, we should document how to use pulp_installer in disconnected mode with RPMs.

We have had 2 users requests for this recently.

My IRC explanation:

    * For a disconnected install, you need to use RPMs (install from a yum a mirror of pulp) rather than installing from pip packages, and you need to add offline copies of repos to the system yourself beforehand.
    * https://pulp-installer.readthedocs.io/en/latest/roles/pulp_common/#role-variables-if-installing-from-rpms
        * set pulp_install_plugins to packages
        * Set pulp_pkg_repo to your network's copy of https://yum.theforeman.org/pulpcore/3.7/el{{ ansible_distribution_major_version }}/$basearch/
        * Add the other repos like the centos software collection (that it tried to add) manually before running the installer.
        * You also need to modify the files under /etc/yum.repos.d/ that got added by the packages centos-release-scl-rh and centos-release-scl so that they are disabled, and your network's mirror is used instead.
    * I've been meaning to implement a better alternative to #4: https://pulp.plan.io/issues/8701
    * Also, this requires CentOS 7 / RHEL 7 or CentOS 8 / RHEL 8. Because RPM packages only exist for them (and they are actually provided by our sister project Foreman, and they do not make every plugin available.)

Also, we are not going to try to make pulp_devel work offline

Actions #1

Updated by ipanova@redhat.com about 3 years ago

  • Tags Documentation added
Actions #2

Updated by pulpbot almost 3 years ago

  • Description updated (diff)
  • Status changed from NEW to CLOSED - DUPLICATE

Also available in: Atom PDF