[jira] [Created] (SLIDER-942) Slider agent fails with SSL validation errors with python 2.7.9

2015-09-24 Thread Sidharta Seethana (JIRA)
Sidharta Seethana created SLIDER-942:


 Summary: Slider agent fails with SSL validation errors with python 
2.7.9
 Key: SLIDER-942
 URL: https://issues.apache.org/jira/browse/SLIDER-942
 Project: Slider
  Issue Type: Bug
Affects Versions: Slider 0.80
Reporter: Sidharta Seethana
Priority: Critical


On an unsecure hadoop cluster with python 2.7.9 installed,  slider agent fails 
with SSL validation errors.

{code}
INFO 2015-09-24 05:46:34,585 NetUtil.py:38 - Connecting to the following url 
http:/stripped-machine-name:39414/ws/v1/slider/agents/
ERROR 2015-09-24 05:46:34,702 NetUtil.py:52 - [SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed (_ssl.c:581)
ERROR 2015-09-24 05:46:34,703 NetUtil.py:54 - SSLError: Failed to connect. 
Please check openssl library versions.
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
INFO 2015-09-24 05:46:34,703 NetUtil.py:76 - Server at 
http://stripped-machine-name:39414/ws/v1/slider/agents/ is not reachable, 
sleeping for 10 seconds...
{code}


Validation is now enabled by default - for more context, please see : 
https://lwn.net/Articles/611243/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Updated] (SLIDER-942) Slider agent fails with SSL validation errors with python 2.7.9

2015-09-24 Thread Sidharta Seethana (JIRA)

 [ 
https://issues.apache.org/jira/browse/SLIDER-942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sidharta Seethana updated SLIDER-942:
-
Description: 
On an unsecure hadoop cluster with python 2.7.9 installed,  slider agent fails 
with SSL validation errors.

{code}
INFO 2015-09-24 05:46:34,585 NetUtil.py:38 - Connecting to the following url 
http://stripped-machine-name:39414/ws/v1/slider/agents/
ERROR 2015-09-24 05:46:34,702 NetUtil.py:52 - [SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed (_ssl.c:581)
ERROR 2015-09-24 05:46:34,703 NetUtil.py:54 - SSLError: Failed to connect. 
Please check openssl library versions.
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
INFO 2015-09-24 05:46:34,703 NetUtil.py:76 - Server at 
http://stripped-machine-name:39414/ws/v1/slider/agents/ is not reachable, 
sleeping for 10 seconds...
{code}


Validation is now enabled by default - for more context, please see : 
https://lwn.net/Articles/611243/

  was:
On an unsecure hadoop cluster with python 2.7.9 installed,  slider agent fails 
with SSL validation errors.

{code}
INFO 2015-09-24 05:46:34,585 NetUtil.py:38 - Connecting to the following url 
http:/stripped-machine-name:39414/ws/v1/slider/agents/
ERROR 2015-09-24 05:46:34,702 NetUtil.py:52 - [SSL: CERTIFICATE_VERIFY_FAILED] 
certificate verify failed (_ssl.c:581)
ERROR 2015-09-24 05:46:34,703 NetUtil.py:54 - SSLError: Failed to connect. 
Please check openssl library versions.
Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more details.
INFO 2015-09-24 05:46:34,703 NetUtil.py:76 - Server at 
http://stripped-machine-name:39414/ws/v1/slider/agents/ is not reachable, 
sleeping for 10 seconds...
{code}


Validation is now enabled by default - for more context, please see : 
https://lwn.net/Articles/611243/


> Slider agent fails with SSL validation errors with python 2.7.9
> ---
>
> Key: SLIDER-942
> URL: https://issues.apache.org/jira/browse/SLIDER-942
> Project: Slider
>  Issue Type: Bug
>Affects Versions: Slider 0.80
>Reporter: Sidharta Seethana
>Priority: Critical
>
> On an unsecure hadoop cluster with python 2.7.9 installed,  slider agent 
> fails with SSL validation errors.
> {code}
> INFO 2015-09-24 05:46:34,585 NetUtil.py:38 - Connecting to the following url 
> http://stripped-machine-name:39414/ws/v1/slider/agents/
> ERROR 2015-09-24 05:46:34,702 NetUtil.py:52 - [SSL: 
> CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)
> ERROR 2015-09-24 05:46:34,703 NetUtil.py:54 - SSLError: Failed to connect. 
> Please check openssl library versions.
> Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more 
> details.
> INFO 2015-09-24 05:46:34,703 NetUtil.py:76 - Server at 
> http://stripped-machine-name:39414/ws/v1/slider/agents/ is not reachable, 
> sleeping for 10 seconds...
> {code}
> Validation is now enabled by default - for more context, please see : 
> https://lwn.net/Articles/611243/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (SLIDER-942) Slider agent fails with SSL validation errors with python 2.7.9

2015-09-24 Thread Jonathan Maron (JIRA)

[ 
https://issues.apache.org/jira/browse/SLIDER-942?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14906932#comment-14906932
 ] 

Jonathan Maron commented on SLIDER-942:
---

Restoring previous python behavior is outlined in 
https://www.python.org/dev/peps/pep-0476/ as something along the lines of:

{noformat}
context = ssl._create_unverified_context()
urllib.urlopen("https://no-valid-cert";, context=context)
{noformat}

We could also explore the possibility of somehow configuring the AM cert as an 
authorized cert.

> Slider agent fails with SSL validation errors with python 2.7.9
> ---
>
> Key: SLIDER-942
> URL: https://issues.apache.org/jira/browse/SLIDER-942
> Project: Slider
>  Issue Type: Bug
>Affects Versions: Slider 0.80
>Reporter: Sidharta Seethana
>Priority: Critical
>
> On an unsecure hadoop cluster with python 2.7.9 installed,  slider agent 
> fails with SSL validation errors.
> {code}
> INFO 2015-09-24 05:46:34,585 NetUtil.py:38 - Connecting to the following url 
> http://stripped-machine-name:39414/ws/v1/slider/agents/
> ERROR 2015-09-24 05:46:34,702 NetUtil.py:52 - [SSL: 
> CERTIFICATE_VERIFY_FAILED] certificate verify failed (_ssl.c:581)
> ERROR 2015-09-24 05:46:34,703 NetUtil.py:54 - SSLError: Failed to connect. 
> Please check openssl library versions.
> Refer to: https://bugzilla.redhat.com/show_bug.cgi?id=1022468 for more 
> details.
> INFO 2015-09-24 05:46:34,703 NetUtil.py:76 - Server at 
> http://stripped-machine-name:39414/ws/v1/slider/agents/ is not reachable, 
> sleeping for 10 seconds...
> {code}
> Validation is now enabled by default - for more context, please see : 
> https://lwn.net/Articles/611243/



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)