Comment 4 for bug 1443562

Revision history for this message
R Kendal (r-kendal) wrote : Re: [Bug 1443562] Re: /etc/nova/nova.conf missing section: [database]

 i made accounts for the issue, so for me, backporting is not necessary

i just never wanted the issue to confuse others going forward

btw: i thought juno was the latest!

thanks for the prompt help

kendal

On 14 April 2015 at 08:39, jichenjc <email address hidden> wrote:

> seems you are using juno version code
> looks to me the commit add the support
>
> commit ba407e33d3fedd2d283ba8752ff592fb3e0e2d43
> Author: Dheeraj Gupta <email address hidden>
> Date: Tue Jan 27 11:55:55 2015 +0000
>
> Add support for multiple database engines
>
> and we got following at nova.conf.sample
> 2042 [database]
> 2043
> 2044 #
> 2045 # Options defined in nova.db.sqlalchemy.api
>
>
> do you have chance to take a look at latest rpms ? I am not sure whether
> backport this to juno will be accepted or not...
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1443562
>
> Title:
> /etc/nova/nova.conf missing section: [database]
>
> Status in OpenStack Compute (Nova):
> Incomplete
>
> Bug description:
> the docs tell you to add the 'connection=...' line after the
> [database] section within /etc/nova/nova.conf
>
> i then created and ran the bash script as follows:
> OLD="^#connection=mysql.*"
> NEW="connection = mysql://nova:$NOVA_DBPASS@controller/nova"
> sed -i "/^\[database\]/,/^\[/{ s~$OLD~$NEW~ }" /etc/nova/nova.conf
>
> unlike some of the other openstack config files that require a
> '[database]' section,
> unbeknownst to me, there was no '[database]' section in
> /etc/nova/nova.conf so my script did nothing
>
> i later kept getting the following error:
> "Access denied for user 'nova'@'localhost' (using password: YES)") None
> None
>
> googling I found many people faced the same error, but nothing lead me
> to this issue.
>
> i recommend adding a '[database]' section to /etc/nova/nova.conf
>
> cheerz
> kendal
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/nova/+bug/1443562/+subscriptions
>