-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
panic in http server #4
Comments
There is some kind of race condition here. As the PCEP session does not have that LSP anymore but the controller has it. I can add a check and log but need to really understand how did this happen. |
Added the check. You should see the log. |
Well, it's not crashing anymore.. the only thing that popup in the logs are
|
This is how it should be as I suspect the LSPs do not get created on the devices themselves so when you try to delete there is nothing to delete. There are two DBs the first one is the controller DB and the second one is the network DB. You create LSPs in the controller DB and they get pushed into the network. Once pushed the devices report all of them back and they get saved into the network DB. We need to make sure they actually get created first. |
Its hard to delete a non-functioning LSP if it has to be up to be able to remove it. Even if the LSP is not up, for whatever reason, I must be able to remove it from the PCE or at least put it in delete state so it gets removed when the PCC connects(if it was disconnected for some reaosn) - and that must be indicated in the webUI :)
Yea I know, but as stated above if the information is wrong so the LSP doesn't get established there must be a way to delete it and/or put it in deleted state to later be removed from local db. |
When trying to remove a controlled LSP I get
The text was updated successfully, but these errors were encountered: