The network range is not big enough to fit 32. Network size is 256

Is this a bug? or something wrong with the installation? nova-manage throws this error when I tried to create a network with this command:

$NOVA_DIR/bin/nova-manage network create$FIXED_RANGE 1 32  ($NOVA_DIR has been set and tested). where$FIXED_RANGE=10.0.0.0/24
Error is:
2011-07-02 16:52:49,568 CRITICAL nova [-] The network range is not big enough to fit 32. Network size is 256

(nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/root/openstack/code/nova/bin/nova-manage", line 1276, in <module> (nova): TRACE: main() (nova): TRACE: File "/root/openstack/code/nova/bin/nova-manage", line 1265, in main (nova): TRACE: fn(argv) (nova): TRACE: File "/root/openstack/code/nova/bin/nova-manage", line 614, in create (nova): TRACE: raise e (nova): TRACE: ValueError: The network range is not big enough to fit 32. Network size is 256 (nova): TRACE: 2011-07-02 16:52:50,386 CRITICAL nova [-] create() takes exactly 2 arguments (3 given) (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/root/openstack/code/nova/bin/nova-manage", line 1276, in <module> (nova): TRACE: main() (nova): TRACE: File "/root/openstack/code/nova/bin/nova-manage", line 1265, in main (nova): TRACE: fn(argv) (nova): TRACE: TypeError: create() takes exactly 2 arguments (3 given) (nova): TRACE:

Thanks earlier for help.

edit retag close merge delete

Sort by » oldest newest most voted

Thanks for your kind answer, Vish. I got it all running now. Do you have any image of ubuntu-32 bit (not 64bit) that I can use for cactus? I only found x86_64, need i686 or things like that for an 32-bit host.

more

Thanks, Vish but really, JESUS CHRIST!!!!!!!!!!!!!!!!!!!!!!!!!!! how am I supposed to STALK that change?? It took me a couple of hours to examine the code. Is there any up-to-date documents with updated changes?

more

I know that the network size has to be the power of 2. Tried --network_size=8, still the same error.

more

The semantics of that call changed recently in trunk to use a label. Try nova-manage network create public 10.0.0.0/8 1 32 On Jul 3, 2011, at 10:50 AM, HP wrote:

HP gave more information on the question: I know that the network size has to be the power of 2. Tried --network_size=8, still the same error.

You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

more

Trunk occasionally has breaking changes introduced and the docs can lag behind a little bit. This is one reason for sticking with milestone releases if you don't have time to track the changes going in. The multi_nic networking was a major change and we expected a bit of breakage. This one was a little bit painful because the argument parsing for nova-manage is pretty naive. There is a branch under review which allows arguments to be passed in any order which will make changes like this less invasive. Sorry you got bit by this one.

Vish

more

There are plenty of both here:

http://uec-images.ubuntu.com/

Vish

On Jul 3, 2011, at 5:11 PM, HP wrote:

HP is still having a problem: Thanks for your kind answer, Vish. I got it all running now. Do you have any image of ubuntu-32 bit (not 64bit) that I can use for cactus? I only found x86_64, need i686 or things like that for an 32-bit host.

You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

more

more

There isnt one. You need to specify a keypair or pass in a script via user data to set the password On Jul 4, 2011 12:31 PM, "HP" question163627@answers.launchpad.net wrote:

HP is still having a problem: So cool. What is the default login/password for those images?

You received this question notification because you are a member of Nova Core, which is an answer contact for OpenStack Compute (nova).

more

HP , default user is ubuntu of UEC public image .

hope it will help

And I'm seeking the latest comment about multi_nic.

I'm confusing about the label "public" & "private"

Cheers Hugo Kuo

more

Hey Hugo, And what is the password? I will try ubuntu without a password though.

more