Bug 1384646 - katello-installer --upgrade fails
Summary: katello-installer --upgrade fails
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.2.0
Hardware: x86_64
OS: Linux
urgent
urgent vote
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-13 18:37 UTC by Luciano Chavez
Modified: 2017-02-07 15:57 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-02-07 15:57:41 UTC
Target Upstream Version:


Attachments (Terms of Use)
sosreport from Satellite Server with failure - part 1 (7.00 MB, application/x-xz)
2016-10-15 09:23 UTC, Hanns-Joachim Uhl
no flags Details
sosreport from Satellite Server with failure - part 2 (7.00 MB, application/octet-stream)
2016-10-15 09:29 UTC, Hanns-Joachim Uhl
no flags Details
sosreport from Satellite Server with failure - part 3 (6.05 MB, application/octet-stream)
2016-10-15 09:34 UTC, Hanns-Joachim Uhl
no flags Details
Snip from foreman-installer.log (69.50 KB, application/octet-stream)
2016-10-15 09:34 UTC, IBM Bug Proxy
no flags Details
Snip from foreman-installer.log (69.50 KB, text/plain)
2016-10-15 09:41 UTC, Hanns-Joachim Uhl
no flags Details


Links
System ID Private Priority Status Summary Last Updated
IBM Linux Technology Center 147557 0 None None None 2016-10-13 18:38:36 UTC

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.


Note You need to log in before you can comment on or make changes to this bug.