Ask Your Question
0

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

asked 2011-07-03 17:45:51 -0500

huy-pham-sc gravatar image

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 flag offensive close merge delete

11 answers

Sort by ยป oldest newest most voted
0

answered 2011-07-04 00:09:36 -0500

huy-pham-sc gravatar image

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.

edit flag offensive delete link more
0

answered 2011-07-03 22:43:40 -0500

huy-pham-sc gravatar image

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?

edit flag offensive delete link more
0

answered 2011-07-03 17:49:13 -0500

huy-pham-sc gravatar image

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

edit flag offensive delete link more
0

answered 2011-07-03 22:31:14 -0500

vishvananda gravatar image

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:

Question #163627 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+q...

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

edit flag offensive delete link more
0

answered 2011-07-03 23:41:27 -0500

vishvananda gravatar image

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

edit flag offensive delete link more
0

answered 2011-07-04 00:54:32 -0500

vishvananda gravatar image

There are plenty of both here:

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

Vish

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

Question #163627 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+q...

Status: Answered => Open

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

edit flag offensive delete link more
0

answered 2011-07-04 19:27:54 -0500

huy-pham-sc gravatar image

So cool. What is the default login/password for those images?

edit flag offensive delete link more
0

answered 2011-07-04 19:38:19 -0500

vishvananda gravatar image

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:

Question #163627 on OpenStack Compute (nova) changed: https://answers.launchpad.net/nova/+q...

Status: Answered => Open

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

edit flag offensive delete link more
0

answered 2011-07-07 03:40:12 -0500

tonytkdk gravatar image

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

edit flag offensive delete link more
0

answered 2011-07-07 05:44:10 -0500

huy-pham-sc gravatar image

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2011-07-03 17:45:51 -0500

Seen: 25 times

Last updated: Jul 07 '11