03-08-2023 07:54 AM
Hi, I use NSO-5.7.3 ncs-netsim to create vendor netconf device, but when I issues "ncs-netsim start", I got failure. There is no problem to create simulator with Juniper/Cisco yang.
ncs-netsim create-network /opt/ncs/packages/ncs-5.7.3-rdm8upf-2023.03.01-2023.03.02.1.tar.gz 3 v
DEVICE v0 CREATED
DEVICE v1 CREATED
DEVICE v2 CREATED
However, I got the following error
ncs-netsim start
CDB boot error: Init transaction failed to validate: application communication failure
Hint: Try using staged start using ConfD start-phases or the --ignore-initial-validation option
Daemon died status=10
DEVICE v0 FAIL
CDB boot error: Init transaction failed to validate: application communication failure
Hint: Try using staged start using ConfD start-phases or the --ignore-initial-validation option
Daemon died status=10
DEVICE v1 FAIL
CDB boot error: Init transaction failed to validate: application communication failure
Hint: Try using staged start using ConfD start-phases or the --ignore-initial-validation option
Daemon died status=10
DEVICE v2 FAIL
Does anyone know wht did I do wrong?
THX
Shauh-Wen Ma
Solved! Go to Solution.
04-06-2023 12:35 AM
Hi Sm00x,
Great, the package with that tailf:validate statement should have an application that registers a callback for that validation point, but for some reason it fails to do so. If it's a python package you should have a ncs-python-vm-<package>.log file where a possible problem could be logged.
BR,
Johan
03-23-2023 04:16 AM
Check the netsim directories for their logs, perhaps there's a `confderr.log`? If so print it with ncs --printlog <path_to_log_file_here>.
03-23-2023 05:49 AM
03-23-2023 11:50 PM
Ok, I see the problem now. It was actually there in the 1st errors you showed. There should be a validation application starting with the netsim devices, but that validation application doesn't start for some reason:
23-Mar-2023::08:36:35.447 mtnjdslncs06 confd[<0.145.0>]: devel-c no registration found for callpoint appplicationRestartWarning/validate of type=external path /PFCP:no-pfcp
You can also see that in the 1st messages (I should've figured it out from that):
CDB boot error: Init transaction failed to validate: application communication failure
Check that the tarballs is intended for your architecture or see if you can extract the packages and rebuild them yourself?
03-25-2023 06:30 PM
03-26-2023 11:08 PM
Does the netsim have a validation application?
What do you get if you grep for the validation point:
grep -RHin -A 2 applicationRestartWarning *
03-28-2023 04:22 PM
Hi, Jvikman:
Sorry for the delay. Somehow I missed your reply.
I did this:
cd rdm8upf/src/yang
pwd
/opt/ncs/packages/rdm8upf/src/yang
grep -RHin -A 2 applicationRestartWarning *
And I got nothing back.
THX
sm000x
04-02-2023 11:50 PM
Do a grep higher up, maybe there are pre-compiled fxs:s?
You can also look for
/PFCP:no-pfcp
04-05-2023 02:14 PM
04-06-2023 12:35 AM
Hi Sm00x,
Great, the package with that tailf:validate statement should have an application that registers a callback for that validation point, but for some reason it fails to do so. If it's a python package you should have a ncs-python-vm-<package>.log file where a possible problem could be logged.
BR,
Johan
04-06-2023 05:49 AM
Hi, Johan:
Thank you for the information. The package is java package, however, I do not fi
nd any java-vm-<package>.log file, either in netsim directory or in NSO log dire
ctory.
However, I took out all the "tailf:validate appplicationRestartWarning" statemen
ts in the package and recompiled again. This time the netsim starts fine.
Thank you so much for your help. This is really a helpful information.
sm000x
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide