← Back to team overview

registry team mailing list archive

[Bug 682658] [NEW] xenapi support use empty request context

 

Public bug reported:

When attempting to launch an instance using XenAPI, there is this
exception that causes the run_instance to fail

nova/db/sqlalchemy/api.py:45: exceptions.DeprecationWarning: Use of
empty request context is deprecated

I looked at the code and it looks like that this call in xenapi.py is
the trouble

db.project_get_network(None, instance.project_id)

** Affects: nova
     Importance: Undecided
     Assignee: Armando Migliaccio (armando-migliaccio)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Armando Migliaccio (armando-migliaccio)

-- 
xenapi support use empty request context
https://bugs.launchpad.net/bugs/682658
You received this bug notification because you are a member of Registry
Administrators, which is subscribed to OpenStack.



Follow ups

References