nova-manage db sync throws an import error
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Mirantis OpenStack | ||||||
4.1.x |
Fix Committed
|
High
|
MOS Nova |
Bug Description
I am following the instructions in
When I run nova-manage db sync, I get the following:
<email address hidden>:~# su -s /bin/sh -c "nova-manage db sync" nova
Command failed, please check log for more info
<email address hidden>:~#
<email address hidden>:~# tail /var/log/
2014-07-22 15:18:35.279 18396 CRITICAL nova [-] ImportError: cannot import name exceptions
<email address hidden>:~#
I did some checking. nova-manage is a python program, so I ran it with the debugger pdb. I find:
(Pdb) c
Command failed, please check log for more info
Traceback (most recent call last):
File "/usr/lib64/
pdb.
File "/usr/lib64/
self.
File "/usr/lib64/
exec cmd in globals, locals
File "<string>", line 1, in <module>
File "/usr/bin/
sys.
File "/usr/lib/
ret = fn(*fn_args, **fn_kwargs)
File "/usr/lib/
return migration.
File "/usr/lib/
return IMPL.db_
File "/usr/lib/
backend = self.__
File "/usr/lib/
self.__backend = __import__(name, None, None, fromlist)
File "/usr/lib/
from migrate.versioning import api as versioning_api
File "/usr/lib/
from migrate.versioning import (exceptions, repository, schema, version,
File "/usr/lib/
from sqlalchemy import exceptions as sa_exceptions
ImportError: cannot import name exceptions
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> /usr/lib/
-> from sqlalchemy import exceptions as sa_exceptions
(Pdb)
<email address hidden>:~# python /usr/bin/
2014.1.1
<email address hidden>:~#
What other information would be helpful in pursuing this problem?
Thank you
Jeff Silverman
Changed in fuel: | |
status: | New → Invalid |
Changed in fuel: | |
milestone: | none → 6.0 |
affects: | fuel → mos |
Changed in mos: | |
milestone: | 6.0 → none |
milestone: | none → 4.1.2 |
status: | Invalid → Triaged |
importance: | Undecided → Medium |
tags: | added: nova |
tags: | added: migrate |
Changed in mos: | |
assignee: | nobody → Fuel OSCI Team (fuel-osci) |
Changed in mos: | |
assignee: | Fuel OSCI Team (fuel-osci) → MOS Nova (mos-nova) |
no longer affects: | mos |
I forgot to paste the URL. I am following the instructions in http:// docs.openstack. org/trunk/ install- guide/install/ yum/content/ nova-controller -install. html. I am at To install and configure Compute controller components step 3.
I apologize for the confusion.
Jeff Silverman