Bug 1541885
| Summary: | Disconnected satellite access internet to install gem "oauth-0.5.1.gem" | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Ranjan Kumar <rankumar> |
| Component: | Packaging | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED ERRATA | QA Contact: | Lukas Pramuk <lpramuk> |
| Severity: | urgent | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.3.0 | CC: | bkearney, brubisch, dcaplan, ehelms, ktordeur, lpramuk, mmccune, nkresic, peter.vreman |
| Target Milestone: | Unspecified | Keywords: | PrioBumpPM, Triaged |
| Target Release: | Unused | ||
| Hardware: | x86_64 | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | puppet-agent-oauth-0.5.1-3 | Doc Type: | Known Issue |
| Doc Text: |
*For ISO-based disconnected Satellite users*
*Known Issue*
The RPM script is missing "--local", which makes it search the internet to install the "oauth" gem. For disconnected Satellites, this is a problem.
*Workaround*
If Puppet 4 is installed, when `yum` installs packages using the default Puppet 4 repositories, before you run `satellite-installer`, enter the following command:
`/opt/puppetlabs/puppet/bin/gem install --local /usr/share/foreman-installer/gems/oauth-0.5.1.gem`
*Workaround*
If you upgrade to Puppet 4, before you enter the `--upgrade-puppet` command, enter the following commands:
----
yum remove -y puppet-server
yum install puppetserver puppet-agent puppet-agent-oauth
/opt/puppetlabs/puppet/bin/gem install --local /usr/share/foreman-installer/gems/oauth-0.5.1.gem
----
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2018-04-13 13:29:48 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1122832 | ||
|
Description
Ranjan Kumar
2018-02-05 06:42:04 UTC
This bug affects also all users that have use proxy I have subscription-manager working through proxy and also Sat6 will be configured using a proxy. VERIFIED.
@satellite-6.3.1-3.el7sat.noarch
puppet-agent-oauth-0.5.1-3.el7sat.noarch.rpm
by following manual reproducer:
1) Have a SAT6.3.1 Puppet3
2) Enable Satellite Puppet4 repo (internal repo with the new package)
3) Install P4 packages except oauth
# yum remove -y puppet-server
# yum install puppetserver puppet-agent
# yumdownloader puppet-agent-oauth
4) Start to watch ruby network traffic in other console window by running
# watch -n.5 'netstat -pnt|grep ruby'
5) Install puppet-agent-oauth from downloaded rpm and watch for any connections
# rpm -i puppet-agent-oauth-0.5.1-3.el7sat.noarch.rpm
>>> no connections were initiated (vs. 0.5.1-2.el7sat)
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2018:1126 |