Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: OpenStack: Dev

Nova ignores nova.conf

 

 

OpenStack dev RSS feed   Index | Next | Previous | View Threaded


simon at gikaku

Aug 10, 2012, 2:23 AM

Post #1 of 4 (142 views)
Permalink
Nova ignores nova.conf

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 [at] lists
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp


markmc at redhat

Aug 10, 2012, 3:07 AM

Post #2 of 4 (135 views)
Permalink
Re: Nova ignores nova.conf [In reply to]

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 [at] lists
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp


lorin at nimbisservices

Aug 11, 2012, 9:31 PM

Post #3 of 4 (128 views)
Permalink
Re: Nova ignores nova.conf [In reply to]

On Aug 10, 2012, at 6:07 AM, Mark McLoughlin <markmc [at] redhat> 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


simon at gikaku

Aug 13, 2012, 2:24 AM

Post #4 of 4 (124 views)
Permalink
Re: Nova ignores nova.conf [In reply to]

On 08/12/2012 01:31 PM, Lorin Hochstein wrote:
> On Aug 10, 2012, at 6:07 AM, Mark McLoughlin <markmc [at] redhat
> <mailto:markmc [at] redhat>> 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 [at] lists
Unsubscribe : https://launchpad.net/~openstack
More help : https://help.launchpad.net/ListHelp

OpenStack dev RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.