Skip to Content
Hybrid Cloud for Developers
book

Hybrid Cloud for Developers

by Manoj Hirway
April 2018
Intermediate to advanced content levelIntermediate to advanced
280 pages
8h 37m
English
Packt Publishing
Content preview from Hybrid Cloud for Developers

Database issues 

The OpenStack Compute service uses its own database called the Nova database. This database must be up and running for the other Nova services to function properly. 

If you happen to encounter any database-related error messages in the log files, you should first check the database by connecting to it using the MySQL command line:

# mysql -u nova -p -h packtpub-dbserver nova

If the connection is successful, you should ensure that all the tables are present in the database:

# show tables

If there are no tables present, you can initialize the database by invoking the following command:

# nova-manage db sync

This will create the required tables and the Nova services should come back online.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Hybrid Cloud for Architects

Hybrid Cloud for Architects

Alok Shrivastwa
OpenStack: Building a Cloud Environment

OpenStack: Building a Cloud Environment

Alok Shrivastwa, Sunil Sarat, Kevin Jackson, Cody Bunch, Egle Sigler, Tony Campbell

Publisher Resources

ISBN: 9781788830874Supplemental Content