Description of problem: #<Excon::Errors::SocketError: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol (OpenSSL::SSL::SSLError)>" error is found in evm.log file after adding RHOS provider Version-Release number of selected component (if applicable): 5.4.3.0.20151001120745_d11cf59 How reproducible: 100% Steps to Reproduce: 1. Deploy a new appliance 2. Add RHOS (say RHOS 6) provider 3. Wait for sometime Actual results: #<Excon::Errors::SocketError: SSL_connect returned=1 errno=0 state=SSLv2/v3 read server hello A: unknown protocol (OpenSSL::SSL::SSLError)>" error is found in evm.log file Expected results: Should not throw any error message Additional info:
This is a known (benign) error that occurs in the logs when you add a non-SSL OSP provider to CloudForms. The error is logged because of the way that we have to authenticate to OpenStack. First, we try SSL, if that fails, we try non-SSL. When SSL fails (because the OSP environment is not using SSL) this error is logged. Then, the non-SSL connection succeeds. The best we can probably do here is change the logging .. possibly. I'm not entirely positive we have control over the Excon logger to change what's being logged here. Also, I think this *might* be a dup, but I couldn't find it right away.
*** Bug 1272044 has been marked as a duplicate of this bug. ***
*** Bug 1252413 has been marked as a duplicate of this bug. ***
https://github.com/ManageIQ/manageiq/pull/5296
*** Bug 1280395 has been marked as a duplicate of this bug. ***
*** Bug 1260069 has been marked as a duplicate of this bug. ***
https://github.com/ManageIQ/manageiq/pull/5637
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/94ee6616de26ceba490aef77bef4528e6fa3f92f commit 94ee6616de26ceba490aef77bef4528e6fa3f92f Author: Ladislav Smola <lsmola> AuthorDate: Thu Nov 5 12:49:12 2015 +0100 Commit: Ladislav Smola <lsmola> CommitDate: Mon Nov 16 13:16:10 2015 +0100 Allow to choose security protocol to avoid errors in log Allow to choose security protocol to avoid errors in log Fixes BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1272041 .../ems_common/ems_common_form_controller.js | 3 ++ app/controllers/ems_cloud_controller.rb | 38 +++++++++++++--------- app/controllers/ems_common.rb | 31 +++++++++++++++--- app/models/ext_management_system.rb | 4 +++ .../manageiq/providers/openstack/cloud_manager.rb | 4 +++ .../manageiq/providers/openstack/infra_manager.rb | 4 +++ .../manageiq/providers/openstack/manager_mixin.rb | 2 +- app/views/ems_infra/_form_fields.html.haml | 2 +- .../views/ems_common/angular/_form.html.haml | 12 ++++++- gems/pending/openstack/openstack_handle/handle.rb | 38 ++++++++++++++-------- .../openstack_handle/identity_delegate.rb | 2 +- 11 files changed, 102 insertions(+), 38 deletions(-)
OpenStack Infra form fix https://github.com/ManageIQ/manageiq/pull/5862
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/78a0f5a53bef5fb080ae9be87a7f860aa1eb586f commit 78a0f5a53bef5fb080ae9be87a7f860aa1eb586f Author: Ladislav Smola <lsmola> AuthorDate: Wed Dec 16 13:19:33 2015 +0100 Commit: Ladislav Smola <lsmola> CommitDate: Wed Dec 16 13:19:33 2015 +0100 Openstack Infra correct ssl option when creating provider Openstack Infra correct ssl option when creating provider Partially Fixes BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1272041 app/controllers/ems_common.rb | 7 +++++++ 1 file changed, 7 insertions(+)
New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=e2c268498af1f13b9fc1e4982bbe55c608f46f6a commit e2c268498af1f13b9fc1e4982bbe55c608f46f6a Author: Ladislav Smola <lsmola> AuthorDate: Wed Dec 16 13:19:33 2015 +0100 Commit: Ladislav Smola <lsmola> CommitDate: Tue Jan 12 11:23:51 2016 +0100 Openstack Infra correct ssl option when creating provider Openstack Infra correct ssl option when creating provider Partially Fixes BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1272041 app/controllers/ems_common.rb | 7 +++++++ 1 file changed, 7 insertions(+)
New commit detected on cfme/5.5.z: https://code.engineering.redhat.com/gerrit/gitweb?p=cfme.git;a=commitdiff;h=cae64c60c834c9dd56fec7511c9673d657ebc80e commit cae64c60c834c9dd56fec7511c9673d657ebc80e Author: Ladislav Smola <lsmola> AuthorDate: Thu Nov 5 12:49:12 2015 +0100 Commit: Ladislav Smola <lsmola> CommitDate: Tue Jan 12 11:20:24 2016 +0100 Allow to choose security protocol to avoid errors in log Allow to choose security protocol to avoid errors in log Fixes BZ: https://bugzilla.redhat.com/show_bug.cgi?id=1272041 Conflicts: app/views/shared/views/ems_common/angular/_form.html.haml .../ems_common/ems_common_form_controller.js | 3 ++ app/controllers/ems_cloud_controller.rb | 38 +++++++++++++--------- app/controllers/ems_common.rb | 31 +++++++++++++++--- app/models/ext_management_system.rb | 4 +++ .../manageiq/providers/openstack/cloud_manager.rb | 4 +++ .../manageiq/providers/openstack/infra_manager.rb | 4 +++ .../manageiq/providers/openstack/manager_mixin.rb | 2 +- app/views/ems_infra/_form_fields.html.haml | 2 +- .../views/ems_common/angular/_form.html.haml | 11 +++++++ gems/pending/openstack/openstack_handle/handle.rb | 38 ++++++++++++++-------- .../openstack_handle/identity_delegate.rb | 2 +- 11 files changed, 102 insertions(+), 37 deletions(-)
Good to go. Verified and working fine in 5.6.0.9-rc2.20160531154046_b4e2f6d. By choosing Security protocol as "Non-SSL" option for non-SSL connection, SSL error message is not reproduced.
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, 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/RHBA-2016:1348