← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1520636] [NEW] No valid host was found when creating VM attached to external network

 

You have been subscribed to a public bug:

Hi,

I am using OS R Juno on Linux,  When creating a VM attached to internal network there is no problem at all., when attaching the VM to the external network i see "No valid host was found" , the int and tun bridges between neutron and compute node are fine, the dhcp agent and all services are up and running,  nova logs shows the errors below :
[ my network topology are 3 nodes architecture based as shown on Juno installation guide, i am wondering if there is something wrong using direct interface between ext-network and the VM without passing through the router ? do openstack have issues on this?)


2015-11-27 10:54:25.895 1521 AUDIT nova.compute.claims [-] [instance: fc49216d-03a2-44d2-a86f-582c942fa211] Attempting claim: memory 512 MB, disk 1 GB
2015-11-27 10:54:25.896 1521 AUDIT nova.compute.claims [-] [instance: fc49216d-03a2-44d2-a86f-582c942fa211] Total memory: 23932 MB, used: 1536.00 MB
2015-11-27 10:54:25.896 1521 AUDIT nova.compute.claims [-] [instance: fc49216d-03a2-44d2-a86f-582c942fa211] memory limit: 35898.00 MB, free: 34362.00 MB
2015-11-27 10:54:25.896 1521 AUDIT nova.compute.claims [-] [instance: fc49216d-03a2-44d2-a86f-582c942fa211] Total disk: 457 GB, used: 2.00 GB
2015-11-27 10:54:25.896 1521 AUDIT nova.compute.claims [-] [instance: fc49216d-03a2-44d2-a86f-582c942fa211] disk limit not specified, defaulting to unlimited
2015-11-27 10:54:25.910 1521 AUDIT nova.compute.claims [-] [instance: fc49216d-03a2-44d2-a86f-582c942fa211] Claim successful
2015-11-27 10:54:26.014 1521 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute1-gsd', 'compute1-gsd')
2015-11-27 10:54:26.142 1521 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute1-gsd', 'compute1-gsd')
2015-11-27 10:54:26.524 1521 INFO nova.virt.libvirt.driver [-] [instance: fc49216d-03a2-44d2-a86f-582c942fa211] Creating image
2015-11-27 10:54:26.727 1521 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute1-gsd', 'compute1-gsd')
2015-11-27 10:54:29.278 1521 WARNING nova.virt.disk.vfs.guestfs [-] Failed to close augeas aug_close: do_aug_close: you must call 'aug-init' first to initialize Augeas
2015-11-27 10:54:29.337 1521 ERROR nova.compute.manager [-] [instance: fc49216d-03a2-44d2-a86f-582c942fa211] Instance failed to spawn
2015-11-27 10:54:29.337 1521 TRACE nova.compute.manager [instance: fc49216d-03a2-44d2-a86f-582c942fa211] Traceback (most recent call last):
2015-11-27 10:54:29.337 1521 TRACE nova.compute.manager [instance: fc49216d-03a2-44d2-a86f-582c942fa211]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2246, in _build_resources
2015-11-27 10:54:29.337 1521 TRACE nova.compute.manager [instance: fc49216d-03a2-44d2-a86f-582c942fa211]     yield resources
2015-11-27 10:54:29.337 1521 TRACE nova.compute.manager [instance: fc49216d-03a2-44d2-a86f-582c942fa211]   File "/usr/lib/python2.7/site-packages/nova/compute/manager.py", line 2116, in _build_and_run_instance
2015-11-27 10:54:29.337 1521 TRACE nova.compute.manager [instance: fc49216d-03a2-44d2-a86f-582c942fa211]     block_device_info=block_device_info)
2015-11-27 10:54:29.337 1521 TRACE nova.compute.manager [instance: fc49216d-03a2-44d2-a86f-582c942fa211]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 2620, in spawn
2015-11-27 10:54:29.337 1521 TRACE nova.compute.manager [instance: fc49216d-03a2-44d2-a86f-582c942fa211]     write_to_disk=True)
2015-11-27 10:54:29.337 1521 TRACE nova.compute.manager [instance: fc49216d-03a2-44d2-a86f-582c942fa211]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 4159, in _get_guest_xml
2015-11-27 10:54:29.337 1521 TRACE nova.compute.manager [instance: fc49216d-03a2-44d2-a86f-582c942fa211]     context)
2015-11-27 10:54:29.337 1521 TRACE nova.compute.manager [instance: fc49216d-03a2-44d2-a86f-582c942fa211]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/driver.py", line 3937, in _get_guest_config
2015-11-27 10:54:29.337 1521 TRACE nova.compute.manager [instance: fc49216d-03a2-44d2-a86f-582c942fa211]     flavor, CONF.libvirt.virt_type)
2015-11-27 10:54:29.337 1521 TRACE nova.compute.manager [instance: fc49216d-03a2-44d2-a86f-582c942fa211]   File "/usr/lib/python2.7/site-packages/nova/virt/libvirt/vif.py", line 352, in get_config
2015-11-27 10:54:29.337 1521 TRACE nova.compute.manager [instance: fc49216d-03a2-44d2-a86f-582c942fa211]     _("Unexpected vif_type=%s") % vif_type)
2015-11-27 10:54:29.337 1521 TRACE nova.compute.manager [instance: fc49216d-03a2-44d2-a86f-582c942fa211] NovaException: Unexpected vif_type=binding_failed
2015-11-27 10:54:29.337 1521 TRACE nova.compute.manager [instance: fc49216d-03a2-44d2-a86f-582c942fa211]
2015-11-27 10:54:29.338 1521 AUDIT nova.compute.manager [req-a60a798c-a8a5-43d2-bc45-476feb81a04b None] [instance: fc49216d-03a2-44d2-a86f-582c942fa211] Terminating instance
2015-11-27 10:54:29.340 1521 WARNING nova.virt.libvirt.driver [-] [instance: fc49216d-03a2-44d2-a86f-582c942fa211] During wait destroy, instance disappeared.
2015-11-27 10:54:29.552 1521 INFO nova.virt.libvirt.driver [-] [instance: fc49216d-03a2-44d2-a86f-582c942fa211] Deleting instance files /var/lib/nova/instances/fc49216d-03a2-44d2-a86f-582c942fa211_del
2015-11-27 10:54:29.553 1521 INFO nova.virt.libvirt.driver [-] [instance: fc49216d-03a2-44d2-a86f-582c942fa211] Deletion of /var/lib/nova/instances/fc49216d-03a2-44d2-a86f-582c942fa211_del complete
2015-11-27 10:54:29.652 1521 INFO nova.scheduler.client.report [-] Compute_service record updated for ('compute1-gsd', 'compute1-gsd')
^C


Noura Daadaa

** Affects: neutron
     Importance: Undecided
         Status: Won't Fix

-- 
No valid host was found when creating VM attached to external network 
https://bugs.launchpad.net/bugs/1520636
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron.


References