Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1305750

Summary: RestClient error while yum updating satellite packages during upgrade.
Product: Red Hat Satellite Reporter: Jitendra Yejare <jyejare>
Component: UpgradesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact: Katello QA List <katello-qa-list>
Severity: medium Docs Contact:
Priority: unspecified    
Version: UnspecifiedCC: mmccune
Target Milestone: Unspecified   
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-02-09 18:46:45 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:
Attachments:
Description Flags
Satellite Foreman-debug on RHEL 67
none
Satellite Foreman-debug on RHEL 72 none

Description Jitendra Yejare 2016-02-09 06:21:15 UTC
Created attachment 1122343 [details]
Satellite Foreman-debug on RHEL 67

Description of problem:
----------------------------
RestClient error in /var/log/foreman/production.log while yum updating the satellite packages in satellite upgrade.

Version-Release number of selected component (if applicable):
Satellite 6.1.7 Snap 1

How reproducible:
---------------------------

Steps to Reproduce:
1. Attempt to upgrade Satellite from 6.1.6 CDN version to 6.1.7 #c1.
2. While yum updating the satellite packages during upgrade observe /var/log/foreman/production.log logs.


Actual results:
--------------------------
RestClient Error in logs as below:

In Satellite 6.7 : ERROR 2016-02-03 08:39:29 pulp_rest  #5551] RestClient.get "https://sat616-qe-rhel67.usersys.redhat.com/pulp/api/v2/events/", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"OAuth oauth_consumer_key=\"katello\", oauth_nonce=\"O99Eu91BcVWQQCWZ3whS4EWqyqM03SXk7pNi92I0\", oauth_signature=\"3YJiqZHsDPW%2FmC4vkujW72Loyw8%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1454506769\", oauth_version=\"1.0\"", "accept"=>"application/json", "content_type"=>"application/json", "pulp-user"=>"admin"
 |
2016-02-03 08:39:29 [I] shutting down Core ...

In Satellite 7.2 : [ERROR 2016-02-05 03:32:59 pulp_rest  #4056] RestClient.get "https://sat616-qe-rhel72.usersys.redhat.com/pulp/api/v2/events/", "Accept"=>"*/*; q=0.5, application/xml", "Accept-Encoding"=>"gzip, deflate", "Authorization"=>"OAuth oauth_consumer_key=\"katello\", oauth_nonce=\"6vnuN6ao1dvaZ58nccCCovRSdvgDDcQKXIYKSH9cj6c\", oauth_signature=\"YtpEWsfJPfzY3%2Fy3rQXzL6h8iEI%3D\", oauth_signature_method=\"HMAC-SHA1\", oauth_timestamp=\"1454661179\", oauth_version=\"1.0\"", "accept"=>"application/json", "content_type"=>"application/json", "pulp-user"=>"admin"
 |
2016-02-05 03:32:59 [I] shutting down Core ...

Expected results:
-----------------------
No RestClient error.

Comment 1 Jitendra Yejare 2016-02-09 06:22:09 UTC
Created attachment 1122344 [details]
Satellite Foreman-debug on RHEL 72

Comment 3 Mike McCune 2016-02-09 18:46:45 UTC
As things get shut down and restarted, I'd expect to see errors in the logs, IMO this is not a bug if we are not seeing any ill effects.

If you feel differently, please re-open.