Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document how to use pulp_installer in disconnected mode #2027

Closed
pulpbot opened this issue Jan 17, 2022 · 2 comments
Closed

Document how to use pulp_installer in disconnected mode #2027

pulpbot opened this issue Jan 17, 2022 · 2 comments

Comments

@pulpbot
Copy link
Member

pulpbot commented Jan 17, 2022

Author: @mikedep333 (mdepaulo@redhat.com)

Redmine Issue: 9087, https://pulp.plan.io/issues/9087


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

@stale
Copy link

stale bot commented May 24, 2022

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

@stale stale bot added the stale label May 24, 2022
@dralley dralley removed the stale label May 25, 2022
@lubosmj
Copy link
Member

lubosmj commented Nov 13, 2023

We do not support pulp-installer anymore.

@lubosmj lubosmj closed this as completed Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Archived in project
Development

No branches or pull requests

3 participants