Instance creation fails with nova-network reporting NoMoreNetworks

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

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 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''} from (pid=17847) process_data /usr/lib/pymodules/python2.7/nova/ 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'', '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/ 2011-07-19 09:30:51,645 DEBUG [JIWQGH2VY9HXC029-2FW cscloud project1] floating IP allocation for instance |1| from (pid=17847) allocate_for_instance /usr/lib/pymodules/python2.7/nova/network/ 2011-07-19 09:30:51,645 DEBUG [JIWQGH2VY9HXC029-2FW cscloud project1] network allocations for instance 1 from (pid=17847) allocate_for_instance /usr/lib/pymodules/python2.7/nova/network/ 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/", line 232, in _process_data (nova): TRACE: rval = node_func(context=ctxt, *node_args) (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/network/", 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/", line 381, in allocate_for_instance (nova): TRACE: project_id) (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/network/", 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/", 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/", line 117, in wrapper (nova): TRACE: return f(args, *kwargs) (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/db/sqlalchemy/", 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/", line 99, in wrapper (nova): TRACE: return f(args, *kwargs) (nova): TRACE: File "/usr/lib/pymodules/python2.7/nova/db/sqlalchemy/", 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

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

p-spencer-davis gravatar image

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

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2011-07-19 14:00:10 -0600

Seen: 40 times

Last updated: Jul 19 '11