Bug 2103936

Summary: Execution of satellite-installer raises multiple "warning: URI.escape is obsolete" messages in Red Hat Satellite 6.11
Product: Red Hat Satellite Reporter: Sayan Das <saydas>
Component: InstallationAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Eric Helms <ehelms>
Severity: low Docs Contact:
Priority: unspecified    
Version: 6.11.0CC: ehelms
Target Milestone: 6.13.0Keywords: Triaged
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: puppet-agent-oauth-0.5.10 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-03 13:21:28 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:

Description Sayan Das 2022-07-05 10:52:16 UTC
Description of problem:

There were multiple BZs in which URI.escape code were replaced with the supported code, for different components but there are still one or two places left where the code exists.

Version-Release number of selected component (if applicable):

Satellite 6.11 ( GA Snap )

puppet-agent-oauth-0.5.1-3.el8sat.noarch


How reproducible:

100% 

Steps to Reproduce:
1. Install a Satellite 6.11 on RHEL 8 
2. Check the /var/log/foreman-installer/satellite.log 


Actual results:

# grep  -B1 -A1 "URI\.escape" /var/log/foreman-installer/satellite.log
2022-07-05 15:50:37 [DEBUG ] [configure] Foreman_host[foreman-satellite.example.com](provider=rest_v3): Making get request to https://satellite.example.com/api/v2/hosts?search=name%3D%22satellite.example.com%22
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete
2022-07-05 15:50:37 [DEBUG ] [configure] /opt/puppetlabs/puppet/lib/ruby/gems/2.7.0/gems/oauth-0.5.1/lib/oauth/helper.rb:12: warning: URI.escape is obsolete


# grep -c "URI\.escape" /var/log/foreman-installer/satellite.log
138



Expected results:

No such messages and overflooding of logs. 


Additional info:

NA

Comment 3 Brad Buckingham 2022-12-16 19:09:45 UTC
Aligning to 6.13 as SNAP 3 does include puppet-agent-oauth-0.5.10-1.el8sat.noarch.rpm .

Comment 7 errata-xmlrpc 2023-05-03 13:21:28 UTC
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 (Important: Satellite 6.13 Release), 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/RHSA-2023:2097