Wrong ``binding_host_id`` on neutron ports when deployed in container on metal with multiple NICs and spaces
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Octavia Charm |
Fix Released
|
Critical
|
Frode Nordahl |
Bug Description
$ openstack port show ea5ec95f-
+------
| Field | Value |
+------
| admin_state_up | UP |
| allowed_
| binding_host_id | eth3 |
| binding_profile | |
| binding_vif_details | |
| binding_vif_type | binding_failed |
| binding_vnic_type | normal |
| created_at | 2019-04-
| data_plane_status | None |
| description | |
| device_id | |
| device_owner | Octavia:health-mgr |
| dns_assignment | fqdn='host-
| dns_domain | |
| dns_name | |
| extra_dhcp_opts | |
| fixed_ips | ip_address=
| id | ea5ec95f-
| mac_address | fa:16:3e:d5:e8:a8 |
| name | octavia-
| network_id | fbbd96ee-
| port_security_
| project_id | 4922384865774b7
| qos_policy_id | None |
| revision_number | 41 |
| security_group_ids | b4c32449-
| status | DOWN |
| tags | charm-octavia, charm-octavia-
| trunk_details | None |
| updated_at | 2019-04-
+------
$ juju run --unit octavia/6 'unit-get private-address'
192.168.100.181
$ host 192.168.100.181
eth3.juju-
$ neutron agent-list
xxx | Open vSwitch agent | juju-e7f05f-
tags: | added: atos |
summary: |
- Wrong ``binding_host_id`` on neutron ports when in a HA setup + Wrong ``binding_host_id`` on neutron ports when deployed in container on + metal with multiple NICs |
summary: |
Wrong ``binding_host_id`` on neutron ports when deployed in container on - metal with multiple NICs + metal with multiple NICs and spaces |
Changed in charm-octavia: | |
milestone: | none → 19.04 |
Changed in charm-octavia: | |
status: | Fix Committed → Fix Released |
This is the culprit: /github. com/openstack/ charm-octavia/ blob/a7cd44e9b5 9d95eb4ff1f6f2c 56d3cda68929212 /src/lib/ charm/openstack /api_crud. py#L215
https:/
We need to look at what the neutron-openvswitch agent does to determine hostname and replicate that in the octavia charm.