[Mainline-Build 2704]: UI- changing protocol based flow aging timeout to 0 deletes the entry from agent
Bug #1539451 reported by
alok kumar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R3.0 |
Won't Fix
|
Medium
|
jayaramsatya | |||
R3.1 |
Won't Fix
|
Medium
|
jayaramsatya | |||
Trunk |
New
|
Medium
|
jayaramsatya |
Bug Description
steps-
1. configure flow aging as below, it gets saved as expected and same is reflected is agent introspect.
Protocol: TCP, Port: 10000, Timeout: 10 seconds
2. now change the above entry timeout value to 0 and save. UI shows the configuration with timeout 0, but from agent actually it gets deleted.
similar issue is observed while adding new entry with timeout 0, it gets saved in UI but could not see this entry in agent.
tags: | added: blocker |
tags: | removed: blocker |
tags: | added: config vrouter |
information type: | Proprietary → Public |
tags: | removed: ui |
To post a comment you must log in.
UI sends correct data and it is reflected in API Server also,
I set 0 from UI and I see the value is set properly, aging_timeout" : [{"timeout_ in_seconds" : 0, "protocol": "tcp", "port": 678}]},
{"flow_
And whole dump for global- vrouter- config
root@nodeg16:~# curl -u admin:contrail123 localhost: 8095/global- vrouter- config/ 3bc29af9- b0b2-4c75- b429-5d40ee6ce8 6f vrouter- config" : {"ecmp_ hashing_ include_ fields" : {"destination_ip": true, "ip_protocol": true, "source_ip": true, "source_mac": true, "source_port": true, "destination_port": true, "destination_mac": true}, "flow_aging_ timeout_ list": {"flow_ aging_timeout" : [{"timeout_ in_seconds" : 0, "protocol": "tcp", "port": 678}]}, "parent_uuid": "fdd701f2- bdca-4556- 9a48-04e1fabf41 e3", "display_name": "default- global- vrouter- config" , "parent_href": "http:// localhost: 8095/global- system- config/ fdd701f2- bdca-4556- 9a48-04e1fabf41 e3", "parent_type": "global- system- config" , "href": "http:// localhost: 8095/global- vrouter- config/ 3bc29af9- b0b2-4c75- b429-5d40ee6ce8 6f", "id_perms": {"enable": true, "description": null, "created": "2016-01- 31T05:23: 08.496448" , "creator": null, "uuid": {"uuid_mslong": 430617459092162 4693, "uuid_lslong": 129820099343315 70287}, "user_visible": true, "last_modified": "2016-01- 31T07:36: 11.543202" , "permissions": {"owner": "admin", "owner_access": 7, "other_access": 7, "group": "KeystoneServic eAdmin" , "group_access": 7}}, "vxlan_ network_ identifier_ mode": "automatic", "name": "default- global- vrouter- config" , "forwarding_mode": null, "fq_name": ["default- global- system- config" , "default- global- vrouter- config" ], "uuid": "3bc29af9- b0b2-4c75- b429-5d40ee6ce8 6f", "linklocal_ services" : {"linklocal_ service_ entry": [{"linklocal_ service_ name": "metadata", "ip_fabric_ service_ ip": ["10.204.217.56"], "linklocal_ service_ ip": "169.254.169.254", "ip_fabric_ service_ port": 8775, "ip_fabric_ DNS_service_ name": "", "linklocal_ service_ port": 80}]}, "encapsulation_ priorities" : {"encapsulation": ["MPLSoUDP", "MPLSoGRE", "VXLAN"]}, "perms2": {"owner": "0b9b1a255b9942 f2af4bc231cea53 70d", "owner_access": 7, "global_access": 0, "share": []}}}
{"global-