incorrect nova.conf file example in Ubuntu Cloud page
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Server Guide |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
On the Ubuntu Cloud page, under the section, "Install OpenStack Compute (Nova)" -> "Edit /etc/nova/nova.conf and add the following:" the options are all prepended with "--". If you do this, the "nova-manage db sync" command will emit an error(*) and no tables will be created in the mysql database. Removing the hyphens from the options and restarting the servers (which might not be necessary) allowed the db sync to succeed.
If you go here:
https:/
And look at the "Known Issues" -> "OpenStack" section, you will see the first entry is about the switch in option format which I believe is relevant here.
(*) The db sync error was, "DEBUG nova.utils [-] backend <module 'nova.db.
Not a bug
In the Essex release, the nova.conf file format changed from flags (--name=value) to INI file format (name=value). The Compute service will function properly with either format.
The default nova.conf format for Essex packages varies by distribution. Fedora packages use the new INI style format, and Ubuntu 12.04 packages use the old flag format.
So : Use the lastest openstack documentation that you can find at openstack.org. Do not use the Ubuntu Guide