Did you restart the dbqueue service after upgrading gevent?

On Friday, April 14, 2017 at 10:50:43 AM UTC-5, Brandon Newport wrote:
>
> James,
>
> I was running 1.0.1 version of Gevent, so I upgraded to 1.0.2, and 
> followed your instructions but I am still seeing the issue.
>
> Not sure what is happening.  Any other thoughts?
>
> On Friday, April 7, 2017 at 1:02:50 PM UTC-5, James Smith wrote:
>>
>> That error matches an error I was getting last year. Check if you need to 
>> update gevent, as that resolved the "unexpected keyword argument 
>> server_hostname" issue for me, though I still haven't managed to get 
>> analytics working with Openstack Mitaka.
>>
>> This 
>> <https://groups.google.com/d/msg/scalr-discuss/dnxla5wwUME/QhAXrgd9BwAJ> 
>> post 
>> from one of my threads might help.
>>
>> On Thursday, April 6, 2017 at 9:18:55 AM UTC-5, Brandon Newport wrote:
>>>
>>> Hello Matthieu,
>>>
>>> Sorry for the delay, I am not sure if the messages have changes, but 
>>> this is what I am getting now.  It may be a completely different error than 
>>> before.
>>>
>>> [06/Apr/2017 14:12:21][    analytics_poller][ 11595]      ERROR 
>>> platform: 'openstack', environments: [1]. Reason: <type 
>>> 'exceptions.TypeError'> __init__() got an unexpected keyword argument 
>>> 'server_hostname'
>>> Traceback (most recent call last):
>>>   File 
>>> "/opt/scalr-server/embedded/scalr/app/python/scalrpy/analytics_poller.py", 
>>> line 755, in process_credential
>>>     cloud_data = eval(cred.platform)(cred)
>>>   File 
>>> "/opt/scalr-server/embedded/scalr/app/python/scalrpy/analytics_poller.py", 
>>> line 530, in openstack
>>>     return _openstack(Provider.OPENSTACK, cred)
>>>   File 
>>> "/opt/scalr-server/embedded/scalr/app/python/scalrpy/analytics_poller.py", 
>>> line 490, in _openstack
>>>     service_catalog = _libcloud_get_service_catalog(driver)
>>>   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 93, in _libcloud_get_service_catalog
>>>     return driver.connection.get_service_catalog()
>>>   File 
>>> "/opt/scalr-server/embedded/lib/python2.7/site-packages/libcloud/common/openstack.py",
>>>  
>>> line 218, in get_service_catalog
>>>     self._populate_hosts_and_request_paths()
>>>   File 
>>> "/opt/scalr-server/embedded/lib/python2.7/site-packages/libcloud/common/openstack.py",
>>>  
>>> line 302, in _populate_hosts_and_request_paths
>>>     osa = osa.authenticate(**kwargs)  # may throw InvalidCreds
>>>   File 
>>> "/opt/scalr-server/embedded/lib/python2.7/site-packages/libcloud/common/openstack_identity.py",
>>>  
>>> line 843, in authenticate
>>>     return self._authenticate_2_0_with_password()
>>>   File 
>>> "/opt/scalr-server/embedded/lib/python2.7/site-packages/libcloud/common/openstack_identity.py",
>>>  
>>> line 868, in _authenticate_2_0_with_password
>>>     return self._authenticate_2_0_with_body(reqbody)
>>>   File 
>>> "/opt/scalr-server/embedded/lib/python2.7/site-packages/libcloud/common/openstack_identity.py",
>>>  
>>> line 873, in _authenticate_2_0_with_body
>>>     method='POST')
>>>   File 
>>> "/opt/scalr-server/embedded/lib/python2.7/site-packages/libcloud/common/base.py",
>>>  
>>> line 782, in request
>>>     headers=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/libcloud/httplib_ssl.py",
>>>  
>>> line 260, in connect
>>>     return httplib.HTTPSConnection.connect(self)
>>>   File "/opt/scalr-server/embedded/lib/python2.7/httplib.py", line 1278, 
>>> in connect
>>>     server_hostname=server_hostname)
>>>   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'
>>>
>>>
>>>
>>>
>>> On Monday, April 3, 2017 at 3:45:13 AM UTC-5, Matthieu Serrepuy wrote:
>>>>
>>>> Hi Brandon,
>>>>
>>>> When you added the new libraries, has the error message changed ?
>>>>
>>>> Can you post the new logs here ?
>>>>
>>>> Checking if I added other libraries there in the meantime.
>>>>
>>>> Thanks,
>>>>
>>>> On Fri, Mar 31, 2017 at 10:43 PM, Brandon Newport <[email protected]> 
>>>> wrote:
>>>>
>>>>> Matthieu,
>>>>>
>>>>> I am seeing the same issues.  I attempted your fix, but I am still 
>>>>> seeing errors.
>>>>>
>>>>> Did you have to do anything else to get this to work?
>>>>>
>>>>> I downloaded the ndg-httpsclient to my Scalr Host (Community Version), 
>>>>> and copied the (ndg + ndg_httpsclient.egg-info/) directories under the 
>>>>> location you suggested, but I am still seeing errors.
>>>>>
>>>>> I also ran a /opt/scalr-server/bin/scalr-server-ctl reconfigure but 
>>>>> still no luck.  Any help thoughts on this would be appreciated.
>>>>>
>>>>> Brandon
>>>>>
>>>>>
>>>>> On Thursday, February 2, 2017 at 8:21:06 AM UTC-6, Matthieu Serrepuy 
>>>>> wrote:
>>>>>>
>>>>>> Adding ndg to the dependancies fixed the issue for me on the 
>>>>>> community edition.
>>>>>>
>>>>>> If anybody is interested, I added 
>>>>>> https://pypi.python.org/pypi/ndg-httpsclient (ndg + 
>>>>>> ndg_httpsclient.egg-info/) under 
>>>>>> /opt/scalr-server/embedded/lib/python2.7/site-packages/
>>>>>>
>>>>> -- 
>>>>> You received this message because you are subscribed to a topic in the 
>>>>> Google Groups "scalr-discuss" group.
>>>>> To unsubscribe from this topic, visit 
>>>>> https://groups.google.com/d/topic/scalr-discuss/2C7376WrVrk/unsubscribe
>>>>> .
>>>>> To unsubscribe from this group and all its topics, send an email to 
>>>>> [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>>

-- 
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.

Reply via email to