Re: [Openstack] Nova ignores nova.conf

2012-08-13 Thread Simon Walter


On 08/12/2012 01:31 PM, Lorin Hochstein wrote:

On Aug 10, 2012, at 6:07 AM, Mark McLoughlin mailto:mar...@redhat.com>> wrote:


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.

...


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



I assumed that the nova-* services were auto-deteting the nova.conf
format. When I run on Ubuntu, the default nova.conf file is in the
deprecated flag file format, but I just edited the nova.conf file to use
the new ini-style format, and everything seemed to just work.



Thanks for that guys. I've got Openstack running with all the bells on 
one node. Now I'm going to try to add more nodes.


Many thanks,

Simon

--
simonsmicrophone.com

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Nova ignores nova.conf

2012-08-11 Thread Lorin Hochstein
On Aug 10, 2012, at 6:07 AM, Mark McLoughlin  wrote:

> 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
> 


I assumed that the nova-* services were auto-deteting the nova.conf format. 
When I run on Ubuntu, the default nova.conf file is in the deprecated flag file 
format, but I just edited the nova.conf file to use the new ini-style format, 
and everything seemed to just work. 


Take care,

Lorin
--
Lorin Hochstein
Lead Architect - Cloud Services
Nimbis Services, Inc.
www.nimbisservices.com





___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] Nova ignores nova.conf

2012-08-10 Thread Mark McLoughlin
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.


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] Nova ignores nova.conf

2012-08-10 Thread Simon Walter


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.

Any idea why this happens?

Simon

--
simonsmicrophone.com

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp