For a port having two ips, VM UVE shows only one of the IPs
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
High
|
Ashok Singh |
Bug Description
R3.1
A VM has two IPs from two subnets of the same VN.
But the VM's uve shows only one of these IPs as the VMs IP.
The VM fixture verification tests fail due to this.
| 9d58a4bb-
root@nodec1:~# neutron port-show f1fa8c3c-
+------
| Field | Value |
+------
| admin_state_up | True |
| binding:host_id | nodek1 |
| binding:vif_details | {"port_filter": true} |
| binding:vif_type | vrouter |
| binding:vnic_type | normal |
| device_id | 9d58a4bb-
| device_owner | compute:nova |
| fixed_ips | {"subnet_id": "50118119-
| | {"subnet_id": "0d816c2d-
| id | f1fa8c3c-
| mac_address | 02:f1:fa:8c:3c:34 |
| name | f1fa8c3c-
| network_id | 624a1df0-
| security_groups | 8cbc7bbd-
| status | ACTIVE |
| tenant_id | 8b407660dde1495
+------
root@nodec1:~#
UVE :
{
UveVMInterfaceA
vm_name: "ctest-
active: true,
in_bw_usage: 462,
virtual_network: "default-
uuid: "f1fa8c3c-
out_bw_usage: 227,
ip6_active: false,
label: 17,
if_stats: {
out_bytes: 852,
in_pkts: 16,
out_pkts: 6,
in_bytes: 1734
},
is_health_
ip4_active: true,
port_bucket_bmap: {
udp_sport_bitmap: [
"1",
"0",
"0",
"0",
"671105032",
"4064648",
"671285890",
"2580"
],
tcp_dport_bitmap: [
"1",
"0",
"0",
"0",
"0",
"0",
"2048",
"0"
],
tcp_sport_bitmap: [
"1",
"0",
"0",
"0",
"0",
"0",
"2048",
"4096"
],
udp_dport_bitmap: [
"1",
"0",
"0",
"0",
"0",
"0",
"0",
"0"
]
},
vm_uuid: "9d58a4bb-
mac_address: "02:f1:
if_out_pkts_ewm: {
config: "0.2",
state: {
stddev: "0.845556",
mean: "6.49921"
},
sigma: -0.590395,
algo: "EWM",
samples: 1205
},
ip6_address: "::",
l2_active: true,
ip_address: "205.250.212.5",
gateway: "205.250.212.1",
sg_rule_stats: [
{
count: 0,
rule: "00000000-
},
{
count: 2,
rule: "00000000-
},
{
count: 0,
rule: "00000000-
}
],
if_in_pkts_ewm: {
config: "0.2",
state: {
stddev: "1.56381",
mean: "16.911"
},
sigma: -0.582551,
algo: "EWM",
samples: 1205
}
}
}
Review in progress for https:/ /review. opencontrail. org/24035
Submitter: Ashok Singh (<email address hidden>)