Hi Marc,
Just recently I updated the Scalr to the latest version and everything
continued to work except for the cost analytics poller. I'm getting a
similar error in the logs:
... File "/opt/scalr-server/embedded/lib/python2.7/ssl.py", line 352, in
wrap_socket _context=self)TypeError: __init__() got an unexpected keyword
argument 'server_hostname'
Is this part of the same issue that has been resolved in Enterprise Scalr?
ThanksGianni
On Tuesday, August 30, 2016 at 11:35:50 PM UTC+2, Marc O'Brien wrote:
>
>
> Hi Danny,
>
> This behavior is related to an issue that has been resolved in Enterprise
> Scalr.
>
> Cheers,
> Wm. Marc O'Brien
> Scalr Technical Support
>
> On Tuesday, August 30, 2016 at 1:20:12 AM UTC-6, Danny Fröberg wrote:
>>
>> tail -50 /opt/scalr-server/var/log/service/python-analytics_poller.log
>>
>> [30/Aug/2016 07:16:08][ analytics_poller][ 17075] ERROR platform:
>> 'ec2', region: 'ap-southeast-1', envs_ids: [1]. Reason: <type
>> 'exceptions.AttributeError'> 'module' object has no attribute 'sslwrap'
>> Traceback (most recent call last):
>> File
>> "/opt/scalr-server/embedded/scalr/app/python/scalrpy/analytics_poller.py",
>> line 143, in _ec2_region
>> cloud_nodes = _ec2_get_only_instances(conn)
>> File
>> "/opt/scalr-server/embedded/scalr/app/python/scalrpy/../scalrpy/util/helper.py",
>>
>> line 285, in wrapper2
>> retries=retries, retry_timeout=retry_timeout, excs=excs
>> File
>> "/opt/scalr-server/embedded/scalr/app/python/scalrpy/../scalrpy/util/helper.py",
>>
>> line 272, in retry_f
>> return f(*args, **kwds)
>> File
>> "/opt/scalr-server/embedded/scalr/app/python/scalrpy/analytics_poller.py",
>> line 88, in _ec2_get_only_instances
>> return ec2conn.get_only_instances(filters={'instance-state-name':
>> 'running'})
>> File
>> "/opt/scalr-server/embedded/lib/python2.7/site-packages/boto/ec2/connection.py",
>>
>> line 622, in get_only_instances
>> next_token=next_token)
>> File
>> "/opt/scalr-server/embedded/lib/python2.7/site-packages/boto/ec2/connection.py",
>>
>> line 681, in get_all_reservations
>> [('item', Reservation)], verb='POST')
>> File
>> "/opt/scalr-server/embedded/lib/python2.7/site-packages/boto/connection.py",
>> line 1170, in get_list
>> response = self.make_request(action, params, path, verb)
>> File
>> "/opt/scalr-server/embedded/lib/python2.7/site-packages/boto/connection.py",
>> line 1116, in make_request
>> return self._mexe(http_request)
>> File
>> "/opt/scalr-server/embedded/lib/python2.7/site-packages/boto/connection.py",
>> line 943, in _mexe
>> request.body, request.headers)
>> File "/opt/scalr-server/embedded/lib/python2.7/httplib.py", line 1057,
>> in request
>> self._send_request(method, url, body, headers)
>> File "/opt/scalr-server/embedded/lib/python2.7/httplib.py", line 1097,
>> in _send_request
>> self.endheaders(body)
>> File "/opt/scalr-server/embedded/lib/python2.7/httplib.py", line 1053,
>> in endheaders
>> self._send_output(message_body)
>> File "/opt/scalr-server/embedded/lib/python2.7/httplib.py", line 897,
>> in _send_output
>> self.send(msg)
>> File "/opt/scalr-server/embedded/lib/python2.7/httplib.py", line 859,
>> in send
>> self.connect()
>> File
>> "/opt/scalr-server/embedded/lib/python2.7/site-packages/boto/https_connection.py",
>>
>> line 131, in connect
>> ca_certs=self.ca_certs)
>> File
>> "/opt/scalr-server/embedded/lib/python2.7/site-packages/gevent/ssl.py",
>> line 383, in wrap_socket
>> ciphers=ciphers)
>> File
>> "/opt/scalr-server/embedded/lib/python2.7/site-packages/gevent/ssl.py",
>> line 85, in __init__
>> self._sslobj = _ssl.sslwrap(self._sock, server_side,
>> AttributeError: 'module' object has no attribute 'sslwrap'
>> root@scalr:~#
>>
>
--
You received this message because you are subscribed to the Google Groups
"scalr-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.