Edit Global ASN is failing

Bug #1387579 reported by Mahesh Loni
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Fix Committed
Undecided
Sachin Bansal
R1.1
Fix Committed
Undecided
Sachin Bansal
R1.30
Fix Committed
Undecided
Sachin Bansal
R2.0
Fix Committed
Undecided
Sachin Bansal

Bug Description

Steps : (mainline Build :2423)
1.Login to contrail Web UI
2.Go to configure --> infrastructure --> BGP peers
Edit global ASN is failing with MX
Getting the following error message in MX :
 BGP RECV 10.204.217.51+179 -> 10.204.216.253+63881
 BGP RECV message type 1 (Open) length 59
 BGP RECV version 4 as 64512 holdtime 90 id 10.204.217.51 parmlen 30
 BGP RECV MP capability AFI=1, SAFI=128
 BGP RECV MP capability AFI=25, SAFI=70
 BGP RECV MP capability AFI=1, SAFI=132
 BGP RECV MP capability AFI=2, SAFI=128
 BGP RECV Restart capability, code=64, time=0, flags=
 bgp_process_open:3374: NOTIFICATION sent to 10.204.217.51 (Internal AS 64510): code 2 (Open Message Error) subcode 2 (bad peer AS number), Reason: peer 10.204.217.51 (Internal AS 64510) claims 64512, 64510 configured
Oct 27 10:26:32.509257 bgp_send: sending 21 bytes to 10.204.217.51 (Internal AS 64510)
Oct 27 10:26:32.509422

Tags: config
Mahesh Loni (mloni)
no longer affects: juniperopenstack/trunk
Revision history for this message
Nischal Sheth (nsheth) wrote :

@Mahesh

Can you clarify the following:

- Old and new values of global ASN
- Was the MX configuration changed so the peer-as for CN peer is the new global AS
- What are the values of ASN in bgp-router and bgp-peering objects seen via API server

Nischal Sheth (nsheth)
Changed in juniperopenstack:
assignee: nobody → Sachin Bansal (sbansal)
Nischal Sheth (nsheth)
tags: added: config
removed: contrail-control
Revision history for this message
Mahesh Loni (mloni) wrote :

Old ASN was 64512 and MX configuration was 64510 after editing the Global ASN to 64510 and after editing the BGP peer to 64510 and its sending the values as 64512 only .
in API server it was showing the old value 64512

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/4611
Committed: http://github.org/Juniper/contrail-controller/commit/7ce4d6c580e07bc9535cb2218b51a53e3b2c6d55
Submitter: Zuul
Branch: master

commit 7ce4d6c580e07bc9535cb2218b51a53e3b2c6d55
Author: Sachin Bansal <email address hidden>
Date: Fri Nov 14 16:23:18 2014 -0800

Use correct variable to update router ASN

Change-Id: Ic1fedd288bd0e3f6439c687fb5fcaa57bb43104d
Closes-Bug: 1387579

Changed in juniperopenstack:
status: New → Fix Committed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/4676
Committed: http://github.org/Juniper/contrail-controller/commit/b6d75420f33977b3a2e8e12959fe32506b18d0b1
Submitter: Zuul
Branch: R1.30

commit b6d75420f33977b3a2e8e12959fe32506b18d0b1
Author: Sachin Bansal <email address hidden>
Date: Fri Nov 14 16:23:18 2014 -0800

Use correct variable to update router ASN

Change-Id: Ic1fedd288bd0e3f6439c687fb5fcaa57bb43104d
Closes-Bug: 1387579
(cherry picked from commit 021c054c3581f5263e5ff0295badbe467ee7a506)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/4675
Committed: http://github.org/Juniper/contrail-controller/commit/3a4ef718fd201a50b61adefcb0609b4b1700d0a3
Submitter: Zuul
Branch: R1.10

commit 3a4ef718fd201a50b61adefcb0609b4b1700d0a3
Author: Sachin Bansal <email address hidden>
Date: Fri Nov 14 16:23:18 2014 -0800

Use correct variable to update router ASN

Change-Id: Ic1fedd288bd0e3f6439c687fb5fcaa57bb43104d
Closes-Bug: 1387579
(cherry picked from commit 021c054c3581f5263e5ff0295badbe467ee7a506)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/4830
Committed: http://github.org/Juniper/contrail-controller/commit/e4acf154bf6fab7e87bc33a9f4d5e934c5a8553c
Submitter: Zuul
Branch: R2.0

commit e4acf154bf6fab7e87bc33a9f4d5e934c5a8553c
Author: Sachin Bansal <email address hidden>
Date: Fri Nov 14 16:23:18 2014 -0800

Use correct variable to update router ASN

Change-Id: Ic1fedd288bd0e3f6439c687fb5fcaa57bb43104d
Closes-Bug: 1387579
(cherry picked from commit 7ce4d6c580e07bc9535cb2218b51a53e3b2c6d55)

information type: Proprietary → Public
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.