<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic ncs-netsim start returns failure in NSO Developer Hub Discussions</title>
    <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4789701#M7724</link>
    <description>&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;ncs-netsim create-network /opt/ncs/packages/ncs-5.7.3-rdm8upf-2023.03.01-2023.03.02.1.tar.gz 3 v&lt;BR /&gt;DEVICE v0 CREATED&lt;BR /&gt;DEVICE v1 CREATED&lt;BR /&gt;DEVICE v2 CREATED&lt;/P&gt;&lt;P&gt;However, I got the following error&lt;/P&gt;&lt;P&gt;ncs-netsim start&lt;BR /&gt;CDB boot error: Init transaction failed to validate: application communication failure&lt;BR /&gt;Hint: Try using staged start using ConfD start-phases or the --ignore-initial-validation option&lt;BR /&gt;Daemon died status=10&lt;BR /&gt;DEVICE v0 FAIL&lt;BR /&gt;CDB boot error: Init transaction failed to validate: application communication failure&lt;BR /&gt;Hint: Try using staged start using ConfD start-phases or the --ignore-initial-validation option&lt;BR /&gt;Daemon died status=10&lt;BR /&gt;DEVICE v1 FAIL&lt;BR /&gt;CDB boot error: Init transaction failed to validate: application communication failure&lt;BR /&gt;Hint: Try using staged start using ConfD start-phases or the --ignore-initial-validation option&lt;BR /&gt;Daemon died status=10&lt;BR /&gt;DEVICE v2 FAIL&lt;/P&gt;&lt;P&gt;Does anyone know wht did I do wrong?&lt;/P&gt;&lt;P&gt;THX&lt;/P&gt;&lt;P&gt;Shauh-Wen Ma&lt;/P&gt;</description>
    <pubDate>Wed, 08 Mar 2023 15:54:49 GMT</pubDate>
    <dc:creator>sm000x</dc:creator>
    <dc:date>2023-03-08T15:54:49Z</dc:date>
    <item>
      <title>ncs-netsim start returns failure</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4789701#M7724</link>
      <description>&lt;P&gt;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.&lt;/P&gt;&lt;P&gt;ncs-netsim create-network /opt/ncs/packages/ncs-5.7.3-rdm8upf-2023.03.01-2023.03.02.1.tar.gz 3 v&lt;BR /&gt;DEVICE v0 CREATED&lt;BR /&gt;DEVICE v1 CREATED&lt;BR /&gt;DEVICE v2 CREATED&lt;/P&gt;&lt;P&gt;However, I got the following error&lt;/P&gt;&lt;P&gt;ncs-netsim start&lt;BR /&gt;CDB boot error: Init transaction failed to validate: application communication failure&lt;BR /&gt;Hint: Try using staged start using ConfD start-phases or the --ignore-initial-validation option&lt;BR /&gt;Daemon died status=10&lt;BR /&gt;DEVICE v0 FAIL&lt;BR /&gt;CDB boot error: Init transaction failed to validate: application communication failure&lt;BR /&gt;Hint: Try using staged start using ConfD start-phases or the --ignore-initial-validation option&lt;BR /&gt;Daemon died status=10&lt;BR /&gt;DEVICE v1 FAIL&lt;BR /&gt;CDB boot error: Init transaction failed to validate: application communication failure&lt;BR /&gt;Hint: Try using staged start using ConfD start-phases or the --ignore-initial-validation option&lt;BR /&gt;Daemon died status=10&lt;BR /&gt;DEVICE v2 FAIL&lt;/P&gt;&lt;P&gt;Does anyone know wht did I do wrong?&lt;/P&gt;&lt;P&gt;THX&lt;/P&gt;&lt;P&gt;Shauh-Wen Ma&lt;/P&gt;</description>
      <pubDate>Wed, 08 Mar 2023 15:54:49 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4789701#M7724</guid>
      <dc:creator>sm000x</dc:creator>
      <dc:date>2023-03-08T15:54:49Z</dc:date>
    </item>
    <item>
      <title>Re: ncs-netsim start returns failure</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4799915#M7739</link>
      <description>&lt;P&gt;Check the netsim directories for their logs, perhaps there's a `confderr.log`? If so print it with ncs --printlog &amp;lt;path_to_log_file_here&amp;gt;.&lt;/P&gt;</description>
      <pubDate>Thu, 23 Mar 2023 11:16:07 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4799915#M7739</guid>
      <dc:creator>jvikman</dc:creator>
      <dc:date>2023-03-23T11:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: ncs-netsim start returns failure</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4799952#M7740</link>
      <description>Hi, Jvikman:&lt;BR /&gt;&lt;BR /&gt;Thank you for the replying. I checked the logs: netsim/upf/upf0/logs, there is&lt;BR /&gt;ls -ltr&lt;BR /&gt;total 28&lt;BR /&gt;-rw-r--r--. 1 root root 0 Mar 23 08:36 audit.log&lt;BR /&gt;-rw-r--r--. 1 root root 0 Mar 23 08:36 netconf.log&lt;BR /&gt;-rw-r--r--. 1 root root 0 Mar 23 08:36 snmp.log&lt;BR /&gt;-rw-r--r--. 1 root root 13 Mar 23 08:36 confderr.log.siz&lt;BR /&gt;-rw-r--r--. 1 root root 18 Mar 23 08:36 confderr.log.idx&lt;BR /&gt;-rw-r--r--. 1 root root 8 Mar 23 08:36 confderr.log.1&lt;BR /&gt;-rw-r--r--. 1 root root 995 Mar 23 08:36 devel.log&lt;BR /&gt;-rw-r--r--. 1 root root 11220 Mar 23 08:36 confd.log&lt;BR /&gt;&lt;BR /&gt;"ncs --printlog confderr.log.1" displays nothing. I tail -f the devel.log and confd.log, but I do not understand the messages.&lt;BR /&gt;&lt;BR /&gt;tail -f devel.log&lt;BR /&gt;23-Mar-2023::08:36:34.878 mtnjdslncs06 confd[&amp;lt;0.69.0&amp;gt;]: confd embedded apps in early_phase0:&lt;BR /&gt;[]&lt;BR /&gt;23-Mar-2023::08:36:35.148 mtnjdslncs06 confd[&amp;lt;0.97.0&amp;gt;]: confd mmap_schema handle_info got msg: timeout&lt;BR /&gt;23-Mar-2023::08:36:35.169 mtnjdslncs06 confd[&amp;lt;0.9.0&amp;gt;]: confd embedded apps in phase0:&lt;BR /&gt;[]&lt;BR /&gt;23-Mar-2023::08:36:35.297 mtnjdslncs06 confd[&amp;lt;0.133.0&amp;gt;]: devel-cdb Loaded oper data from ./cdb/O.cdb (0 bytes data in 0.000s)&lt;BR /&gt;23-Mar-2023::08:36:35.358 mtnjdslncs06 confd[&amp;lt;0.135.0&amp;gt;]: devel-cdb Loaded configuration from ./cdb/A.cdb (0 bytes data, 0 transactions in 0.000s)&lt;BR /&gt;23-Mar-2023::08:36:35.379 mtnjdslncs06 confd[&amp;lt;0.9.0&amp;gt;]: devel-cdb init files found in ./cdb: aaa_init.xml&lt;BR /&gt;23-Mar-2023::08:36:35.415 mtnjdslncs06 confd[&amp;lt;0.69.0&amp;gt;]: confd Set running datastore status to valid&lt;BR /&gt;23-Mar-2023::08:36:35.447 mtnjdslncs06 confd[&amp;lt;0.145.0&amp;gt;]: devel-c no registration found for callpoint appplicationRestartWarning/validate of type=external path /PFCP:no-pfcp&lt;BR /&gt;&lt;BR /&gt;tail -f confd.log&lt;BR /&gt;23-Mar-2023::08:36:34.952 mtnjdslncs06 confd[35052]: - Loading file ./cna-li-x1.fxs&lt;BR /&gt;23-Mar-2023::08:36:34.953 mtnjdslncs06 confd[35052]: - Loading file ./cna-interface-mgr.fxs&lt;BR /&gt;23-Mar-2023::08:36:34.955 mtnjdslncs06 confd[35052]: - Loading file ./cna-cfgmgr.fxs&lt;BR /&gt;23-Mar-2023::08:36:34.955 mtnjdslncs06 confd[35052]: - Loading file ./bgpmgr.fxs&lt;BR /&gt;23-Mar-2023::08:36:34.956 mtnjdslncs06 confd[35052]: - Skipping file ./ietf-restconf.fxs: namespace already loaded&lt;BR /&gt;23-Mar-2023::08:36:35.110 mtnjdslncs06 confd[35052]: - Starting to listen for Internal IPC on 127.0.0.1:5010&lt;BR /&gt;23-Mar-2023::08:36:35.379 mtnjdslncs06 confd[35052]: - CDB load: processing file: ./cdb/aaa_init.xml&lt;BR /&gt;23-Mar-2023::08:36:35.447 mtnjdslncs06 confd[35052]: - no registration found for callpoint appplicationRestartWarning/validate of type=external&lt;BR /&gt;23-Mar-2023::08:36:35.458 mtnjdslncs06 confd[35052]: - CDB boot error: Init transaction failed to validate: application communication failure&lt;BR /&gt;Hint: Try using staged start using ConfD start-phases or the --ignore-initial-validation option&lt;BR /&gt;&lt;BR /&gt;Thank you very much&lt;BR /&gt;sm000x&lt;BR /&gt;</description>
      <pubDate>Thu, 23 Mar 2023 12:49:29 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4799952#M7740</guid>
      <dc:creator>sm000x</dc:creator>
      <dc:date>2023-03-23T12:49:29Z</dc:date>
    </item>
    <item>
      <title>Re: ncs-netsim start returns failure</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4800564#M7741</link>
      <description>&lt;P&gt;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:&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;23-Mar-2023::08:36:35.447 mtnjdslncs06 confd[&amp;lt;0.145.0&amp;gt;]: devel-c no registration found for callpoint appplicationRestartWarning/validate of type=external path /PFCP:no-pfcp&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;You can also see that in the 1st messages (I should've figured it out from that):&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;CDB boot error: Init transaction failed to validate: application communication failure&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;Check that the tarballs is intended for your architecture or see if&amp;nbsp;you can extract the packages and rebuild them yourself?&lt;/P&gt;</description>
      <pubDate>Fri, 24 Mar 2023 06:50:44 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4800564#M7741</guid>
      <dc:creator>jvikman</dc:creator>
      <dc:date>2023-03-24T06:50:44Z</dc:date>
    </item>
    <item>
      <title>Re: ncs-netsim start returns failure</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4801420#M7742</link>
      <description>Hi, Jvikman:&lt;BR /&gt;&lt;BR /&gt;I built the package myself. I still have the same issue.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;sm000x&lt;BR /&gt;</description>
      <pubDate>Sun, 26 Mar 2023 01:30:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4801420#M7742</guid>
      <dc:creator>sm000x</dc:creator>
      <dc:date>2023-03-26T01:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: ncs-netsim start returns failure</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4801718#M7743</link>
      <description>&lt;P&gt;Does the netsim have a validation application?&lt;/P&gt;
&lt;P&gt;What do you get if you grep for the validation point:&lt;/P&gt;
&lt;PRE&gt;grep -RHin -A 2 applicationRestartWarning *&lt;/PRE&gt;</description>
      <pubDate>Mon, 27 Mar 2023 06:08:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4801718#M7743</guid>
      <dc:creator>jvikman</dc:creator>
      <dc:date>2023-03-27T06:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: ncs-netsim start returns failure</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4803071#M7745</link>
      <description>&lt;P&gt;Hi, Jvikman:&lt;/P&gt;&lt;P&gt;Sorry for the delay. Somehow I missed your reply.&lt;/P&gt;&lt;P&gt;I did this:&lt;/P&gt;&lt;P&gt;cd rdm8upf/src/yang&lt;/P&gt;&lt;P&gt;pwd&lt;BR /&gt;/opt/ncs/packages/rdm8upf/src/yang&lt;/P&gt;&lt;P&gt;grep -RHin -A 2 applicationRestartWarning *&lt;/P&gt;&lt;P&gt;And I got nothing back.&lt;/P&gt;&lt;P&gt;THX&lt;/P&gt;&lt;P&gt;sm000x&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 23:22:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4803071#M7745</guid>
      <dc:creator>sm000x</dc:creator>
      <dc:date>2023-03-28T23:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: ncs-netsim start returns failure</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4806278#M7753</link>
      <description>&lt;P&gt;Do a grep higher up, maybe there are pre-compiled fxs:s?&lt;/P&gt;
&lt;P&gt;You can also look for&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;/PFCP:no-pfcp&lt;/SPAN&gt;&amp;nbsp;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Apr 2023 06:50:45 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4806278#M7753</guid>
      <dc:creator>jvikman</dc:creator>
      <dc:date>2023-04-03T06:50:45Z</dc:date>
    </item>
    <item>
      <title>Re: ncs-netsim start returns failure</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4809079#M7769</link>
      <description>Hi, Jvikman:&lt;BR /&gt;&lt;BR /&gt;Thank you for the suggestion.&lt;BR /&gt;&lt;BR /&gt;This time I found several "tailf:validate appplicationRestartWarning".&lt;BR /&gt;tailf:validate appplicationRestartWarning&lt;BR /&gt;{&lt;BR /&gt;tailf:dependency "../provision-admin-state";&lt;BR /&gt;tailf:opaque "Warning: provision-admin-state must be disabled.";&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Somehow I did not find it last time, sorry about that.&lt;BR /&gt;&lt;BR /&gt;Should I comment out the appplicationRestartWarning ?&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;Sm000x&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 05 Apr 2023 21:14:58 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4809079#M7769</guid>
      <dc:creator>sm000x</dc:creator>
      <dc:date>2023-04-05T21:14:58Z</dc:date>
    </item>
    <item>
      <title>Re: ncs-netsim start returns failure</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4809319#M7770</link>
      <description>&lt;P&gt;Hi Sm00x,&lt;/P&gt;
&lt;P&gt;Great, the package with that&amp;nbsp;&lt;STRONG&gt;tailf:validate&lt;/STRONG&gt; 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-&amp;lt;package&amp;gt;.log file where a possible problem could be logged.&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Johan&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 07:35:59 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4809319#M7770</guid>
      <dc:creator>jvikman</dc:creator>
      <dc:date>2023-04-06T07:35:59Z</dc:date>
    </item>
    <item>
      <title>Re: ncs-netsim start returns failure</title>
      <link>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4809476#M7771</link>
      <description>&lt;P&gt;Hi, Johan:&lt;/P&gt;&lt;P&gt;Thank you for the information. The package is java package, however, I do not fi&lt;BR /&gt;nd any java-vm-&amp;lt;package&amp;gt;.log file, either in netsim directory or in NSO log dire&lt;BR /&gt;ctory.&lt;/P&gt;&lt;P&gt;However, I took out all the "tailf:validate appplicationRestartWarning" statemen&lt;BR /&gt;ts in the package and recompiled again. This time the netsim starts fine.&lt;/P&gt;&lt;P&gt;Thank you so much for your help. This is really a helpful information.&lt;/P&gt;&lt;P&gt;sm000x&lt;/P&gt;</description>
      <pubDate>Thu, 06 Apr 2023 12:49:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/nso-developer-hub-discussions/ncs-netsim-start-returns-failure/m-p/4809476#M7771</guid>
      <dc:creator>sm000x</dc:creator>
      <dc:date>2023-04-06T12:49:52Z</dc:date>
    </item>
  </channel>
</rss>

