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:
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.