Cannot import nova.db.sqlalchemy.models
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am following up from bug #654584 as advised by soren I am launching the auth server with :
python /usr/bin/nova-api --flagfile=
which does not show me the 404 not found anymore but I am getting different error now :
[.....]
File "/usr/lib/
req.path)
File "/usr/lib/
user = self.get_
File "/usr/lib/
user_dict = drv.get_
File "/usr/lib/
return self._db_
File "/usr/lib/
return IMPL.user_
File "/usr/lib/
backend = self.__
File "/usr/lib/
self.__backend = __import__(name, None, None, fromlist)
File "/usr/lib/
from nova.db.sqlalchemy import models
ImportError: cannot import name models
The full log is here :
The command is :
euca-register mybucket/
Let me know if you need more information.
Chmouel.
I am launching nova-api as user and not as root so nova.db. sqlalchemy. api could not read the sqlite database from user nova and was failing on import...