Comment 6 for bug 1443562

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

Hi,

I could be wrong about this, but this is what i observed per the Juno
docs...

default_store=file # the docs indicate this should go under
'glance_store', but I got: Error in store configuration. Adding images to
store is disabled. it seems to belong in the DEFAULT section

cheers!
kendal

On 14 April 2015 at 10:52, jichenjc <email address hidden> wrote:

> ok, my fault, the latest point to 'master' branch code which is not RPM
> related ...
>
> so let's keep this open in case someone else has more input when Kilo
> RPM can be used , thanks
>
> --
> 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
>