Ask Your Question
0

Instance creation fails with nova-network reporting NoMoreNetworks

asked 2011-07-19 14:00:10 -0500

p-spencer-davis gravatar image

I've installed nova from the launchpad ppa and just updated this morning

I have three 172.16.x.0/24 networks created with

nova-manage network create private 172.16.1.0/24 1 255 and modified using the method outlined for Vlan manager in the nova administrator documentation (create a script to modify the database to add virtual bridge interfaces, etc)

euca-run-instance fails with the following error messages in /var/log/nova/nova-networking:

2011-07-19 09:30:51,642 DEBUG nova.rpc [-] received {u'_msg_id': u'bf79d2ff92f147e688ff415403b5a184', u'_context_read_deleted': False, u'_context_request_id': u'JIWQGH2VY9HXC029-2FW', u'args': {u'instance_id': 1, u'vpn': False, u'project_id': u'project1', u'instance_type_id': 2}, u'_context_is_admin': True, u'_context_timestamp': u'2011-07-19T13:30:50Z', u'_context_user': u'cscloud', u'method': u'allocate_for_instance', u'_context_project': u'project1', u'_context_remote_address': u'10.192.30.137'} from (pid=17847) process_data /usr/lib/pymodules/python2.7/nova/rpc.py:202 2011-07-19 09:30:51,642 DEBUG nova.rpc [-] unpacked context: {'timestamp': u'2011-07-19T13:30:50Z', 'msg_id': u'bf79d2ff92f147e688ff415403b5a184', 'remote_address': u'10.192.30.137', 'project': u'project1', 'is_admin': True, 'user': u'cscloud', 'request_id': u'JIWQGH2VY9HXC029-2FW', 'read_deleted': False} from (pid=17847) _unpack_context /usr/lib/pymodules/python2.7/nova/rpc.py:451 2011-07-19 09:30:51,645 DEBUG nova.network.manager [JIWQGH2VY9HXC029-2FW cscloud project1] floating IP allocation for instance |1| from (pid=17847) allocate_for_instance /usr/lib/pymodules/python2.7/nova/network/manager.py:191 2011-07-19 09:30:51,645 DEBUG nova.network.manager [JIWQGH2VY9HXC029-2FW cscloud project1] network allocations for instance 1 from (pid=17847) allocate_for_instance /usr/lib/pymodules/python2.7/nova/network/manager.py:379 2011-07-19 09:30:51,651 ERROR nova [-] Exception during message handling (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/rpc.py", line 232, in _process_data (nova): TRACE: rval = node_func(context=ctxt, *node_args) (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/network/manager.py", line 195, in allocate_for_instance (nova): TRACE: ips = super(FloatingIP, self).allocate_for_instance(context, *kwargs) (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/network/manager.py", line 381, in allocate_for_instance (nova): TRACE: project_id) (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/network/manager.py", line 855, in _get_networks_for_instance (nova): TRACE: networks = self.db.project_get_networks(context, project_id) (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/db/api.py", line 1234, in project_get_networks (nova): TRACE: return IMPL.project_get_networks(context, project_id, associate) (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/db/sqlalchemy/api.py", line 117, in wrapper (nova): TRACE: return f(args, *kwargs) (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/db/sqlalchemy/api.py", line 2759, in project_get_networks (nova): TRACE: return [network_associate(context, project_id)] (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/db/sqlalchemy/api.py", line 99, in wrapper (nova): TRACE: return f(args, *kwargs) (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/db/sqlalchemy/api.py", line 1516, in network_associate (nova): TRACE: raise db.NoMoreNetworks() (nova): TRACE: NoMoreNetworks: None (nova): TRACE: 2011-07-19 09:30:51,653 ERROR nova.rpc ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2011-07-19 18:07:20 -0500

p-spencer-davis gravatar image

It was a miss configuration of my nova.conf file. --fixed_range=192.168.0.0/24 --network_size=255 should have been --fixed_range=192.168.0.0/24 --network_size=256

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-19 14:00:10 -0500

Seen: 31 times

Last updated: Jul 19 '11