yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #34013
[Bug 1443562] Re: /etc/nova/nova.conf missing section: [database]
[Expired for OpenStack Compute (nova) because there has been no activity
for 60 days.]
** Changed in: nova
Status: Incomplete => Expired
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1443562
Title:
/etc/nova/nova.conf missing section: [database]
Status in OpenStack Compute (Nova):
Expired
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
References