Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

nova boot error failed to allocate the networks not scheduling

hi I installed openstack kilo on suse 12 SP0 with flat network. All services running, nova, neutron, glance, cinder (local disk) and cirros image available. From nuetron i have dhcp iP is listen from my network where i can reach the port: qdhcp ip and all looks good but when i spin up cirros image from nova, i get this error.

Fyi, I use KVM and cofigured on NOVA.

--------error------

message": "Build of instance 2309bbb3-25c2-496a-9eeb-3ab7deb208b3 aborted: Failed to allocate the network(s), not rescheduling.", "code": 500, "details": " File \"/usr/lib/python2.7/site-packages/nova/compute/manager.py\", line 2248, in _do_build_and_run_instance

i found lot of related to this error, however they are not very clear. could some one thorugh any information how to fix this.

here are attached nova.conf nuetron.conf ,

------------nova.conf---- [DEFAULT] verbose = True log_dir = /var/log/nova connection_type = libvirt compute_driver = libvirt.LibvirtDriver image_service = nova.image.glance.GlanceImageService volume_api_class = nova.volume.cinder.API auth_strategy = keystone network_api_class = nova.network.neutronv2.api.API bindir = /usr/local/bin state_path = /var/lib/nova lock_path = /var/run/nova service_neutron_metadata_proxy = True security_group_api = neutron rabbit_host = 10.76.8.95 rabbit_userid = osrabbit rabbit_password = openstack_rabbit notification_driver = nova.openstack.common.notifier.rpc_notifier, ceilometer.compute.nova_notifier my_ip = 10.76.8.95 host = ld7035 notify_on_state_change = vm_and_task_state instance_usage_audit_period = hour enable_network_quota = True use_neutron_default_nets = True instance_usage_audit = True resume_guests_state_on_host_boot = True s3_host = $my_ip linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver network_size = 256 debug = False log_file = nova.log cinder_catalog_info = volumev2:cinderv2:internalURL firewall_driver = nova.virt.firewall.NoopFirewallDriver novncproxy_base_url = http://10.76.8.95:6080/vnc_auto.html vncserver_listen = 127.0.0.1 vncserver_proxyclient_address = 127.0.0.1 vnc_enabled = true volume_manager = cinder.volume.manager.VolumeManager [neutron] admin_username = neutron s3_host = $my_ip linuxnet_interface_driver = nova.network.linux_net.LinuxOVSInterfaceDriver network_size = 256 debug = False log_file = nova.log cinder_catalog_info = volumev2:cinderv2:internalURL firewall_driver = nova.virt.firewall.NoopFirewallDriver novncproxy_base_url = http://10.76.8.95:6080/vnc_auto.html vncserver_listen = 127.0.0.1 vncserver_proxyclient_address = 127.0.0.1 vnc_enabled = true volume_manager = cinder.volume.manager.VolumeManager

[neutron] admin_username = neutron admin_password = openstack_neutron admin_tenant_name = service admin_auth_url = http://localhost:5000/v2.0 auth_strategy = keystone metadata_proxy_shared_secret = metadata_secret url = http://10.76.8.95:9696 ovs_bridge = br-int

[database] connection = mysql://nova:openstack_nova@localhost/nova?unix_socket=/var/run/mysql/mysql.sock

[keystone_authtoken] signing_dir = /var/cache/nova/keystone-signing admin_tenant_name = service admin_user = nova admin_password = openstack_nova

[conductor] use_local = true

[libvirt] virt_type = kvm kvmvif_driver = nova.virt.libvirt.vif.LibvirtHybridOVSBridgeDriver

[osapi_v3]

enabled = true

-----------nuetron.conf------- [DEFAULT] verbose = True core_plugin = neutron.plugins.ml2.plugin.Ml2Plugin service_plugins = neutron.services.l3_router.l3_router_plugin.L3RouterPlugin state_path = /var/lib/neutron log_dir = /var/log/neutron lock_path = /var/run/neutron allow_overlapping_ips = True force_gateway_on_subnet = False rabbit_host = 10.76.8.95 rabbit_userid = osrabbit rabbit_password = openstack_rabbit notification_driver = neutron.openstack.common.notifier.rpc_notifier router_distributed = False agent_down_time = 60 notify_nova_on_port_status_changes = True notify_nova_on_port_data_changes = True nova_url = http://10.76.8.95:8774/v2 nova_admin_username = nova nova_admin_tenant_id = d0c7d6b7ac974444ae0a3af87298ba74 nova_admin_password = openstack_nova nova_admin_auth_url = http://10.76.8.95:35357/v2.0/

# Print more verbose output (set logging level to INFO instead of default WARNING level).