cancel
Showing results forĀ 
Search instead forĀ 
Did you mean:Ā 
cancel
273
Views
0
Helpful
1
Replies

Automate ISE with OpenAPIs Python and Ansible | unable to open windows

Khaledt
Level 1
Level 1

 

Hello,

this is my first time using ISE API on Devnet, I'm unable to run the following commands below on developer, getting the error message below, and can't open the Microsoft VM on RDP, receiving the error below in the screenshot.

 

Any idea what am I doing wrong? Thank you.

Run the commands below to authenticate the specified users:

python pez.py -c ise_dot1x_analyst.cfg
python pez.py -c ise_dot1x_cio.cfg
python pez.py -c ise_dot1x_contractor.cfg
python pez.py -c ise_dot1x_cxo.cfg
python pez.py -c ise_dot1x_devops.cfg
python pez.py -c ise_dot1x_engineer.cfg
python pez.py -c ise_dot1x_helpdesk.cfg
python pez.py -c ise_dot1x_netadmin.cfg
python pez.py -c ise_dot1x_netops.cfg
python pez.py -c ise_dot1x_pm.cfg
python pez.py -c ise_dot1x_probe.cfg
python pez.py -c ise_dot1x_secadmin.cfg
python pez.py -c ise_dot1x_se.cfg
python pez.py -c ise_dot1x_secops.cfg
python pez.py -c ise_dot1x_tme.cfg
python pez.py -c ise_dot1x_vendor.cfg
python pez.py -c ise_dot1x_webops.cfg
python pez.py -c ise_vpn.cfg

Last login: Fri Sep 22 00:42:21 2023 from 192.168.254.11
[developer@hcllinux ~]$
[developer@hcllinux ~]$
[developer@hcllinux ~]$
[developer@hcllinux ~]$ python pez.py -c_dot1x_analyst.cfg
python: can't open file 'pez.py': [Errno 2] No such file or directory
[developer@hcllinux ~]$
[developer@hcllinux ~]$ ^C
[developer@hcllinux ~]$ python pez.py -c_dot1x_analyst.cfg
python: can't open file 'pez.py': [Errno 2] No such file or directory

Khaledt_0-1695324598619.png

 

1 Reply 1

Alexander Stevenson
Cisco Employee
Cisco Employee

Hi @Khaledt,

I haven't personally seen this error with this sandbox before. You can see if any others have had this same issue: https://community.cisco.com/t5/custom/page/page-id/search?filter=location:4426j-disc-dev-devnet-sandbox&q=Automate%20ISE%20with%20OpenAPIs%20Python%20and%20Ansible&mode=board

Hope this helps!