Comment 2 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 am using fedora 21

yum -y install
http://rdo.fedorapeople.org/openstack-juno/rdo-release-juno.rpm
yum -y update
yum -y install openstack-nova-api openstack-nova-cert
openstack-nova-conductor \
  openstack-nova-console openstack-nova-novncproxy openstack-nova-scheduler
\
  python-novaclient

thanks!

On 13 April 2015 at 16:02, jichenjc <email address hidden> wrote:

> which version are you using?
> with the latest automatically generated configuration file
> etc/nova/nova.conf.sample
> I see [database] section ...
>
> is it because the install tool or others? if so, the bug should open to
> them instead of nova itself
>
> ** Changed in: nova
> Status: New => Incomplete
>
> --
> 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
>