[BGPCEP-759] Unable to update PCEP session config Created: 14/Feb/18  Updated: 28/Jun/18  Resolved: 28/Jun/18

Status: Verified
Project: bgpcep
Component/s: PCEP
Affects Version/s: Nitrogen
Fix Version/s: Nitrogen

Type: Bug Priority: Medium
Reporter: Kevin Wang Assignee: Evan Zeller
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Text File karaf.log     Text File karaf.log    

 Description   

The PCEP module failed to reload after pcep session config is updated.

Reproduce steps:

Put to URL:

http://controller-ip:restconf-port/restconf/config/pcep-app-config:pcep-session-config

Body:

{
"pcep-session-config" :
{ "keep-alive-timer-value" : 30, "dead-timer-value": 120 }
}

Somehow the PCEP module failed to restart without a clear reason.

Karaf log attached.

Tested with Nitrogen and observed this. Issue was not observed in Carbon and Oxygen.



 Comments   
Comment by Claudio David Gasparini [ 15/Feb/18 ]

seems similar to https://bugs.opendaylight.org/show_bug.cgi?id=8425.

Regards, 

Comment by Kevin Wang [ 16/Feb/18 ]

cdgasparini Not exactly.
The ticket you referenced has a different problem. In Boron the configuration went through, but the configuration is not honored until you do a controller restart. However, even if the new configuration doesn't take effect, the PCEP module is still working.

However, the problem in this ticket is, once you inject the configuration, the PCEP module got rebooted by blueprint, but it never come back. Thus the PCEP module is dead after that.

And the module died with no ERROR but a WARNING

2018-02-15 16:53:04,461 | WARN  | erRestartService | printContainerRestartServiceImpl | 119 - org.opendaylight.controller.blueprint - 0.7.2.SNAPSHOT | Failed to restart all blueprint containers within 5 minutes. Attempted to restart 2 [org.opendaylight.bgpcep.pcep-impl_0.8.2.SNAPSHOT [101], org.opendaylight.bgpcep.pcep-topology-provider_0.8.2.SNAPSHOT [105]] but only 0 completed restart

Interesting thing is, I do not observe this issue in Oxygen (master branch). So something blueprint related must have been change in nitrogen and fixed in Oxygen. cdgasparini do you have something jump out of your mind what could that change be?

Comment by Claudio David Gasparini [ 16/Feb/18 ]

Hi Kevin, on Carbon is working, I checked BP for both modules and they seems to be the same for Nitro. 

Under oxygen there is migration full migration from Config subsystem configuration for PCEP.

Looks like something upperstream, because I don't see why the modules are not able to "start" after restart, at least there should be some complain/error.

Sorry for be of little help here.

Regards, 

 

Comment by Evan Zeller [ 14/Apr/18 ]

kevinxw cdgasparini I opened a gerrit in Controller that in my local setup seems to work. https://git.opendaylight.org/gerrit/#/c/70936/

Comment by Claudio David Gasparini [ 16/Apr/18 ]

Hi evanz,

thanks for your contribution, I' ll try to test it during this week if the issue still present or not. If you already tested and is working, feel free to close the bug.

Regards, 

 

Claudio

Generated at Wed Feb 07 19:14:02 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.