DM: apply groups is not pushed to the router
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Juniper Openstack | Status tracked in Trunk | |||||
R2.20 |
Fix Committed
|
Medium
|
Suresh Balineni | |||
Trunk |
Fix Committed
|
Medium
|
Suresh Balineni |
Bug Description
[2.20-26~
Topo
====
nodeb12
1]. Added 'yuvaraj' as a BGP router and Physical router from UI.
2]. I see that this config is pushed onto the MX :
regress@yuvaraj# show | display set
set version 15.1B1-PS.4
set groups __contrail__ routing-options route-distingui
set groups __contrail__ routing-options autonomous-system 64512
set groups __contrail__ protocols bgp group __contrail__ type internal
set groups __contrail__ protocols bgp group __contrail__ multihop
set groups __contrail__ protocols bgp group __contrail__ local-address 10.204.217.190
set groups __contrail__ protocols bgp group __contrail__ hold-time 90
set groups __contrail__ protocols bgp group __contrail__ keep all
set groups __contrail__ protocols bgp group __contrail__ family inet-vpn unicast
set groups __contrail__ protocols bgp group __contrail__ family inet6-vpn unicast
set groups __contrail__ protocols bgp group __contrail__ family evpn signaling
set groups __contrail__ protocols bgp group __contrail__ family route-target
set groups __contrail__ protocols bgp group __contrail__ neighbor 10.204.216.5
set groups __contrail__ protocols bgp group __contrail_
set groups __contrail__ protocols bgp group __contrail_
set groups __contrail__ protocols bgp group __contrail_
set groups __contrail__ protocols bgp group __contrail_
set groups __contrail__ protocols bgp group __contrail_
set groups __contrail__ protocols bgp group __contrail_
set groups __contrail__ protocols bgp group __contrail_
set groups __contrail__ protocols bgp group __contrail_
set groups __contrail__ protocols bgp group __contrail_
set system root-authentication encrypted-password "$1$d7Su9PJN$
set system login user regress uid 19005
set system login user regress class super-user
set system login user regress authentication encrypted-password "$1$88V/
set system services ftp
3]. I don't see apply-groups config pushed.
4]. also, the following logs are seen on the node :
root@nodeb12:~# 05/21/2015 04:36:31 PM [nodeb12:
Changed in juniperopenstack: | |
milestone: | r2.20-fcs → none |
summary: |
- [2.20-26~juno-ubuntu-14.04] apply groups is not pushed to the router + DM: apply groups is not pushed to the router |
description: | updated |
information type: | Proprietary → Public |
tags: | added: blocker |
physical_router data plane_ip is set to empty string. Currently, DM has validation for null' check for this parameter. Should validate the ip-address.
apply-groups won't added to candidate config on failed scenario. When DM tries to send delete config, it adds 'apply_group' also, since '__contrail__' apply-group is not present , Mx throws warning. Its no-op operation. Should not be a problem.
< routing- options>
<dynamic- tunnels>
<dynamic- tunnel>
<name> __contrail_ _</name>
<source- address> </source- address>
<destinati on-networks>
<name>10. 204.217. 190/32< /name>
</ destination- networks>
<destinati on-networks>
<name>10. 204.216. 5/32</name>
</ destination- networks>
</dynamic- tunnel>
</dynamic- tunnels> /routing- options> "replace" >__contrail_ _</apply- groups>
<gre/>
<
</groups>
<apply-groups operation=
</configuration>
</config>
05/22/2015 06:20:56 AM [nodeb12: DeviceManager: Config: 0]: Router 10.204.217.190: invalid ip address or hostname:
#Disable auto-config DeviceManager: Config: 0]: Notification Message: {u'oper': u'UPDATE', dd8a-430a- b2a6-fd5639d9f6 de'} DeviceManager: Config: 0]: "urn:ietf: params: xml:ns: netconf: base:1. 0"> name>__ contrail_ _</name> "delete" >__contrail_ _</apply- groups>
05/22/2015 06:25:49 AM [nodeb12:
u'type': u'physical-router',
u'uuid': u'bd6546d2-
05/22/2015 06:25:50 AM [nodeb12:
send netconf message: <config xmlns:xc=
<configuration>
<groups operation="delete">
<
</groups>
<apply-groups operation=
</configuration>
</config>
05/22/2015 06:25:51 AM [nodeb12: DeviceManager: Config: 0]: Router 10.204.217.190: statement not found: apply-groups __contrail__