Old IP address remained even instance-ip was updated
Bug #1526260 reported by
Daisuke Nakajima
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
Medium
|
Sachin Bansal | |||
R3.0 |
Fix Committed
|
Medium
|
Sachin Bansal | |||
Trunk |
Fix Committed
|
Medium
|
Sachin Bansal |
Bug Description
Old IP address remained even instance-ip was updated,so there were two IP address in a tap interface. Then Virtual-machine did not get New IP address by DHCP.
How to reproduce:
1) Create Virtual-machine.
2) Delete instance-IP attached to Virtual-machine
3) Create instance-IP of New IP address
please see Snh_Inet4UcRout
Analytics UVE shows the old IP address (10.1.1.5).
./Contrail_json.py -P 8081 -d "analytics/ uves/virtual- machine- interface/ default- domain: vyatta: 3482dada- de83-44c0- 8132-37348051dc 35?flat" faceAgent" : {
"in_ bw_usage" : 0,
"in_ bytes": 0,
"in_ pkts": 0,
"out_ bw_usage" : 0,
"out_ bytes": 0,
"out_ pkts": 0
"ip4_active" : true,
"ip6_active" : false,
"ip6_address" : "::",
"ip_address" : "10.1.1.5",
"l2_active" : true,
"mac_address" : "02:34: 82:da:da: de",
"port_ bucket_ bmap": {
"tcp_ dport_bitmap" : [
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"tcp_ sport_bitmap" : [
"0",
"0",
"0",
"0",
"0",
"0",
"0",
"udp_ dport_bitmap" : [
"1",
"0",
"0",
"0",
"0",
"0",
"0",
"udp_ sport_bitmap" : [
"1",
"0",
"0",
"0",
"277119744" ,
"931463168" ,
"2186384641" ,
"128" de83-44c0- 8132-37348051dc 35",
"virtual_ network" : "default- domain: vyatta: vyatta- vn1", c242-4d78- 9263-0f6b1932d3 2b"
{
"UveVMInter
"active": true,
"gateway": "10.1.1.1",
"if_stats": {
},
"label": 25,
"0"
],
"0"
],
"0"
],
]
},
"uuid": "3482dada-
"vm_name": "ipchang1",
"vm_uuid": "be8bbbe0-
}
}
root@contrail- 01:~/Document# nova list ------- ------- ------- ------- ----+-- ------- -+----- ---+--- ------- --+---- ------- --+---- ------- ------- ----+ ------- ------- ------- ------- ----+-- ------- -+----- ---+--- ------- --+---- ------- --+---- ------- ------- ----+ c242-4d78- 9263-0f6b1932d3 2b | ipchang1 | ACTIVE | - | Running | vyatta- vn1=10. 1.1.15 | 7dd6-491c- a90d-0a6e3f6d38 68 | vyos1 | ACTIVE | - | Running | vyatta-vn1=10.1.1.3 | 9dda-453b- b298-350e705004 5b | vyos2 | ACTIVE | - | Running | vyatta-vn1=10.1.1.4 | ------- ------- ------- ------- ----+-- ------- -+----- ---+--- ------- --+---- ------- --+---- ------- ------- ----+
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| be8bbbe0-
| 9de2eb77-
| 004e874c-
+------
10.1.1.3/32 32 PT - 21 2:cc:e9: 56:63:7f( 231784) 3:e2:d0( 88180) da:da:de( 64596) <<<<<
10.1.1.4/32 32 LP 23 28 2:e4:f3:
10.1.1.5/32 32 P - 32 2:34:82:
10.1.1.6/32 24 TF - 1 -
10.1.1.7/32 24 TF - 1 -
10.1.1.8/32 24 TF - ...