Ask Your Question
0

nova.conf has no database section default [closed]

asked 2014-11-18 05:22:11 -0500

Eric Xie gravatar image

updated 2014-11-18 05:23:46 -0500

Hi stackers, Why database section does not exist in nova.conf when install compute component? Use RDO. Juno 2014.2. Thanks.

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Eric Xie
close date 2015-01-05 00:37:35.014363

3 answers

Sort by ยป oldest newest most voted
1

answered 2014-11-20 07:32:41 -0500

Eric Xie gravatar image

There is [database] section when i use Icehouse version. It does not exist in Juno. But the install guide tells me that requires: http://docs.openstack.org/juno/instal... [database] ... connection = mysql://nova:NOVA_DBPASS@controller/nova

edit flag offensive delete link more
1

answered 2014-11-18 22:47:31 -0500

Ram.Meena gravatar image

Hi,

You will need to add the database section by yourself in nova configuration file when installing using RDO, like below:-

[database] connection = mysql://nova:YourDbPassword@controller/nova

edit flag offensive delete link more

Comments

Thanks. I do as you advised.

Eric Xie gravatar imageEric Xie ( 2014-11-20 07:28:50 -0500 )edit
0

answered 2014-11-18 06:00:26 -0500

dbaxps gravatar image

updated 2014-11-18 06:01:04 -0500

Nova.conf in Juno contains :-

sql_connection=mysql://nova:password@Controller-IP/nova

What else you expect to have in database section ?

edit flag offensive delete link more

Comments

It works in Juno without [database].

dbaxps gravatar imagedbaxps ( 2014-11-20 07:34:34 -0500 )edit

ok. Thanks.

Eric Xie gravatar imageEric Xie ( 2014-11-20 08:11:30 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2014-11-18 05:22:11 -0500

Seen: 1,165 times

Last updated: Nov 18 '14