Contrail :: R4.1 build 3 mitaka :: global ASN is setting to default value even when we set non-default in json file.
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R4.0 |
Fix Committed
|
High
|
kamlesh parmar | |||
R4.1 |
Fix Committed
|
High
|
kamlesh parmar | |||
Trunk |
Fix Committed
|
High
|
kamlesh parmar |
Bug Description
The global asn value is not getting set to any non-default value. When we set a non-default value in json it reverts to 64512, the default value while provisioning.
Moreover the MX object is not getting created on the control node.
Attached are screen shots and logs for the details on the issue.
*******
*******
Topology :
DISTRO : "Ubuntu 14.04.5 LTS"
SKU : mitaka
Config Nodes : [u'nodei21', u'nodei22', u'nodei23']
Control Nodes : [u'nodei21', u'nodei22', u'nodei23']
Compute Nodes : [u'nodei24', u'nodei25', u'nodei26']
Openstack Node : [u'nodea1']
WebUI Node : [u'nodei21', u'nodei22', u'nodei23']
Analytics Nodes : [u'nodei21', u'nodei22', u'nodei23']
Database Nodes : [u'nodei21', u'nodei22', u'nodei23']
Physical D! evices : [u'hooper', u"'hooper'"]
LB Nodes : [u'nodea1']
*******
*******
Json file:-
root@nodei21:~# cat combined_
root@nodei21:~#
Inventory file:-
root@nodei21:~# cat /opt/contrail/
controller_
root@nodei21:~#
*******
*******
Mx side configuration and connection setup after provisioning completed:-
root@hooper# show protocols bgp group nodei21_26
type internal;
local-address 10.204.217.240;
keep all;
family inet-vpn {
unicast;
}
family route-target;
peer-as 64515;
local-as 64515;
neighbor 10.204.217.134;
neighbor 10.204.217.135;
neighbor 10.204.217.133;
[edit]
root@hooper#
root@hooper# run show bgp summary | grep 64515
10.204.217.133 64515 0 1 0 1 4:06:53 Active
10.204.217.134 64515 0 1 0 1 4:02:43 Active
10.204.217.135 64515 0 1 0 1 4:06:20 Active
[edit]
root@hooper#
*******
*******
Contrail-
2017-11-22 Wed 14:12:06:968.926 IST nodei21 [Thread 47843577825024, Pid 585]: BGP [SYS_NOTICE]: BgpPeerNotifica
2017-11-22 Wed 14:14:25:451.663 IST nodei21 [Thread 47843716949760, Pid 585]: BGP [SYS_NOTICE]: BgpConfigNoticeLog: Updated Autonomous System from 64515 to 64512 controller/
2017-11-22 Wed 14:14:25:451.749 IST nodei21 [Thread 47843716949760, Pid 585]: BGP [SYS_NOTICE]: BgpConfigNoticeLog: Updated Local Autonomous System from 64515 to 64512 controller/
2017-11-22 Wed 14:14:35:052.232 IST nodei21 [Thread 47843582023424, Pid 585]: BGP [SYS_NOTICE]: BgpPeerNotifica
*******
*******
This shows that global ASN is set to 64512 and the MX object is not created on the control node. Screenshots of the fllowing are attached to the bug:-
http://
*******
*******
Whereas in contrailctl controller conf file it is set to non-default value of 64515:-
root@nodei21(
31:bgp_asn = 64515
root@nodei21(
tags: | added: sanityblocker |
Changed in juniperopenstack: | |
assignee: | Sachin Bansal (sbansal) → Ignatious Johnson Christopher (ijohnson-x) |
Looked at the docker logs, provision_ control. py and provision_mx.py are not trrigered from internal ansible.
This is expected as we have moved it out of contrail- ansible- internal to resolve the bug https:/ /bugs.launchpad .net/juniperope nstack/ +bug/1729416
confirmed that the fix is present in build 4.1.0.0-3 (keystone.yml) is removed. controller) :/# ls /contrail- ansible- internal/ playbooks/ roles/contrail/ control/ tasks/provision / controller) :/#
root@nodei21(
main.yml noauth.yml
root@nodei21(
SM team should confirm that the SM/external ansible side fix for bug https:/ /bugs.launchpad .net/juniperope nstack/ +bug/1729416 is present and is working.