** Project changed: nova => oslo.vmware

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1495887

Title:
  VMware driver:reconnection didn't work

Status in oslo.vmware:
  New

Bug description:
  Detailed Process:
  1. nova-compute can not connect to rabbitMQ and nova-compute does not execute 
any regular task because of some reason. 
  2. the session will expire after a few hours.
  3. regular task collects nodes hardware info and fail
  4. nova-compute try to judge  session is active
  5._is_current_session_active will get faultmsg.
  6.when executing str(msg), msg is encoded by utf-8,  my vCenter is chinese 
version. so throw  UnicodeEncodeError
  7.reconnection will not work. Then we have to restart nova-compute

  Stack:
  TRACE oslo.vmware.api Traceback (most recent call last):
  TRACE oslo.vmware.api   File 
"/usr/lib/python2.7/site-packages/oslo/vmware/api.py", line 94, in _func
  TRACE oslo.vmware.api     result = f(*args, **kwargs)
  TRACE oslo.vmware.api   File 
"/usr/lib/python2.7/site-packages/oslo/vmware/api.py", line 298, in _invoke_api
  TRACE oslo.vmware.api     if self._is_current_session_active():
  TRACE oslo.vmware.api   File 
"/usr/lib/python2.7/site-packages/oslo/vmware/api.py", line 354, in 
_is_current_session_active
  TRACE oslo.vmware.api     userName=self._session_username)
  TRACE oslo.vmware.api   File 
"/usr/lib/python2.7/site-packages/oslo/vmware/service.py", line 197, in 
request_handler
  TRACE oslo.vmware.api     excep, details)
  TRACE oslo.vmware.api   File 
"/usr/lib/python2.7/site-packages/oslo/vmware/exceptions.py", line 81, in 
__init__
  TRACE oslo.vmware.api     super(VimFaultException, self).__init__(message, 
cause)
  TRACE oslo.vmware.api   File 
"/usr/lib/python2.7/site-packages/oslo/vmware/exceptions.py", line 52, in 
__init__
  TRACE oslo.vmware.api     self.msg = str(message)
  TRACE oslo.vmware.api UnicodeEncodeError: 'ascii' codec can't encode 
characters in position 0-10: ordinal not in range(128)

  Suggested Solution:
  when logging to vCenter, we set local to 'en'.  we will not encounter 
encode/decode problem.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oslo.vmware/+bug/1495887/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to