Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to load yang model Cisco-IOS-XE-native #108

Open
rc-networks opened this issue Mar 6, 2024 · 4 comments
Open

Unable to load yang model Cisco-IOS-XE-native #108

rc-networks opened this issue Mar 6, 2024 · 4 comments

Comments

@rc-networks
Copy link

Yang suite installed on Ubuntu unable to load Cisco-IOS-XE-native under Explore
image

No logs showing up in the console.
image

All other models are working as expected.
IE:
image

What do I need to check?

@miott
Copy link
Collaborator

miott commented Mar 6, 2024

The Cisco-IOS-XE-native model is very large and takes about 1.2GB of memory to create then ends up sending about 300MB to the web browser. We have successfully tested it on a Lenovo Thinkpad in the IE browser. I would suggest trying FireFox or Google Chrome to see if that works. If it doesn't you should probably do an evaluation of how much memory you have available on your laptop.

@rc-networks
Copy link
Author

I'm already using Chrome by default.
Using Firefox did not help.
I'm on Apple M1 Pro with 16GB memory, Got an extra unused 7GB memory.
Restarted the laptop as well.
Did not help.

@miott
Copy link
Collaborator

miott commented Mar 7, 2024

FYI, there is a Cisco DevNet community at https://community.cisco.com/t5/tools/bd-p/j-disc-dev-net-tools and you may want to browse YANG Suite information there.

When you labeled the browser screenshot above as "IE:" I had the impression you had yangsuite installed on an Ubuntu server or Windows WSL and were accessing it from a Windows IE browser.

We have established that you have the yangsuite server installed in an Ubuntu OS so your Ubuntu is sending the web pages according to calls from your Mac browser. Go to Admin-->View logs, set Log verbosity to Debugging, and "Load Logs". The message at the bottom is the most recent. Any hints there? Do any errors show up from the yangsuite server on Ubuntu? If you are running yangsuite in a docker container you can type "docker logs yangsuite".

@rc-networks
Copy link
Author

Should I ask in the community instead?

Looking at the logs, I only see the following messages repeated over and over, even after retrying to load the Cisco-IOS-XE-native model.

DEBUG	Split userset "root+ios-xe-17-09-04a" to user "root", setname/reponame "ios-xe-17-09-04a"	ysfilemanager.filemanager.utility	75	split_user_set
INFO	Loaded YANG set 'IOS-XE_17_09_04a' owned by 'root' (609 modules) from /root/yangsuite/users/root/yangsets/ios-xe-17-09-04a	ysfilemanager.filemanager.yangset	303	from_file
DEBUG	Cached ctx has same yangset	ysyangtree.context	167	get_instance

I exported the logs on a text file and did regex for each line to make sure nothing is missed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants