Ask Your Question
0

Failed to allocate the network(s), not rescheduling.

asked 2015-02-14 00:39:02 -0500

Moe gravatar image

updated 2015-03-11 03:54:32 -0500

I am running juno on debian/wheezy on a new compute node I faced a new error which is :

nova.compute.manager

Build of instance 3482b505-c2b4-44ee-8b24-6dae28a49811 aborted: Failed to allocate the network(s), not rescheduling.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2030, in _do_build_and_run_instance
filter_properties)
File   "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2129, in _build_and_run_instance 'create.error', fault=e)
File "/usr/lib/python2.7/dist-packages/nova/openstack/common/excutils.py", line 82, in __exit__ six.reraise(self.type_, self.value, self.tb)
File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2102, in _build_and_run_instance block_device_mapping) as resources:
File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
return self.gen.next()
File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 2205, in _build_resources
reason=msg)
BuildAbortException: Build of instance 3482b505-c2b4-44ee-8b24-6dae28a49811 aborted: Failed to allocate the network(s), not rescheduling.

also there is another error above which is about database update

RemoteError: Remote error: OperationalError (OperationalError) (1048, "Column 'instance_uuid' cannot be null") 'UPDATE instance_extra SET updated_at=%s, instance_uuid=%s WHERE instance_extra.id = %s' (datetime.datetime(2015, 2, 14, 4, 48, 25, 211892), None, 306L)

I really suspect the new version of nova-compute and neutron-plugin-openvswitch-agent:

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                                  Version                         Architecture                    Description
+++-=====================================================-==============================-=============
ii  neutron-plugin-openvswitch-agent                      2014.2.1-5~bpo70+1              all                             OpenStack virtual network service - Open vSwitch agent
ii  nova-compute-kvm                                      2014.2.1-4~bpo70+1              all                             OpenStack Compute - compute node (KVM)

I did not have any problem with the 2014.2-4~bpo70+1 version but 2014.2.1-4~bpo70+1 faces this problem.

please help.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-12-20 23:37:44 -0500

Satender Yadav gravatar image

open this file /etc/nova/nova.conf and add below line in [DEFAULT]

vif_plugging_timeout=10 vif_plugging_is_fatal=False

edit flag offensive delete link more
0

answered 2015-09-15 04:33:15 -0500

I encountered the same error and fixed by putting

vif_plugging_timeout=10
vif_plugging_is_fatal=False

in the nova.conf file on the compute node.

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: 2015-02-14 00:39:02 -0500

Seen: 2,469 times

Last updated: Sep 15 '15