← Back to team overview

registry team mailing list archive

[Bug 653534] [NEW] NameError on session_get in sqlalchemy.api.service_update

 

Public bug reported:

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

** Affects: nova
     Importance: Undecided
     Assignee: Ewan Mellor (ewanmellor)
         Status: Fix Committed

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

** Changed in: nova
     Assignee: (unassigned) => Ewan Mellor (ewanmellor)

** Changed in: nova
       Status: In Progress => Fix Committed

-- 
NameError on session_get in sqlalchemy.api.service_update
https://bugs.launchpad.net/bugs/653534
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



Follow ups

References