Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

To Jay Pipes:

this is the content in /etc/nova/nova.conf :

--daemonize=1 --dhcpbridge_flagfile=/etc/nova/nova.conf --dhcpbridge=/usr/bin/nova-dhcpbridge --logdir=/var/log/nova --state_path=/var/lib/nova --sql_connection=mysql://root:nova@ --s3_host= --rabbit_host= --ec2_host= --verbose --ec2_url= --fixed_range=<> --network_size=<#64>

Is it right???

but after I replace <# of addrs> in /etc/nova/nova.conf with the size of the network (# of IP Addresses in the network)

It seems does not work, errors as follows:

[root@localhost /]# nova-manage --flagfile /etc/nova/nova.conf db sync 2011-02-16 17:15:36,220 CRITICAL nova.root [-] flag --network_size=<64>: invalid literal for long() with base 10: '<64>' (nova.root): TRACE: Traceback (most recent call last): (nova.root): TRACE: File "/usr/bin/nova-manage", line 5, in <module> (nova.root): TRACE: pkg_resources.run_script('nova==2011.1', 'nova-manage') (nova.root): TRACE: File "/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/", line 489, in run_script (nova.root): TRACE: self.require(requires)[0].run_script(script_name, ns) (nova.root): TRACE: File "/usr/lib/python2.6/site-packages/setuptools-0.6c11-py2.6.egg/", line 1207, in run_script (nova.root): TRACE: execfile(script_filename, namespace, namespace) (nova.root): TRACE: File "/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/EGG-INFO/scripts/nova-manage", line 694, in <module> (nova.root): TRACE: main() (nova.root): TRACE: File "/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/EGG-INFO/scripts/nova-manage", line 660, in main (nova.root): TRACE: argv = FLAGS(sys.argv) (nova.root): TRACE: File "/usr/lib/python2.6/site-packages/nova-2011.1-py2.6.egg/nova/", line 71, in __call__ (nova.root): TRACE: args = gflags.FlagValues.__call__(self, argv) (nova.root): TRACE: File "build/bdist.linux-x86_64/egg/", line 1114, in __call__ (nova.root): TRACE: flag.Parse(arg) (nova.root): TRACE: File "build/bdist.linux-x86_64/egg/", line 1651, in Parse (nova.root): TRACE: raise IllegalFlagValue("flag --%s=%s: %s" % (, argument, e)) (nova.root): TRACE: IllegalFlagValue: flag --network_size=<64>: invalid literal for long() with base 10: '<64>'