R5.1:Config:BGP router parameters for a single control node ,set by script/config editor getting reset to the value of the global config after few seconds

Bug #1808467 reported by Sandip Dey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
New
Critical
Sahil Sabharwal

Bug Description

Build:ocata-master-418

Any BGP parameter set at the local bgp router is getting overridden by the global config
for example, select a control node---->edit--->change ASN to 64510(global config is 64512)

The value of the ASN in that control node getting changed to 64512 after sometimes.

The problem was discovered while setting cluster_id to a control node.
It was set to 10, but after sometime, it was reset to 'null'.
This behavior would block testing the control node as RR feature

Hi Nikhil

I am setting cluster id for a bgp router to 10.But after sometime its getting reset to null.I am not able to figure out who is setting it back to null.
Api logs and schema logs did not tell me anything.

Will raise a bug for this.
Api logs
————

10.204.216.61 - - [2018-12-14 10:04:18] "GET / HTTP/1.1" 200 28571 0.002004
10.204.216.61 - - [2018-12-14 10:04:18] "POST /fqname-to-id HTTP/1.1" 200 156 0.002539
10.204.216.61 - - [2018-12-14 10:04:18] "GET /bgp-router/7ce66485-bfa6-4956-b725-ccee4f506f74?exclude_back_refs=True&exclude_children=True HTTP/1.1" 200 2724 0.003302
10.204.216.61 - - [2018-12-14 10:04:18] "PUT /bgp-router/7ce66485-bfa6-4956-b725-ccee4f506f74 HTTP/1.1" 200 258 0.013550
10.204.217.93 - - [2018-12-14 10:04:23] "GET /bgp-router/7ce66485-bfa6-4956-b725-ccee4f506f74?detail=true HTTP/1.1" 200 2722 0.004932

10.204.217.93 - - [2018-12-14 10:04:50] "GET / HTTP/1.1" 200 28571 0.001776
10.204.217.93 - - [2018-12-14 10:04:50] "POST /fqname-to-id HTTP/1.1" 200 156 0.002841
10.204.217.93 - - [2018-12-14 10:04:50] "GET /global-system-config/51bdf618-01b2-4b6f-aa53-0afb5cd1bced?exclude_back_refs=True&exclude_children=True HTTP/1.1" 200 2152 0.003356
10.204.217.93 - - [2018-12-14 10:04:50] "PUT /global-system-config/51bdf618-01b2-4b6f-aa53-0afb5cd1bced HTTP/1.1" 200 278 0.014036
10.204.217.93 - - [2018-12-14 10:04:51] "GET / HTTP/1.1" 200 28571 0.001638
10.204.217.93 - - [2018-12-14 10:04:51] "POST /fqname-to-id HTTP/1.1" 200 156 0.002837
10.204.217.93 - - [2018-12-14 10:04:51] "GET /routing-instance/28bea627-001b-4952-b2fb-0dbe7ee79b54?exclude_back_refs=True&exclude_children=True HTTP/1.1" 200 1183 0.003666
10.204.217.93 - - [2018-12-14 10:04:51] "POST /bgp-routers HTTP/1.1" 409 272 0.003314
10.204.217.93 - - [2018-12-14 10:04:51] "POST /fqname-to-id HTTP/1.1" 200 156 0.002251
10.204.217.93 - - [2018-12-14 10:04:51] "GET /bgp-router/7ce66485-bfa6-4956-b725-ccee4f506f74?exclude_back_refs=True&exclude_children=True HTTP/1.1" 200 2722 0.002886
10.204.217.93 - - [2018-12-14 10:04:51] "PUT /bgp-router/7ce66485-bfa6-4956-b725-ccee4f506f74 HTTP/1.1" 200 258 0.010223
10.204.217.94 - - [2018-12-14 10:05:17] "GET /global-system-configs HTTP/1.1" 200 326 0.003781
10.204.217.95 - - [2018-12-14 10:05:19] "GET /global-system-configs HTTP/1.1" 200 326 0.004378
10.204.217.93 - - [2018-12-14 10:05:23] "GET /bgp-router/7ce66485-bfa6-4956-b725-ccee4f506f74?detail=true HTTP/1.1" 200 2724 0.005454

Cassandra logs
———————
{
MessageTS: 1544763861238965
Messagetype: ContrailConfigTrace
ModuleId: contrail-api
ObjectId: nodec53.local
ObjectLog: nodec53.localbgp_router_parameters{"gateway_address": null, "vendor": "contrail", "admin_down": false, "ipv6_gateway_address": null, "local_autonomous_system": null, "auth_data": null, "autonomous_system": 64512, "cluster_id": 10, "address": "10.204.217.93", "source_port": null, "router_type": "control-node", "identifier": "10.204.217.93", "hold_time": 0, "port": "179", "address_families": {"family": ["route-target", "inet-vpn", "e-vpn", "erm-vpn", "inet6-vpn"]}}bgp_router_refs[{"to": ["default-domain", "default-project", "ip-fabric", "__default__", "nodec55.local"], "attr": {"session": [{"attributes": [{"passive": false, "route_origin_override": null, "admin_down": false, "private_as_action": null, "hold_time": 0, "bgp_router": null, "local_autonomous_system": 0, "auth_data": null, "family_attributes": [], "as_override": false, "loop_count": 0, "address_families": {"family": []}}], "uuid": null}]}, "uuid": "2163e5c6-27c0-4775-81df-254d178a50c1"}, {"to": ["default-domain", "default-project", "ip-fabric", "__default__", "nodec54.local"], "attr": {"session": [{"attributes": [{"passive": false, "route_origin_override": null, "admin_down": false, "private_as_action": null, "hold_time": 0, "bgp_router": null, "local_autonomous_system": 0, "auth_data": null, "family_attributes": [], "as_override": false, "loop_count": 0, "address_families": {"family": []}}], "uuid": null}]}, "uuid": "bb2ce409-9235-4334-9829-8f38a4fdb55d"}]display_name"nodec53.local"fq_name["default-domain", "default-project", "ip-fabric", "__default__", "nodec53.local"]id_perms{"enable": true, "uuid": {"uuid_mslong": 8999991430955288918, "uuid_lslong": 13197179606984060788}, "creator": null, "created": "2018-12-03T12:20:44.982810", "user_visible": true, "last_modified": "2018-12-14T05:04:21.222678", "permissions": {"owner": "cloud-admin", "owner_access": 7, "other_access": 7, "group": "cloud-admin-group", "group_access": 7}, "description": null}parent_type"routing-instance"parent_uuid"28bea627-001b-4952-b2fb-0dbe7ee79b54"perms2{"owner": "cloud-admin", "owner_access": 7, "global_access": 0, "share": []}uuid"7ce66485-bfa6-4956-b725-ccee4f506f74"false
Source: nodec53
SystemLog: null
}

 {
MessageTS: 1544763865507181
Messagetype: ContrailConfigTrace
ModuleId: contrail-api
ObjectId: nodec53.local
ObjectLog: nodec53.localbgp_router_parameters{"gateway_address": null, "vendor": "contrail", "admin_down": false, "ipv6_gateway_address": null, "local_autonomous_system": null, "auth_data": null, "autonomous_system": 64512, "cluster_id": null, "address": "10.204.217.93", "source_port": null, "router_type": "control-node", "identifier": "10.204.217.93", "hold_time": 0, "port": "179", "address_families": {"family": ["route-target", "inet-vpn", "e-vpn", "erm-vpn", "inet6-vpn"]}}bgp_router_refs[{"to": ["default-domain", "default-project", "ip-fabric", "__default__", "nodec55.local"], "attr": {"session": [{"attributes": [{"passive": false, "route_origin_override": null, "admin_down": false, "private_as_action": null, "hold_time": 0, "bgp_router": null, "local_autonomous_system": 0, "auth_data": null, "family_attributes": [], "as_override": false, "loop_count": 0, "address_families": {"family": []}}], "uuid": null}]}, "uuid": "2163e5c6-27c0-4775-81df-254d178a50c1"}, {"to": ["default-domain", "default-project", "ip-fabric", "__default__", "nodec54.local"], "attr": {"session": [{"attributes": [{"passive": false, "route_origin_override": null, "admin_down": false, "private_as_action": null, "hold_time": 0, "bgp_router": null, "local_autonomous_system": 0, "auth_data": null, "family_attributes": [], "as_override": false, "loop_count": 0, "address_families": {"family": []}}], "uuid": null}]}, "uuid": "bb2ce409-9235-4334-9829-8f38a4fdb55d"}]display_name"nodec53.local"fq_name["default-domain", "default-project", "ip-fabric", "__default__", "nodec53.local"]id_perms{"enable": true, "uuid": {"uuid_mslong": 8999991430955288918, "uuid_lslong": 13197179606984060788}, "created": "2018-12-03T12:20:44.982810", "description": null, "creator": null, "user_visible": true, "last_modified": "2018-12-14T05:04:25.494408", "permissions": {"owner": "cloud-admin", "owner_access": 7, "other_access": 7, "group": "cloud-admin-group", "group_access": 7}}parent_type"routing-instance"parent_uuid"28bea627-001b-4952-b2fb-0dbe7ee79b54"perms2{"owner": "cloud-admin", "owner_access": 7, "global_access": 0, "share": []}uuid"7ce66485-bfa6-4956-b725-ccee4f506f74"false
Source: nodec53
SystemLog: null
}

Regards
Sandip

Tags: blocker
information type: Proprietary → Public
Sandip Dey (sandipd)
summary: - R5.1:Route Reflector feature:Cluster_id set by script/config editor
- getting reset to 'null' after few seconds
+ R5.1:Config:BGP router parameters for a single control node ,set by
+ script/config editor getting reset to the value of the global config
+ after few seconds
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.