cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
243
Views
0
Helpful
3
Replies
Highlighted
Cisco Employee

NetSim devices oboarding issue

Below is the error I have seen while deploying the VNFD. Please let me know if Iam missing something while using auth groups.

 

Error: Failed to fetch ssh host keys for SANJOSE-SAE_TEN

 

Attached screenshot for your reference.

3 REPLIES 3
Highlighted
Cisco Employee

1. Can you check is your vm alive and reachable from NSO. (In the image I see vm-alive not-reached)

2. if you VM alive and reachable then try fetch-ssh-hostkeys if your are still facing an issue, then check your auth-groups. 

 

Note:- Provide more informative data to know about the issue. The Screenshot doesn't give information why it failed and what was the scenario etc. 

 

Highlighted

Thanks for your response Kiran. I was trying to do "VNFD CSR deployment" and hit with above "Failed to fetch ssh host keys for SANJOSE-SAE_TEN" error. Issue got fixed after extracting the IOS package. I followed the below steps.

 

1. Exit from NSO CLI shell
2. cd /usr/shared/sae
3. cd packages
4. tar xvf ncs-5.2.2.2-cisco-ios-cli-6.49.tar.gz
5. rm ncs-5.2.2.2-cisco-ios-cli-6.49.tar.gz
6. rm -rf ./state/packages-in-use.cur/
7. IS_NETSIM=true ncs --with-package-reload-force

 

 

 

 

 

Highlighted

Hi Praharsha,

There was no netsim device running on your vm/docker, which leaded this issue. Here are the useful commands to create and add device to NSO.

ncs-netsim add-device <ned-location> <device-name>
ncs-netsim start <device-name> 
ncs-netsim ncs-xml-init <device-name> > <filename.xml>
ncs_load -l -m <filename.xml>
ncs-cli -c -u admin 
devices device <device-name> ssh fetch-host-keys
devices device <device-name> sync-from

-Kiran