Installation problem (nova / bexar)

Asked by Laurent Borensky

Hi,
I try to test Nova (Bexar) and I have a problem with the installation on the database. This problem does not generate the certificate under "/ root/nova-creds". The name of the mysql database is innovative, but it's empty tables. I do not know why!

Thank you for your help.

Details (log) : file = /var/log/nova/nova-install.log
=========
mysql start/running, process 7871
2011-02-12 15:06:38,361 ERROR nova.exception [-] DB exception wrapped
(nova.exception): TRACE: Traceback (most recent call last):
...
(nova.root): TRACE: raise errorclass, errorvalue
(nova.root): TRACE: ProgrammingError: (ProgrammingError) (1146, "Table 'nova.users' doesn't exist") 'SELECT users.created_at AS users_created_at, users.updated_at AS users_updated_at, users.deleted_at AS users_deleted_at, users.deleted AS users_deleted, users.id AS users_id, users.name AS users_name, users.access_key AS users_access_key, users.secret_key AS users_secret_key, users.is_admin AS users_is_admin \nFROM users \nWHERE users.id = %s AND users.deleted = %s \n LIMIT 0, 1' ('CloudOMC', False)
(nova.root): TRACE:

root@myhost:/var/log/nova# mysql -p nova <CR>
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 46
Server version: 5.1.49-1ubuntu8.1 (Ubuntu)

Copyright (c) 2000, 2010, Oracle and/or its affiliates. All rights reserved.
This software comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to modify and redistribute it under the GPL v2 license

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> show tables;<CR>
Empty set (0.00 sec)

mysql>exit <CR>

Question information

Language:
English Edit question
Status:
Solved
For:
OpenStack Compute (nova) Edit question
Assignee:
No assignee Edit question
Solved by:
Laurent Borensky
Solved:
Last query:
Last reply:
Revision history for this message
Laurent Borensky (laurent-borensky) said :
#1

Sorry, I pressed 2 times on the send button. Now, there are 2 times the same question. I can delete one.

Revision history for this message
Laurent Borensky (laurent-borensky) said :
#2

Hi,

Sorry, I had not read the FAQ and the solution was to launch the command "# nova-manage db sync <CR>. I think therefore missed this line in the install script.

Best Regards