BGP peers are not getting provisioned on the control node using SMLite on mainline-3058
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
Trunk |
Fix Committed
|
Critical
|
Nitish Krishna Kaveri |
Bug Description
BGP Provisioning fails on Mitaka using sm-lite on mainline-3058.
No BGP peers are present post provisioning, and need to manually configure the BGP peer on the control node for the sessions to come up with external routers.
Provision was successful and no error messages were seen.
Logs::
From: “docker logs controller”:
TASK [contrail/control : register control node to config api server (keystone auth)] ***
ESC[0;33mchanged: [localhost]ESC[0m
TASK [contrail/control : register control node as a BGP speaker with md5 (keystone auth)] ***
ESC[0;36mskipping: [localhost]ESC[0m
TASK [contrail/control : register control node as a BGP speaker without md5 (keystone auth)] ***
ESC[0;33mchanged: [localhost]ESC[0m
TASK [contrail/control : Register external routers in bgp speaker list (keystone auth)] ***
TASK [redis : Run redis setup as per redis_setup_target variable] **************
ESC[0;36mincluded: /contrail-
From: /contrail-
- name: Wait till keystone answers
uri:
url: "{{ keystone_
status_code: 200
register: keystone_
until: keystone_
retries: 1200
delay: 1
- name: register control node to config api server (keystone auth)
shell: "/usr/share/
- name: register control node as a BGP speaker with md5 (keystone auth)
shell: "/usr/share/
when: bgp_md5 is defined
- name: register control node as a BGP speaker without md5 (keystone auth)
shell: "/usr/share/
when: bgp_md5 is not defined
- name: Register external routers in bgp speaker list (keystone auth)
shell: "/usr/share/
with_dict: "{{ external_
From External_router::
Apr 20 08:51:16 blr-mx1 rpd[60210]: bgp_recv: read from peer 10.204.216.48 (Internal AS 64512) failed: Connection reset by peer
Apr 20 08:54:04 blr-mx1 rpd[60210]: BGP_UNEXPECTED_
Apr 20 08:54:04 blr-mx1 rpd[60210]: bgp_read_
Apr 20 08:54:04 blr-mx1 rpd[60210]: bgp_recv: read from peer 10.204.216.48 (Internal AS 64512) failed: Connection reset by peer
Apr 20 08:56:52 blr-mx1 rpd[60210]: BGP_UNEXPECTED_
Apr 20 08:56:52 blr-mx1 rpd[60210]: bgp_read_
Apr 20 08:56:52 blr-mx1 rpd[60210]: bgp_recv: read from peer 10.204.216.48 (Internal AS 64512) failed: Connection reset by peer
Apr 20 08:59:40 blr-mx1 rpd[60210]: BGP_UNEXPECTED_
Apr 20 08:59:40 blr-mx1 rpd[60210]: bgp_read_
Apr 20 08:59:40 blr-mx1 rpd[60210]: bgp_recv: read from peer 10.204.216.48 (Internal AS 64512) failed: Connection reset by peer
Apr 20 09:02:28 blr-mx1 rpd[60210]: BGP_UNEXPECTED_
---(more 51%)---[abort]
Changed in juniperopenstack: | |
importance: | Undecided → Critical |
assignee: | nobody → Harish Kumar (hkumarmk) |
milestone: | none → r4.0 |
information type: | Proprietary → Public |
tags: | added: sanity |
Provision was triggered using JSONs, with cluster json details as listed.
"parameter s" : {
"domain" : "englab. juniper. net",
"subnet_ mask": "255.255.255.0",
"gateway" : "10.204.216.254",
"provision" : {
" contrail_ 4": {
} ,
" contrail" : {
"config" : {
"config_ ip_list" : ["10.204.216.48"]
},
"control" : {
"encapsulation_ priority" : "VXLAN, MPLSoUDP, MPLSoGRE" ,
"router_ asn": 64512,
"external_ bgp": "[('mx1', '10.204.216.253')]"
}
} ,
" openstack" :{
"openstack_ manage_ amqp": true,
"keystone" : {
"admin_ password" : "contrail123",
"admin_ token": "admin"
}
}
"cluster" : [
{
"id": "cluster1",
}
}
}
]
}