Created attachment 1163031 [details] binding secceeded controller Description of problem: [Neutron] - binding_failed when the binding:host_id is ip and not hostname. If installing the server in rhev with ip as the address instead a hostname(fqdn), and then trying to run VM using a neutron network, the binding failing and we can't get ip fron neutron's dhcp. Once installing the server with hostname and running the VM, binding succeeded and VM got ip from neutron's dhcp. Version-Release number of selected component (if applicable): 4.1.0-0.0.master.20160526111325.git538ad4f.el7.centos How reproducible: 100 Steps to Reproduce: Setup: - Install neutron external provider - Create network on the provider and import to rhev - Install neutron packages and vdsm-openstacknet-hook on the host 1. Install the host in rhev using the hostname as the address 2. Add vNIC with neutron's profile to a VM and run it - Remove the server 3. Install the host in rhev using an ip as the address 4. Run the VM Actual results: Step 2. binding succeeded, VM got ip --> da219d32-84e6-406a-9f7e-e7d7fa63e45f | nic1 | ACTIVE | oVirt | red-vds2.qa.lab.tlv.redhat.com admin_state_up | True | | allowed_address_pairs | | | binding:host_id | red-vds2.qa.lab.tlv.redhat.com | | binding:profile | {} | | binding:vif_details | {"port_filter": true, "ovs_hybrid_plug": true} | | binding:vif_type | ovs | | binding:vnic_type | normal | | device_id | 422adc9b-e0a8-463e-b998-ddfddc304ba0 | | device_owner | oVirt | | dns_assignment | {"hostname": "host-12-0-0-20", "ip_address": "12.0.0.20", "fqdn": "host-12-0-0-20.openstacklocal."} - Step 4 --> binding failed and vm didn't get the ip 16caf482-ac4e-40a8-b364-b9c48b38900d | nic1 | DOWN | oVirt | 10.35.128.9 admin_state_up | True | | allowed_address_pairs | | | binding:host_id | 10.35.128.9 | | binding:profile | {} | | binding:vif_details | {} | | binding:vif_type | binding_failed | | binding:vnic_type | normal | | device_id | 422adc9b-e0a8-463e-b998-ddfddc304ba0 | | device_owner | oVirt | | dns_assignment | {"hostname": "host-12-0-0-14", "ip_address": "12.0.0.14", "fqdn": "host-12-0-0-14.openstacklocal."} Expected results: Should work with ip and hostname as the address of the host. Additional info:
Created attachment 1163032 [details] binding secceeded compute
Created attachment 1163033 [details] binding failed controller
Created attachment 1163034 [details] binding failed compute
Created attachment 1163035 [details] engine log
We support adding host FQDN, not IP. Therefore please move to use that in testing.