NameError on session_get in sqlalchemy.api.service_update

Bug #653534 reported by Ewan Mellor
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Fix Released
Undecided
Ewan Mellor

Bug Description

Merely running nova-compute gives this NameError when it tries to update its service status:

Traceback (most recent call last):
  File "/home/emellor/openstack/nova/xenapi/nova/service.py", line 165, in report_state
    {'report_count': service_ref['report_count'] + 1})
  File "/home/emellor/openstack/nova/xenapi/nova/db/api.py", line 109, in service_update
    return IMPL.service_update(context, service_id, values)
  File "/home/emellor/openstack/nova/xenapi/nova/db/sqlalchemy/api.py", line 92, in wrapper
    return f(*args, **kwargs)
  File "/home/emellor/openstack/nova/xenapi/nova/db/sqlalchemy/api.py", line 243, in service_update
    service_ref = session_get(context, service_id, session=session)
NameError: global name 'session_get' is not defined

Related branches

Ewan Mellor (ewanmellor)
Changed in nova:
assignee: nobody → Ewan Mellor (ewanmellor)
status: New → In Progress
status: In Progress → Fix Committed
Eric Day (eday)
Changed in nova:
status: Fix Committed → Fix Released
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.