← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1670262] Re: DBNonExistenceDatabase: Unknown database "nova_cell0"

 

The nova_cell0 database is created here by devstack:

https://github.com/openstack-
dev/devstack/blob/8fe48af1625cd2deca496de81dd72573e78b3ef2/lib/nova#L709

I'm assuming you have the n-api service enabled?

** Changed in: nova
       Status: Incomplete => Invalid

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1670262

Title:
  DBNonExistenceDatabase: Unknown database "nova_cell0"

Status in OpenStack Compute (nova):
  Invalid

Bug description:
  
  When we run "nova list" or "openstack server list", we get this error.
  I have installed fresh devstack and then I am getting this error.

  openstack server list

  - go to n-api screen

  2017-03-06 11:30:56.894 TRACE nova.api.openstack.extensions     packet.check_error()
  2017-03-06 11:30:56.894 TRACE nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/pymysql/connections.py", line 393, in check_error
  2017-03-06 11:30:56.894 TRACE nova.api.openstack.extensions     err.raise_mysql_exception(self._data)
  2017-03-06 11:30:56.894 TRACE nova.api.openstack.extensions   File "/usr/local/lib/python2.7/dist-packages/pymysql/err.py", line 107, in raise_mysql_exception
  2017-03-06 11:30:56.894 TRACE nova.api.openstack.extensions     raise errorclass(errno, errval)
  2017-03-06 11:30:56.894 TRACE nova.api.openstack.extensions DBNonExistentDatabase: (pymysql.err.InternalError) (1049, u"Unknown database 'nova_cell0'")
  2017-03-06 11:30:56.894 TRACE nova.api.openstack.extensions
  2017-03-06 11:30:56.897 INFO nova.api.openstack.wsgi [req-cd845e73-f456-4120-b5c4-f274e054d300 admin admin] HTTP exception thrown: Unexpected API Error. Please report this at http://bugs.launchpad.net/nova/ and attach the Nova API log if possible.
  <class 'oslo_db.exception.DBNonExistentDatabase'>

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1670262/+subscriptions


References