Instance failed network setup after 1 attempt(s) & Instance failed to spawn

asked 2015-12-24 20:21:45 -0500

Xiaochen Zhang gravatar image

I have followed the instructions of the official installation guide of openstack juno step by step and installed it on a single server with four virtual machine nodes(one controller one network(neutron) and two compute nodes). Even though the process is very frustrated but I made it.nova service-list shows every service work well. But when launching an instance, it failed with error. Here's the nova-compute.log in compute node. Someone please help me cause it has puzzled me for a week without any solution. Thanks :-)

2015-12-23 22:14:47.373 16735 AUDIT nova.compute.resource_tracker [-] Auditing locally available compute resources
2015-12-23 22:14:47.671 16735 AUDIT nova.compute.resource_tracker [-] Free ram (MB): 7473
2015-12-23 22:14:47.671 16735 AUDIT nova.compute.resource_tracker [-] Free disk (GB): 484
2015-12-23 22:14:47.672 16735 AUDIT nova.compute.resource_tracker [-] Free VCPUS: 2
2015-12-23 22:14:47.704 16735 INFO nova.compute.resource_tracker [-] Compute_service record updated for fnl-compute1:fnl-compute1
2015-12-23 22:15:22.393 16735 INFO oslo.messaging._drivers.impl_rabbit [-] Connected to AMQP server on fnl-control:5672
2015-12-23 22:15:22.421 16735 AUDIT nova.compute.manager [req-0eb16399-0b73-486e-b028-4250abe792df 1e84073478b340c89b915fecbc46a2ea beb8e066fb5f402f8c9aecc127b3d331] [instance: f5d38076-b127-4369-8b12-7faa37bab153] Starting instance...
2015-12-23 22:15:22.543 16735 AUDIT nova.compute.claims [-] [instance: f5d38076-b127-4369-8b12-7faa37bab153] Attempting claim: memory 512 MB, disk 1 GB, VCPUs 1
2015-12-23 22:15:22.544 16735 AUDIT nova.compute.claims [-] [instance: f5d38076-b127-4369-8b12-7faa37bab153] Total memory: 7985 MB, used: 512.00 MB
2015-12-23 22:15:22.545 16735 AUDIT nova.compute.claims [-] [instance: f5d38076-b127-4369-8b12-7faa37bab153] memory limit: 11977.50 MB, free: 11465.50 MB
2015-12-23 22:15:22.545 16735 AUDIT nova.compute.claims [-] [instance: f5d38076-b127-4369-8b12-7faa37bab153] Total disk: 484 GB, used: 0.00 GB
2015-12-23 22:15:22.546 16735 AUDIT nova.compute.claims [-] [instance: f5d38076-b127-4369-8b12-7faa37bab153] disk limit not specified, defaulting to unlimited
2015-12-23 22:15:22.546 16735 AUDIT nova.compute.claims [-] [instance: f5d38076-b127-4369-8b12-7faa37bab153] Total CPUs: 2 VCPUs, used: 0.00 VCPUs
2015-12-23 22:15:22.547 16735 AUDIT nova.compute.claims [-] [instance: f5d38076-b127-4369-8b12-7faa37bab153] CPUs limit not specified, defaulting to unlimited
2015-12-23 22:15:22.547 16735 AUDIT nova.compute.claims [-] [instance: f5d38076-b127-4369-8b12-7faa37bab153] Claim successful
2015-12-23 22:15:22.813 16735 ERROR nova.compute.manager [-] Instance failed network setup after 1 attempt(s)
2015-12-23 22:15:22.813 16735 TRACE nova.compute.manager Traceback (most recent call last):
2015-12-23 22:15:22.813 16735 TRACE nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/compute/manager.py", line 1587, in _allocate_network_async
2015-12-23 22:15:22.813 16735 TRACE nova.compute.manager     dhcp_options=dhcp_options)
2015-12-23 22:15:22.813 16735 TRACE nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 237, in allocate_for_instance
2015-12-23 22:15:22.813 16735 TRACE nova.compute.manager     dhcp_options=dhcp_options)
2015-12-23 22:15:22.813 16735 TRACE nova.compute.manager   File "/usr/lib/python2.7/dist-packages/nova/network/neutronv2/api.py", line 237, in allocate_for_instance
2015-12-23 22:15:22.813 16735 TRACE nova.compute.manager     for network_id, fixed_ip, port_id in requested_networks:
2015-12-23 22:15 ...
(more)
edit retag flag offensive close merge delete