[Mainline-Build 2704]: UI- protocol based flow aging configuration issue when done with protocol number
Bug #1539411 reported by
alok kumar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
High
|
Naveen N |
Bug Description
when protocol based aging timeout added in UI with protocol number, it does not get configured in agent as per agent introspect.
if we select from dropdown protocol option then it works fine.
setup info -
env.roledefs = {
'all': [host1,
'cfgm': [host1],
'openstack'
'control': [host1,host2],
'compute': [host3,host4],
'collector': [host1,host2],
'webui': [host1],
'database': [host1],
'build': [host_build],
}
env.hostnames = {
'all': ['nodec64', 'nodeg18', 'nodec62', 'nodec12']
}
tags: | added: blocker |
summary: |
- [Mainline-Build 2702]: UI- protocol based flow aging configuration issue + [Mainline-Build 2704]: UI- protocol based flow aging configuration issue when done with protocol number |
tags: | removed: blocker |
information type: | Proprietary → Public |
To post a comment you must log in.
I see that config is pushed correctly when configured from UI.
When specified in number in stead of specifying from dropdown, the config is pushed with the same protocol in string format as per schema.
{"flow_ aging_timeout" : [{"timeout_ in_seconds" : 89, "protocol": "1", "port": 0}, {"timeout_ in_seconds" : 180, "protocol": "58", "port": 78}]}
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" : 89, "protocol": "1", "port": 0}, {"timeout_ in_seconds" : 180, "protocol": "58", "port": 78}]}, "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, "uuid": {"uuid_mslong": 430617459092162 4693, "uuid_lslong": 129820099343315 70287}, "creator": null, "created": "2016-01- 31T05:23: 08.496448" , "user_visible": true, "last_modified": "2016-01- 31T07:39: 17.070693" , "permissions": {"owner": "admin", "owner_access": 7, "other_access": 7, "group": "KeystoneServic eAdmin" , "group_access": 7}, "description": null}, "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-