not returning fixed IP allocation error

Bug #1807062 reported by krypto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenContrail
New
Undecided
Unassigned

Bug Description

Version: 4.1.0

Steps to Reproduce:
1.Create provider network,with following properties

Forwarding Mode: L2 only,
Disabled: DNS,DHCP,GW,Extend to DCGW

2. a. Allocate port with vnic_type direct,fixed_iP:172.16.78.1
   b. Allocate port with vnic_type direct,fixed_iP2:172.16.78.2
   c. Allocate port with vnic_type direct,fixed_iP3:172.16.78.3

Expected Result:
All ports with fixed IP allocated and is visible in neutron port-list and in contrail web-ui. Or show an error if fixed IP can't be allocated.

Actual Result:
No error for 2a,2b,2c but there is no fixed-IP against 2b (172.16.78.2)

neutron port-list --all |grep av556

| 66aca7f2-0dda-4f6c-b529-00b9ef8b376b | av556f3 | 02:66:ac:a7:f2:0d | {"subnet_id": "f3433e67-8f49-4eb0-bce4-e5ff2d832246", "ip_address": "172.16.78.3"} |
| 534993c5-d6be-4039-a077-d8354c9f154b | av556f | 02:53:49:93:c5:d6 | {"subnet_id": "f3433e67-8f49-4eb0-bce4-e5ff2d832246", "ip_address": "172.16.78.1"} |
| 19df52d6-c752-4fa0-b9d6-8e49c2eca86b | av556f2 | 02:19:df:52:d6:c7 | |

//Fixed IP missing//
neutron port-show av556f2

+-----------------------+---------------------------------------+
| Field | Value |
+-----------------------+---------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | |
| binding:vif_details | {"port_filter": true, "vlan": "1239"} |
| binding:vif_type | hw_veb |
| binding:vnic_type | direct |
| created_at | 2018-12-06T02:26:20.873792 |
| device_id | |
| device_owner | |
| fixed_ips | |
| id | 19df52d6-c752-4fa0-b9d6-8e49c2eca86b |
| mac_address | 02:19:df:52:d6:c7 |
| name | av556f2 |
| network_id | bc084bed-d1e3-422a-ab16-23034fc44da7 |
| port_security_enabled | True |
| security_groups | 59f5f4cf-3430-426e-934e-0719a647da95 |
| status | DOWN |
| tenant_id | ddee26701005442aa6508cc42ea45254 |
| updated_at | 2018-12-06T02:26:20.897952 |
+-----------------------+---------------------------------------+

Contrail web-ui

https://pasteboard.co/HQpseQp.png

krypto (kkrypto)
description: updated
description: updated
description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.