the errors I found are these:
nova-scheduler.log
2015-04-21 11:18:03.540 30016 AUDIT nova.service [-] Starting
scheduler node (version 2014.2.2-1.el7)
2015-04-21 11:18:04.137 30016 INFO oslo.messaging._drivers.impl_rabbit
[req-cb56623e-2b4c-4081-a3bd-b82f4550cf50 ] Connecting to AMQP server
on 192.168.2.34:5672
2015-04-21 11:18:04.154 30016 INFO oslo.messaging._drivers.impl_rabbit
[req-cb56623e-2b4c-4081-a3bd-b82f4550cf50 ] Connected to AMQP server
on 192.168.2.34:5672
2015-04-21 11:54:31.839 30016 INFO oslo.messaging._drivers.impl_rabbit
[req-1c90a911-f0f2-4516-967d-5250f0dff88a ] Connecting to AMQP server
on 192.168.2.34:5672
2015-04-21 11:54:31.856 30016 INFO oslo.messaging._drivers.impl_rabbit
[req-1c90a911-f0f2-4516-967d-5250f0dff88a ] Connected to AMQP server
on 192.168.2.34:5672
2015-04-21 12:00:51.494 30016 WARNING nova.scheduler.host_manager
[req-5e515beb-e6dc-4058-b66e-e49506f75d82 None] Host has more disk
space than database expected (1797gb > 1759gb)
2015-04-21 12:03:42.812 30016 WARNING nova.scheduler.host_manager
[req-576f5647-e124-463f-856e-a00155c52c4e None] Host has more disk
space than database expected (1716gb > 1679gb)
2015-04-21 12:03:42.820 30016 INFO nova.filters
[req-576f5647-e124-463f-856e-a00155c52c4e None] Filter RamFilter
returned 0 hosts
2015-04-21 12:06:56.411 30016 WARNING nova.scheduler.host_manager
[req-67d189e3-6a14-4335-878a-f77cd2976b29 None] Host has more disk
space than database expected (1654gb > 1579gb)
2015-04-21 13:42:26.111 30016 WARNING nova.scheduler.host_manager
[req-bf732df1-eeea-45be-97fb-27139a7f13ac None] Host has more disk
space than database expected (1654gb > 1578gb)
2015-04-21 13:48:48.034 30016 WARNING nova.scheduler.host_manager
[req-3d3635cf-2000-49c5-992f-cf24feeb4f4f None] Host has more disk
space than database expected (1653gb > 1579gb)
2015-04-21 14:14:48.326 30016 WARNING nova.scheduler.host_manager
[req-c04d4b82-ff71-45a0-be26-2cacbcdba633 None] Host has more disk
space than database expected (1716gb > 1679gb)
2015-04-21 14:14:48.672 30016 INFO nova.filters
[req-c04d4b82-ff71-45a0-be26-2cacbcdba633 None] Filter RetryFilter
returned 0 hosts
2015-04-21 14:15:14.627 30016 WARNING nova.scheduler.host_manager
[req-dcd3a6ef-eaba-41b0-8bf6-ebb3691c7b41 None] Host has more disk
space than database expected (1653gb > 1579gb)
2015-04-21 14:43:58.949 30016 WARNING nova.scheduler.host_manager
[req-6c08dee0-2eb2-47d7-a3d1-6c70d9094f58 None] Host has more disk
space than database expected (1653gb > 1579gb)
nova-compute.log
2015-04-21 14:49:05.018 7743 *ERROR* nova.compute.manager [-] [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] Instance failed to spawn
2015-04-21 14:49:05.018 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] Traceback (most recent call last):
2015-04-21 14:49:05.018 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] File
"/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2246, in
_build_resources
2015-04-21 14:49:05.018 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] yield resources
2015-04-21 14:49:05.018 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] File
"/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2116, in
_build_and_run_instance
2015-04-21 14:49:05.018 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52]
block_device_info=block_device_info)
2015-04-21 14:49:05.018 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] File
"/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2622,
in spawn
2015-04-21 14:49:05.018 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] block_device_info,
disk_info=disk_info)
2015-04-21 14:49:05.018 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] File
"/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4446,
in _create_domain_and_network
2015-04-21 14:49:05.018 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] raise
exception.VirtualInterfaceCreateException()
2015-04-21 14:49:05.018 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] VirtualInterfaceCreateException:
Virtual Interface creation failed
2015-04-21 14:49:05.018 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52]
2015-04-21 14:49:05.018 7743 AUDIT nova.compute.manager
[req-6c08dee0-2eb2-47d7-a3d1-6c70d9094f58 None] [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] Terminating instance
2015-04-21 14:49:05.027 7743 WARNING nova.virt.libvirt.driver [-]
[instance: 6d4a32d5-ac96-4143-8f09-fc16f149db52] During wait destroy,
instance disappeared.
2015-04-21 14:49:05.171 7743 INFO nova.virt.libvirt.driver [-] [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] Deletion of
/var/lib/nova/instances/6d4a32d5-ac96-4143-8f09-fc16f149db52_del complete
2015-04-21 14:49:05.268 7743 INFO nova.scheduler.client.report [-]
Compute_service record updated for ('localhost.localdomain',
'localhost.localdomain')
2015-04-21 14:49:05.268 7743 *ERRO*R nova.compute.manager [-] [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] Failed to allocate network(s)
2015-04-21 14:49:05.268 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] Traceback (most recent call last):
2015-04-21 14:49:05.268 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] File
"/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2116, in
_build_and_run_instance
2015-04-21 14:49:05.268 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52]
block_device_info=block_device_info)
2015-04-21 14:49:05.268 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] File
"/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2622,
in spawn
2015-04-21 14:49:05.268 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] block_device_info,
disk_info=disk_info)
2015-04-21 14:49:05.268 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] File
"/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4446,
in _create_domain_and_network
2015-04-21 14:49:05.268 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] raise
exception.VirtualInterfaceCreateException()
2015-04-21 14:49:05.268 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] VirtualInterfaceCreateException:
Virtual Interface creation failed
2015-04-21 14:49:05.268 7743 TRACE nova.compute.manager [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52]
2015-04-21 14:49:05.273 7743 *ERROR *nova.compute.manager [-] [instance:
6d4a32d5-ac96-4143-8f09-fc16f149db52] Build of instance
6d4a32d5-ac96-4143-8f09-fc16f149db52 aborted: Failed to allocate the
network(s), not rescheduling.
2015-04-21 16:32 GMT+02:00 Lars Kellogg-Stedman <lars(a)redhat.com>:
On Tue, Apr 21, 2015 at 03:00:54PM +0200, pauline phaure wrote:
> I try to do it with a small instance I have the error *Failed to allocate
> the network(s),* not rescheduling. any ideas that might help me??
Are there any errors that crop up in the service logs when you try to
launch an instance? I would start by watching both the nova-scheduler
and nova-compute logs when you boot an instance.
--
Lars Kellogg-Stedman <lars(a)redhat.com> | larsks @
{freenode,twitter,github}
Cloud Engineering / OpenStack |
http://blog.oddbit.com/