DBNotAllowed error in nova compute log
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Medium
|
Unassigned | ||
Queens |
New
|
Medium
|
Unassigned | ||
Rocky |
New
|
Medium
|
Unassigned | ||
Stein |
Fix Released
|
Medium
|
Unassigned | ||
Train |
Fix Released
|
Medium
|
Unassigned |
Bug Description
After deploying successfully, found some errors of database accessing in nova compute log:
2019-05-09 23:24:51.998 7 ERROR nova.context [req-24633cf0-
2019-05-09 23:24:51.998 7 ERROR nova.context Traceback (most recent call last):
2019-05-09 23:24:51.998 7 ERROR nova.context File "/var/lib/
2019-05-09 23:24:51.998 7 ERROR nova.context with target_
2019-05-09 23:24:51.998 7 ERROR nova.context File "/usr/lib64/
2019-05-09 23:24:51.998 7 ERROR nova.context return self.gen.next()
2019-05-09 23:24:51.998 7 ERROR nova.context File "/var/lib/
2019-05-09 23:24:51.998 7 ERROR nova.context set_target_
2019-05-09 23:24:51.998 7 ERROR nova.context File "/var/lib/
2019-05-09 23:24:51.998 7 ERROR nova.context get_or_
2019-05-09 23:24:51.998 7 ERROR nova.context File "/var/lib/
2019-05-09 23:24:51.998 7 ERROR nova.context return f(*args, **kwargs)
2019-05-09 23:24:51.998 7 ERROR nova.context File "/var/lib/
2019-05-09 23:24:51.998 7 ERROR nova.context db_connection_
2019-05-09 23:24:51.998 7 ERROR nova.context File "/var/lib/
2019-05-09 23:24:51.998 7 ERROR nova.context return IMPL.create_
2019-05-09 23:24:51.998 7 ERROR nova.context File "/var/lib/
2019-05-09 23:24:51.998 7 ERROR nova.context raise exception.
2019-05-09 23:24:51.998 7 ERROR nova.context DBNotAllowed: nova-compute
2019-05-09 23:24:51.998 7 ERROR nova.context
2019-05-09 23:24:52.000 7 ERROR nova.cmd.common [req-24633cf0-
result = function(*args, **kwargs)
File "/var/lib/
return func(*args, **kwargs)
File "/var/lib/
with target_
File "/usr/lib64/
return self.gen.next()
File "/var/lib/
set_
File "/var/lib/
get_
File "/var/lib/
return f(*args, **kwargs)
File "/var/lib/
db_
File "/var/lib/
return IMPL.create_
File "/var/lib/
stacktrace = "".join(
devstack guys met similar issue before, see https:/
Thanks for raising and for the Devstack hint. I have also seen this. Will try removing the DB conf.