← Back to team overview

openstack team mailing list archive

Re: Nova ignores nova.conf

 

On Fri, 2012-08-10 at 00:23 -0900, Simon Walter wrote:
> Nova does not respect the options set in the /etc/nova/nova.conf file. 
> I've seen some examples with "--" prefixing the flags, as if they are 
> command line arguments. I've also seen examples without.
> 
> I've tried removing the "--", that does nothing.
> 
> Specifically, I've set
> --flat_network_bridge=br0
> --fixed_range=10.0.3.0/24
> --flat_network_dhcp_start=10.0.3.1
> 
> I always get a br100 created with an IP address of 10.0.2.33
> 
> This is really annoying. If I empty the /etc/nova/nova.conf nothing gets 
> created.
> 
> I've greped all sorts of places for "defaults", but come up blank.

If nova is being run with --config-file, then the syntax is

  [DEFAULT]
  flat_network_bridge=br0

OTOH, if it is being run with --flagfile, the syntax is:

  --flat_network_bridge=br0

Cheers,
Mark.



Follow ups

References