ssl.SSLError: [Errno 8] _ssl.c EOF occurred in violation of protocol

Bug #1294843 reported by Peter Petrakis
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
juju-core
Invalid
Medium
Unassigned
juju-deployer
Won't Fix
Undecided
Unassigned

Bug Description

I get this randomly when I deploy bundles, it's not frequent, but when it comes up it's fatal.

2014-03-19 19:41:08 Config specifies num units for subordinate: daq-emitter
Traceback (most recent call last):
  File "/usr/bin/juju-deployer", line 9, in <module>
    load_entry_point('juju-deployer==0.3.6', 'console_scripts', 'juju-deployer')()
  File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 131, in main
    run()
  File "/usr/lib/python2.7/dist-packages/deployer/cli.py", line 229, in run
    importer.Importer(env, deployment, options).run()
  File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 210, in run
    self.wait_for_units(ignore_errors=ignore_errors)
  File "/usr/lib/python2.7/dist-packages/deployer/action/importer.py", line 180, in wait_for_units
    services=self.deployment.get_service_names(), on_errors=on_errors)
  File "/usr/lib/python2.7/dist-packages/deployer/env/go.py", line 265, in wait_for_units
    services=services, on_errors=on_errors).run(callback)
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 698, in run
    seen_initial = True
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 203, in __exit__
    self.stop()
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 187, in stop
    'Id': self.watcher_id})
  File "/usr/lib/python2.7/dist-packages/jujuclient.py", line 136, in _rpc
    raw = self.conn.recv()
  File "/usr/lib/python2.7/dist-packages/websocket.py", line 560, in recv
    opcode, data = self.recv_data()
  File "/usr/lib/python2.7/dist-packages/websocket.py", line 570, in recv_data
    frame = self.recv_frame()
  File "/usr/lib/python2.7/dist-packages/websocket.py", line 589, in recv_frame
    header_bytes = self._recv_strict(2)
  File "/usr/lib/python2.7/dist-packages/websocket.py", line 681, in _recv_strict
    bytes += self._recv(remaining)
  File "/usr/lib/python2.7/dist-packages/websocket.py", line 672, in _recv
    bytes = self.io_sock.recv(bufsize)
  File "/usr/lib/python2.7/dist-packages/websocket.py", line 204, in recv
    return self.ssl.read(bufsize)
ssl.SSLError: [Errno 8] _ssl.c:1413: EOF occurred in violation of protocol

Tags: state-server
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

this is an issue with the state server juju-core ssl impl

Curtis Hovey (sinzui)
tags: added: state-server
Changed in juju-core:
status: New → Triaged
importance: Undecided → Medium
Revision history for this message
Kapil Thangavelu (hazmat) wrote :

afaik, this is when the state server is shutting down or flapping.

Changed in juju-deployer:
status: New → Incomplete
status: Incomplete → Triaged
Changed in juju-deployer:
status: Triaged → Won't Fix
Revision history for this message
Aaron Bentley (abentley) wrote :

I think this error should be handled gracefully, e.g. by retrying the connection. Unexpected EOFs are a fact of life when you're working in the cloud.

Revision history for this message
Aaron Bentley (abentley) wrote :
Revision history for this message
Anastasia (anastasia-macmood) wrote :

Considering that there has been complete re-design of state server (controller) behavior for multi-model view of the wold in Juju 2, we believe that this bug is no longer valid.

If you encounter controller failures on shut down, please file a bug against "juju" with relevant logs.

Changed in juju-core:
status: Triaged → Invalid
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.