NCA FP: When upgrading from NSO6.1 M7 to M8 NSO failed with callback-node is not configured: root@nso-cnc-4-0-ha-1:~#root@nso-cnc-4-0-ha-1:~# date;sudo NCS_RELOAD_PACKAGES=force /etc/init.d/ncs restart --ignore-initial-validation;date;Thu 06 Apr 2023 10:59:12 AM PDTStopping ncs: connection refused (stop)Starting ncs: CDB: Upgrade failed: Upgrade transaction failed to validate: /ncs:devices/authgroups/group{sr-device-1}/umap{cwuser}/callback-node is not configuredDaemon died status=13.Thu 06 Apr 2023 11:22:26 AM PDT Backup files : /auto/nfv_orch/AUTO_DEV/jobjames/logs/5.0/CSCwe95313and config used -> set devices authgroups group juno-device-1 default-mapset devices authgroups group juno-device-1 default-map remote-name adminset devices authgroups group juno-device-1 default-map remote-password $9$20vECdX1uquBxN3UQ45LuPLqYaMJTQ8M9ZWFQCgGeLU=set devices authgroups group sr-device-0 default-mapset devices authgroups group sr-device-0 default-map remote-name adminset devices authgroups group sr-device-0 default-map remote-password $9$oWiTHykfTdqFfiZCDtpe7awxtPo7JEd36jFxsZnURY4=set devices authgroups group sr-device-1 default-mapset devices authgroups group sr-device-1 default-map remote-name adminset devices authgroups group sr-device-1 default-map remote-password $9$NNWOVfK4wI2VoyRCu1VVrUpyZCEjMISqPkItiOAm/3Y=set devices authgroups group sr-device-1 umap cwuser callback-node /cw-creds-getset devices authgroups group sr-device-1 umap cwuser action-name getset devices authgroups group xe-device-1 default-mapset devices authgroups group xe-device-1 default-map remote-name adminset devices authgroups group xe-device-1 default-map remote-password $9$mjuwSEdaOxLpGZWrJynhYGgvKBaeUFU+ClcYXp/C95Y=set devices authgroups group xe-device-2 default-mapset devices authgroups group xe-device-2 default-map remote-name adminset devices authgroups group xe-device-2 default-map remote-password $9$TpMGV/EY/H6GN91nQwVn7I7boWFxmJZl8jPaUKi9CZw=set devices authgroups group xe-device-2 umap cwuser callback-node /cw-creds-getset devices authgroups group xe-device-2 umap cwuser action-name get 
Hi Mohamed,Fortunately we have seen this issue before. Please take a look at the definition of callback-node:<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"><pre class="code-java">4108    leaf callback-node {4109     description4110     "Invoke a standalone action to retrieve login credentials 4111      managed devices on the instance.4112 4113      The action is invoked on the callback node that4114      is specified by an instance identifer.";4115     mandatory ;4116     type instance-identifier;4117    }</pre></div></div>Here we can see callback-node has a type of instance-identifier. Here is the definition of instance identifier:<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"><pre class="code-java">9.13. The instance-identifier Built-In Type  The instance-identifier built-in type is used to uniquely identify a  particular instance node in the data tree.</pre></div></div>This means callback-node must reference a valid existing node in NSO CDB. Here are the two callback-node commands you mentioned:<div class="code panel" style="border-width: 1px;"><div class="codeContent panelContent"><pre class="code-java">set devices authgroups group sr-device-1 umap cwuser callback-node /cw-creds-getset devices authgroups group xe-device-2 umap cwuser callback-node /cw-creds-get</pre></div></div>Here we are configuring /cw-creds-get which is not native NSO CDB config. This means we are referencing an external model that was loaded from a package. Based on the naming of the node, we can assume this node is part of a CW (Crosswork) package model. Based on the error message "/callback-node is not configured", we can assume that the package which contains /cw-creds-get is not loaded into NSO as the reference does not exist.To fix this, please make sure all dependent CW packages are defined in your NSO packages directory before reloading.Thanks,Isaac Kim