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 1384646

Summary: katello-installer --upgrade fails
Product: Red Hat Satellite Reporter: Luciano Chavez <chavez>
Component: UpgradesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED WONTFIX QA Contact: Katello QA List <katello-qa-list>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.2.0CC: bbuckingham, bkearney, bugproxy, chavez, hannsj_uhl, inecas, jcallaha, jkachuck, stbenjam
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-07 15:57:41 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
sosreport from Satellite Server with failure - part 1
none
sosreport from Satellite Server with failure - part 2
none
sosreport from Satellite Server with failure - part 3
none
Snip from foreman-installer.log
none
Snip from foreman-installer.log none

Description Luciano Chavez 2016-10-13 18:37:31 UTC
---Problem Description---
Upgrading Satellite 6.1.9 to release 6.2 and getting a 422 Unprocessable Entity message so upgrade fails

Upgrade Step: Running installer...
 /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[sd06ops-satellite01.watson.softlayer.com]: Failed to call refresh: Proxy sd06ops-satellite01.watson.softlayer.com cannot be registered (422 Unprocessable Entity): Unable to communicate with the Capsule: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::RequestTimeout]: Request Timeout) for Capsule https://sd06ops-satellite01.watson.softlayer.com:9090/features Please check the Capsule is configured and running on the host.
 /Stage[main]/Foreman_proxy::Register/Foreman_smartproxy[sd06ops-satellite01.watson.softlayer.com]: Proxy sd06ops-satellite01.watson.softlayer.com cannot be registered (422 Unprocessable Entity): Unable to communicate with the Capsule: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::RequestTimeout]: Request Timeout) for Capsule https://sd06ops-satellite01.watson.softlayer.com:9090/features Please check the Capsule is configured and running on the host.
 
---uname output---
Linux sd06ops-satellite01.watson.softlayer.com 2.6.32-642.6.1.el6.x86_64 #1 SMP Thu Aug 25 12:42:19 EDT 2016 x86_64 x86_64 x86_64 GNU/Linux
 
Machine Type = SL Baremetal system 
 
---Steps to Reproduce---
 katello-installer --upgrade
  

Another update:  Even thought the katello-installer --upgrade says failed.  When I restart katello-service restart the GUI is showing satellite at 6.2 but the satellite proxy is putting out this error in the GUI:

Error: Unable to communicate with the Capsule: ERF12-2530 [ProxyAPI::ProxyException]: Unable to detect features ([RestClient::RequestTimeout]: Request Timeout) for Capsule https://sd06ops-satellite01.watson.softlayer.com:9090/features and Please check the Capsule is configured and running on the host.

Even though the katello-service started and the GUI shows 6.2, quite a few of the functions no longer are working.

This is Critical to get resolved, this satellite server is primary server in Softlayer for Watson Power Systems.

Comment 1 IBM Bug Proxy 2016-10-13 20:31:54 UTC
------- Comment From rbelsch.com 2016-10-13 16:20 EDT-------

Comment 2 Bryan Kearney 2016-10-14 15:16:06 UTC
Can you confirm if you ran satellite-installer --upgrade not katello-installer --upgrade

Comment 4 IBM Bug Proxy 2016-10-15 09:21:55 UTC
------- Comment From hannsj_uhl.com 2016-10-15 05:13 EDT-------
Comment from  RICHARD BELSCHER 2016-10-14 11:28:00 EDT

Yes I ran the following:

satellite-installer --scenario satellite --upgrade

Comment 5 Hanns-Joachim Uhl 2016-10-15 09:23:42 UTC
Created attachment 1210750 [details]
sosreport from Satellite Server with failure - part 1

Comment 6 Hanns-Joachim Uhl 2016-10-15 09:29:42 UTC
Created attachment 1210751 [details]
sosreport from Satellite Server with failure - part 2

Comment 7 Hanns-Joachim Uhl 2016-10-15 09:34:35 UTC
Created attachment 1210752 [details]
sosreport from Satellite Server with failure - part 3

Comment 8 IBM Bug Proxy 2016-10-15 09:34:58 UTC
Created attachment 1210753 [details]
Snip from foreman-installer.log

Comment 9 Hanns-Joachim Uhl 2016-10-15 09:41:05 UTC
Created attachment 1210754 [details]
Snip from foreman-installer.log

Comment 10 IBM Bug Proxy 2016-10-19 14:43:36 UTC
------- Comment From chavez.com 2016-10-19 10:38 EDT-------
Hello Bryan,

Is there any further information you need? Thanks.

Comment 11 Stephen Benjamin 2016-12-13 15:53:27 UTC
Hi,

Was this ever solved? The problem looks like the proxy can't start up.  From /var/log/foreman-proxy/proxy.log

E, [2016-10-13T10:55:16.854652 #16082] ERROR -- : TypeError: can't convert true into Integer

   /usr/lib/ruby/1.8/openssl/ssl-internal.rb:172:in `initialize'


Can you provide a copy of /usr/lib/ruby/1.8/openssl/ssl-internal.rb and the output of:

   rpm -V ruby-libs

Comment 12 IBM Bug Proxy 2017-01-23 19:11:05 UTC
------- Comment From chavez.com 2017-01-23 14:04 EDT-------
Sent a reminder to the bug reporter on Jan 3 and Jan 19 to provide info requested by Red Hat in December but no reply to date. Returning bug...

Comment 13 Bryan Kearney 2017-02-07 15:57:41 UTC
Not able to get feedback, closing this out. Please feel free to re-open if there are additional details.