Bug 1341017 - [Neutron] - binding_failed when the binding:host_id is ip and not hostname
Summary: [Neutron] - binding_failed when the binding:host_id is ip and not hostname
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: 4.0.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
: ---
Assignee: Dan Kenigsberg
QA Contact: Meni Yakove
URL:
Whiteboard:
Depends On:
Blocks: 1316049
TreeView+ depends on / blocked
 
Reported: 2016-05-31 06:08 UTC by Michael Burman
Modified: 2016-06-01 09:46 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-01 09:46:11 UTC
oVirt Team: Network
Embargoed:
mburman: planning_ack?
mburman: devel_ack?
mburman: testing_ack?


Attachments (Terms of Use)
binding secceeded controller (262.70 KB, application/x-gzip)
2016-05-31 06:08 UTC, Michael Burman
no flags Details
binding secceeded compute (196.44 KB, application/x-gzip)
2016-05-31 06:10 UTC, Michael Burman
no flags Details
binding failed controller (262.37 KB, application/x-gzip)
2016-05-31 06:10 UTC, Michael Burman
no flags Details
binding failed compute (197.01 KB, application/x-gzip)
2016-05-31 06:11 UTC, Michael Burman
no flags Details
engine log (588.14 KB, application/x-gzip)
2016-05-31 06:11 UTC, Michael Burman
no flags Details

Description Michael Burman 2016-05-31 06:08:38 UTC
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:

Comment 1 Michael Burman 2016-05-31 06:10:01 UTC
Created attachment 1163032 [details]
binding secceeded compute

Comment 2 Michael Burman 2016-05-31 06:10:34 UTC
Created attachment 1163033 [details]
binding failed controller

Comment 3 Michael Burman 2016-05-31 06:11:02 UTC
Created attachment 1163034 [details]
binding failed compute

Comment 4 Michael Burman 2016-05-31 06:11:26 UTC
Created attachment 1163035 [details]
engine log

Comment 5 Yaniv Lavi 2016-06-01 09:46:11 UTC
We support adding host FQDN, not IP. Therefore please move to use that in testing.


Note You need to log in before you can comment on or make changes to this bug.