← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1428552] [NEW] Failed to launch VM with Nova version of "2015.1.0b2-656-g5208925"

 

Public bug reported:

Affected software version:
 - Nova: 2015.1.0b2-656-g5208925
 - Horizon: 2015.1.0b2-359-g36e87c6

Description:
With the above software version (installed by using DevStack), use Horizon to launch new VM (configuration of VM is no matter).
The launching process is stuck forever at the task state of "SCHEDULING" with the following Traceback of Nova-conductor:

Logged from file dispatcher.py, line 151
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 457, in fire_timers
    timer()
  File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 58, in __call__
    cb(*args, **kw)
  File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 217, in main
    self._resolve_links()
  File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 232, in _resolve_links
    f(self, *ca, **ckw)
  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_executors/impl_eventlet.py", line 44, in complete
    thread.wait()
  File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 175, in wait
    return self._exit_event.wait()
  File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 125, in wait
    current.throw(*self._exc)
  File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 214, in main
    result = function(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 136, in <lambda>
    yield lambda: self._dispatch_and_reply(incoming, executor_callback)
  File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 151, in _dispatch_and_reply
    exc_info=exc_info)
  File "/usr/lib/python2.7/logging/__init__.py", line 1178, in error
    self._log(ERROR, msg, args, **kwargs)
  File "/usr/lib/python2.7/logging/__init__.py", line 1271, in _log
    self.handle(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 1281, in handle
    self.callHandlers(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 1321, in callHandlers
    hdlr.handle(record)
  File "/usr/lib/python2.7/logging/__init__.py", line 749, in handle
    self.emit(record)
  File "/usr/lib/python2.7/logging/handlers.py", line 842, in emit
    msg = self.format(record) + '\000'
  File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
    return fmt.format(record)
  File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 178, in format
    context = _update_record_with_context(record)
  File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 56, in _update_record_with_context
    d = _dictify_context(context)
  File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 31, in _dictify_context
    context = context.to_dict()
  File "/opt/stack/nova/nova/context.py", line 157, in to_dict
    values.update({'user_id': self.user_id,
AttributeError: 'RequestContext' object has no attribute 'user_id'

** Affects: nova
     Importance: Undecided
     Assignee: Trung Trinh (trung-t-trinh)
         Status: In Progress

** Changed in: nova
     Assignee: (unassigned) => Trung Trinh (trung-t-trinh)

** Changed in: nova
       Status: New => In Progress

-- 
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/1428552

Title:
  Failed to launch VM with Nova version of "2015.1.0b2-656-g5208925"

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  Affected software version:
   - Nova: 2015.1.0b2-656-g5208925
   - Horizon: 2015.1.0b2-359-g36e87c6

  Description:
  With the above software version (installed by using DevStack), use Horizon to launch new VM (configuration of VM is no matter).
  The launching process is stuck forever at the task state of "SCHEDULING" with the following Traceback of Nova-conductor:

  Logged from file dispatcher.py, line 151
  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 457, in fire_timers
      timer()
    File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line 58, in __call__
      cb(*args, **kw)
    File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 217, in main
      self._resolve_links()
    File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 232, in _resolve_links
      f(self, *ca, **ckw)
    File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/_executors/impl_eventlet.py", line 44, in complete
      thread.wait()
    File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 175, in wait
      return self._exit_event.wait()
    File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 125, in wait
      current.throw(*self._exc)
    File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line 214, in main
      result = function(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 136, in <lambda>
      yield lambda: self._dispatch_and_reply(incoming, executor_callback)
    File "/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 151, in _dispatch_and_reply
      exc_info=exc_info)
    File "/usr/lib/python2.7/logging/__init__.py", line 1178, in error
      self._log(ERROR, msg, args, **kwargs)
    File "/usr/lib/python2.7/logging/__init__.py", line 1271, in _log
      self.handle(record)
    File "/usr/lib/python2.7/logging/__init__.py", line 1281, in handle
      self.callHandlers(record)
    File "/usr/lib/python2.7/logging/__init__.py", line 1321, in callHandlers
      hdlr.handle(record)
    File "/usr/lib/python2.7/logging/__init__.py", line 749, in handle
      self.emit(record)
    File "/usr/lib/python2.7/logging/handlers.py", line 842, in emit
      msg = self.format(record) + '\000'
    File "/usr/lib/python2.7/logging/__init__.py", line 724, in format
      return fmt.format(record)
    File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 178, in format
      context = _update_record_with_context(record)
    File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 56, in _update_record_with_context
      d = _dictify_context(context)
    File "/usr/local/lib/python2.7/dist-packages/oslo_log/formatters.py", line 31, in _dictify_context
      context = context.to_dict()
    File "/opt/stack/nova/nova/context.py", line 157, in to_dict
      values.update({'user_id': self.user_id,
  AttributeError: 'RequestContext' object has no attribute 'user_id'

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1428552/+subscriptions


Follow ups

References