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

Bug #1428552 reported by Trung Trinh
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Undecided
Trung Trinh

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'

Changed in nova:
assignee: nobody → Trung Trinh (trung-t-trinh)
status: New → In Progress
Revision history for this message
Davanum Srinivas (DIMS) (dims-v) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.