Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements
You may experience some slow load times, errors, and slight inconsistencies. We ask for your patience as we finalize the launch. Thank you.

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Nexus 5K Python Access Error

I have an unusual problem accessing the python on a Nexus 5548P.

The 5k is set up to use ACS authentication and my user account has the correct role set (network-admin) from the 'show user-account' command my account shows the correct role assignment and all other commands work as expected. When I try to enter the python shell I am prompted for a password to which I have no valid credentials and I get returned to the exec prompt after the following message:

sudo: 3 incorrect password attempts

ImportError: No module named site

 

If I then disable the ACS server and log into the default local admin account  I can enter the python shell without any problem. If I log out and then enable the ACS server and log into to my normal user account I can now access the python shell. The problem returns after the switch is reloaded.

For completeness I also tried the above process without entering the python shell from the admin account and I was unable to access the shell on my user account.

Any ideas would be greatly appreciated.

Dan Hunter

 

 

  • EEM Scripting
1 ACCEPTED SOLUTION

Accepted Solutions
Cisco Employee

Looks like a bug (CSCui43663)

Looks like a bug (CSCui43663).  The workaround is as you describe.  The bug is currently being investigated.

3 REPLIES
Cisco Employee

Looks like a bug (CSCui43663)

Looks like a bug (CSCui43663).  The workaround is as you describe.  The bug is currently being investigated.

New Member

Thanks Joseph, any idea when

Thanks Joseph, any idea when that bug will be made public?

Cisco Employee

The bug was filed by

The bug was filed by development, and it wasn't written in a way to be immediately made public.  It will need a release note.  I'm a bit bogged down at the moment, but if you open a TAC case, they should be able to adjust this bug to make it public.

117
Views
0
Helpful
3
Replies