[Openstack] Devstack - : Failed to allocate the network(s), not rescheduling
Bernd Bausch
berndbausch at gmail.com
Fri Dec 15 00:51:12 UTC 2017
This just says that Nova was unable to set up the network plumbing on the
compute node.
Depending on the OpenStack version you deployed, you should have other
messages in the same log file, for example if you are using Pike, "No more
network or fixed IP to be allocated" or "Failed to allocate network(s)"
(without the article). It would be helpful to know if there are such
messages.
Most probably, there is more information in the Neutron logs. Since you use
DevStack, you probably have an all-in-one deployment, but in case you have
separate compute nodes, also check the Neutron agent log there.
You may also want to provide more information such as: What OpenStack
version you have, which log are you sharing, when does this happen, does it
always happen or only under certain circumstances, have you ever been able
to launch an instance, what networks do you have, what network do you
connect the instance to, what's your local.conf etc.
From: Ramu, MohanX [mailto:mohanx.ramu at intel.com]
Sent: Thursday, December 14, 2017 10:54 PM
To: 'openstack at lists.openstack.org' <openstack at lists.openstack.org>
Cc: 'Bernd Bausch' <berndbausch at gmail.com>; Jay Pipes <jaypipes at gmail.com>
Subject: Devstack - : Failed to allocate the network(s), not rescheduling
Hi All,
2017-12-14 02:56:06.230 DEBUG oslo_messaging._drivers.amqpdriver
[^[[01;36mreq-0949894a-1c03-4956-8582-49637a29e3b0 ^[[00;36madmin admin]
^[[01;35mCAST unique_id: fa9e604328a445f39702e0089de0248a NOTIFY exchange
'nova' topic 'notifications.error'^[[00m ^[[00;33mfrom (pid=7061) _send
/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py
:546^[[00m^M
2017-12-14 02:56:06.236 DEBUG oslo_messaging._drivers.amqpdriver
[^[[01;36mreq-0949894a-1c03-4956-8582-49637a29e3b0 ^[[00;36madmin admin]
^[[01;35mCAST unique_id: 999c7e8ac35f4b9db809312ddccc8b7f NOTIFY exchange
'nova' topic 'versioned_notifications.error'^[[00m ^[[00;33mfrom (pid=7061)
_send
/usr/local/lib/python2.7/dist-packages/oslo_messaging/_drivers/amqpdriver.py
:546^[[00m^M
2017-12-14 02:56:06.238 ERROR nova.compute.manager
[^[[01;36mreq-0949894a-1c03-4956-8582-49637a29e3b0 ^[[00;36madmin admin]
^[[01;35m[instance: 8ed6476c-8c0c-4baf-b24f-8530feb836e7] Build of instance
8ed6476c-8c0c-4baf-b24f-8530feb836e7 aborted: Failed to allocate the
network(s), not rescheduling.^[[00m^M
2017-12-14 02:56:06.238 TRACE nova.compute.manager ^[[01;35m[instance:
8ed6476c-8c0c-4baf-b24f-8530feb836e7] ^[[00mTraceback (most recent call
last):^M
2017-12-14 02:56:06.238 TRACE nova.compute.manager ^[[01;35m[instance:
8ed6476c-8c0c-4baf-b24f-8530feb836e7] ^[[00m File
"/opt/stack/nova/nova/compute/manager.py", line 1788, in
_do_build_and_run_instance^M
2017-12-14 02:56:06.238 TRACE nova.compute.manager ^[[01;35m[instance:
8ed6476c-8c0c-4baf-b24f-8530feb836e7] ^[[00m return
build_results.FAILED^M
2017-12-14 02:56:06.238 TRACE nova.compute.manager ^[[01;35m[instance:
8ed6476c-8c0c-4baf-b24f-8530feb836e7] ^[[00m File
"/opt/stack/nova/nova/compute/manager.py", line 1998, in
_build_and_run_instance^M
2017-12-14 02:56:06.238 TRACE nova.compute.manager ^[[01;35m[instance:
8ed6476c-8c0c-4baf-b24f-8530feb836e7] ^[[00m msg = _('Failed to allocate
the network(s) with error %s, '^M
2017-12-14 02:56:06.238 TRACE nova.compute.manager ^[[01;35m[instance:
8ed6476c-8c0c-4baf-b24f-8530feb836e7] ^[[00mBuildAbortException: Build of
instance 8ed6476c-8c0c-4baf-b24f-8530feb836e7 aborted: Failed to allocate
the network(s), not rescheduling.^M
2017-12-14 02:56:06.238 TRACE nova.compute.manager ^[[01;35m[instance:
8ed6476c-8c0c-4baf-b24f-8530feb836e7] ^[[00m^M
2017-12-14 02:56:06.239 DEBUG nova.compute.manager
[^[[01;36mreq-0949894a-1c03-4956-8582-49637a29e3b0 ^[[00;36madmin admin]
^[[01;35m[instance: 8ed6476c-8c0c-4baf-b24f-8530feb836e7] Deallocating
network for instance^[[00m ^[[00;33mfrom (pid=7061) _deallocate_network
/opt/stack/nova/nova/compute/manager.py:1669^[[00m^M
2017-12-14 02:56:06.239 DEBUG nova.network.neutronv2.api
[^[[01;36mreq-0949894a-1c03-4956-8582-49637a29e3b0 ^[[00;36madmin admin]
^[[01;35m[instance: 8ed6476c-8c0c-4baf-b24f-8530feb836e7]
deallocate_for_instance()^[[00m ^[[00;33mfrom (pid=7061)
deallocate_for_instance
/opt/stack/nova/nova/network/neutronv2/api.py:1173^[[00m^M
2017-12-14 02:56:06.240 DEBUG keystoneauth1.session
[^[[01;36mreq-0949894a-1c03-4956-8582-49637a29e3b0 ^[[00;36madmin admin]
^[[01;35mauth_headers ----> {'X-Auth-Token':
u'gAAAAABaMlbpaJ9OocE4phmMPWC6eSmajqtx1id547QxiGEhxMlSddZRexD8TPPH4Il0n3mAem
xAWZVXXJeMDAb47ZIlf4YNogzUitsDgkR3-VRSNbB0MdpBFv3aO_aUv5ZBOe1__Ya_bJtW33-Qgl
QbeBqkUoUaQli8aMldZ_BhLBOsqFCYSIWXnd15z73p1j9hmcbxU3Mb'}^[[00m ^[[00;33mfrom
(pid=7061) request
/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py:492^[[00m^M
2017-12-14 02:56:06.240 WARNING keystoneauth1.session
[^[[01;36mreq-0949894a-1c03-4956-8582-49637a29e3b0 ^[[00;36madmin admin]
^[[01;35mquery_params --> {}^[[00m^M
2017-12-14 02:56:06.240 WARNING keystoneauth1.session
[^[[01;36mreq-0949894a-1c03-4956-8582-49637a29e3b0 ^[[00;36madmin admin]
^[[01;35murl -----::->
http://10.105.166.213:9696/v2.0/ports.json?device_id=8ed6476c-8c0c-4baf-b24f
-8530feb836e7^[[00m^M
<http://10.105.166.213:9696/v2.0/ports.json?device_id=8ed6476c-8c0c-4baf-b24
f-8530feb836e7%5e%5b%5b00m%5eM>
2017-12-14 02:56:06.241 WARNING keystoneauth1.session
[^[[01;36mreq-0949894a-1c03-4956-8582-49637a29e3b0 ^[[00;36madmin admin]
^[[01;35mBefore connection_params^[[00m^M
2017-12-14 02:56:06.241 WARNING keystoneauth1.session
[^[[01;36mreq-0949894a-1c03-4956-8582-49637a29e3b0 ^[[00;36madmin admin]
^[[01;35mAfter connection_params --> {}^[[00m^M
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20171215/c975d798/attachment.html>
More information about the Openstack
mailing list