Error "sslerror: (8, 'EOF occurred in violation of protocol')" When Configuring HA on Oracle VM (Doc ID 1210923.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle VM - Version: 2.2.1 and later   [Release: OVM221 and later ]
Linux x86-64

Symptoms

You add the manager's IP address to 'allow=' list when configuring the ovs-agent, e.g.:

# service ovs-agent configure
;network access control by ip --
;rules := if addr.match(allow) and not addr.match(deny): return True
;pattern items delimited by comma and could be
;219.142.73.50   #single ip
;219.142.73.*    #range
;219.142.73.0/24 #range in CIDR format
;default to allow all, deny none
allow=x.x.x.x
where x.x.x.x is the IP address for manager server.

After restarting the ovs-agent, you get errors when trying to set up HA:
"2010-09-15 17:08:52" ERROR=> ha_check_agent_version: failed. => <Exception: get srv('hvovm01') agent version failed! => <sslerror: (8, 'EOF occurred in violation of protocol')>

StackTrace:
  File "/opt/ovs-agent-2.3/OVSSiteHA.py", line 196, in ha_check_agent_version
    rs = sp.get_agent_version()
  File "/usr/lib/python2.4/xmlrpclib.py", line 1096, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1383, in __request
    verbose=self.__verbose
  File "/usr/lib/python2.4/xmlrpclib.py", line 1129, in request
    self.send_content(h, request_body)
  File "/usr/lib/python2.4/xmlrpclib.py", line 1243, in send_content
    connection.endheaders()
  File "/usr/lib/python2.4/httplib.py", line 804, in endheaders
    self._send_output()
  File "/usr/lib/python2.4/httplib.py", line 685, in _send_output
    self.send(msg)
  File "/usr/lib/python2.4/httplib.py", line 652, in send
    self.connect()
  File "/usr/lib/python2.4/httplib.py", line 1079, in connect
    ssl = socket.ssl(sock, self.key_file, self.cert_file)
  File "/usr/lib/python2.4/socket.py", line 74, in ssl
    return _realssl(sock, keyfile, certfile)
>

Changes

Run 'service ovs-agent configure', and add the manager's IP address to 'allow=' list

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms