03-04-2020 06:44 AM
Hi,
I am trying to bring up NSO/ESC in our lab and running into following error when trying to connect NSO to ESC. Can you please help what could be wrong?
Thanks,
Raghu
admin@ncs(config)# load merge /home/centos/esc-authgroup.xml
Loading.
Error: on line 2: access denied
admin@ncs(config)# end
admin@ncs# exit
NSO version: nso-5.1.2.5
[centos@nso-centos ~]$ cat esc-authgroup.xml
<config xmlns="http://tail-f.com/ns/config/1.0">
<devices xmlns="http://tail-f.com/ns/ncs">
<authgroups>
<group>
<name>esc-auth</name>
<default-map>
<remote-name>admin</remote-name>
<remote-password>cisco123</remote-password>
</default-map>
</group>
</authgroups>
</devices>
admin@ncs# show packages package package-version
PACKAGE
NAME VERSION
--------------------------------
cisco-etsi-nfvo 4.2.0
esc 5.0.0.0
etsi-sol003-gen-1.13 1.13.8
openstack-cos-gen-4.2 4.2.13
nso-5.1.2.5.linux.x86_64.installer.bin.signature
-rw-r--r--. 1 centos centos 1832 Jan 27 14:01 README.signature
drwxrwxr-x. 2 centos centos 180 Jan 31 23:20 ncs-5.1.2.5-cisco-etsi-nfvo-4.2.0-bundle
-rw-rw-r--. 1 centos centos 7226142 Jan 31 23:20 ncs-5.1.2.5-cisco-etsi-nfvo-4.2.0-bundle.tar.gz
03-08-2020 01:57 AM
Might be that your admin user doesn't actually have config access to /devices.
Is that a system install or local install?
In local install, admin has full access to everything.
In system install, that user is undefined by default.
If that's the case, you'd need to provide it with the proper privileges (add it to the appropriate group) or use a different user.
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