Juju 1.25.8-trusty-amd64 and Python 2.7.12 produce TLSV1 error

Bug #1645843 reported by Akash Chandrashekar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-jujuclient
New
Undecided
Unassigned

Bug Description

TLS V1 error encountered and causing install to fail.

Is there a workaround that can be applied or "matched" version of python and juju-1.25.X that works best?

(Also referencing Bug#1644331 which may be similar issue)

Machine Output and versions here:

regress@wfvbng-cloud-maas:~/charms$ python -V
Python 2.7.12
regress@wfvbng-cloud-maas:~/charms$ juju --version
1.25.8-trusty-amd64
regress@wfvbng-cloud-maas:~/charms$ juju deployer -d -vW -c openstack-bundle-juniper.yaml openstack-phase3-services
2016-11-29 14:02:35 [DEBUG] deployer.cli: Using runtime GoEnvironment on maas19
2016-11-29 14:02:35 [INFO] deployer.cli: Starting deployment of openstack-phase3-services
2016-11-29 14:02:35 [DEBUG] deployer.import: Getting charms...
2016-11-29 14:02:35 [WARNING] deployer.deploy: Override protocol does not match any charms
2016-11-29 14:02:35 [WARNING] deployer.deploy: Override messages_rotate does not match any charms
2016-11-29 14:02:35 [WARNING] deployer.deploy: Override syslog_rotate does not match any charms
2016-11-29 14:02:36 [WARNING] deployer.deploy: Override nova_logs does not match any charms
2016-11-29 14:02:36 [DEBUG] deployer.deploy: Resolving configuration
2016-11-29 14:02:36 [DEBUG] deployer.env: Connecting to environment...
Traceback (most recent call last):
  File "/usr/bin/juju-deployer", line 9, in <module>
    load_entry_point('juju-deployer==0.6.4', 'console_scripts', 'juju-deployer')()
  File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 135, in main
    run()
  File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 234, in run
    importer.Importer(env, deployment, options).run()
  File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 298, in run
    self.env.connect()
  File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 65, in connect
    self.client = EnvironmentClient.connect(self.name)
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 534, in connect
    return Connector().run(cls, env_name)
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 142, in run
    cert_path, data.get('environ-uuid'))
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 150, in connect_env
    env = cls(endpoint, name=name, ca_cert=cert_path, env_uuid=env_uuid)
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 522, in __init__
    self.conn = Connector.connect_socket(endpoint, self._ca_cert)
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 162, in connect_socket
    endpoint, origin=endpoint, sslopt=sslopt)
  File "/usr/lib/python2.7/dist-packages/websocket/_core.py", line 219, in create_connection
    websock.connect(url, **options)
  File "/usr/lib/python2.7/dist-packages/websocket/_core.py", line 463, in connect
    self.sock = ssl.wrap_socket(self.sock, **sslopt)
  File "/usr/lib/python2.7/ssl.py", line 933, in wrap_socket
    ciphers=ciphers)
  File "/usr/lib/python2.7/ssl.py", line 601, in __init__
    self.do_handshake()
  File "/usr/lib/python2.7/ssl.py", line 830, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: TLSV1_ALERT_PROTOCOL_VERSION] tlsv1 alert protocol version (_ssl.c:590)

Revision history for this message
Felipe Reyes (freyes) wrote :

Hello Akash, this is a duplicate of bug 1644331 .

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.