SSH client of switch stops working for the current session after executing Python script
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-16-2016 11:02 AM
The SSH client available on EXOS stops working for the current session after executing the Python script "mlag_config_check.py" (from https://github.com/extremenetworks/ExtremeScripting/tree/master/EXOS/Python/mlag_config_check). Logging out and then back in again resolves the issue.
The same happens after running the script "show_port_vid.py" (from https://github.com/extremenetworks/ExtremeScripting/tree/master/EXOS/Python/show_port_vid), so it seems to be a problem with running (Python) scripts, not with the individual script that first showed the problem.
Reported here as asked on https://github.com/extremenetworks/ExtremeScripting .
Observed on an X620-16t switch with EXOS version 21.1.1.4-patch1-2.
Log:
login: admin password: ExtremeXOS Copyright (C) 1996-2016 Extreme Networks. All rights reserved. This product is protected by one or more US patents listed at http://www.extremenetworks.com/patents along with their foreign counterparts. ============================================================================== Press the or '?' key at any time for completions. Remember to save your configuration changes. X620-16t-PoC_01.1 # ssh2 10.255.255.12 admin@10.255.255.12's password: ExtremeXOS Copyright (C) 1996-2016 Extreme Networks. All rights reserved. This product is protected by one or more US patents listed at http://www.extremenetworks.com/patents along with their foreign counterparts. ============================================================================== Press the or '?' key at any time for completions. Remember to save your configuration changes. X620-16t-PoC_02.1 # exit Connection to 10.255.255.12 closed. X620-16t-PoC_01.2 # ssh2 10.255.255.12 admin@10.255.255.12's password: ExtremeXOS Copyright (C) 1996-2016 Extreme Networks. All rights reserved. This product is protected by one or more US patents listed at http://www.extremenetworks.com/patents along with their foreign counterparts. ============================================================================== Press the or '?' key at any time for completions. Remember to save your configuration changes. X620-16t-PoC_02.1 # exit Connection to 10.255.255.12 closed. X620-16t-PoC_01.2 # run script mlag_config_check ****mlag_config_check.py running on MLAG Peer X620-16t-PoC_02**** Local and remote FDB checksums match. MLAG config check completed. X620-16t-PoC_01.3 # ssh2 10.255.255.12 sh: ./ssh: Permission denied X620-16t-PoC_01.4 # exit login: admin password: ExtremeXOS Copyright (C) 1996-2016 Extreme Networks. All rights reserved. This product is protected by one or more US patents listed at http://www.extremenetworks.com/patents along with their foreign counterparts. ============================================================================== Press the or '?' key at any time for completions. Remember to save your configuration changes. X620-16t-PoC_01.1 # ssh2 10.255.255.12 admin@10.255.255.12's password: ExtremeXOS Copyright (C) 1996-2016 Extreme Networks. All rights reserved. This product is protected by one or more US patents listed at http://www.extremenetworks.com/patents along with their foreign counterparts. ============================================================================== Press the or '?' key at any time for completions. Remember to save your configuration changes. X620-16t-PoC_02.1 # exit Connection to 10.255.255.12 closed. X620-16t-PoC_01.2 #
Best regards,
Erik
The same happens after running the script "show_port_vid.py" (from https://github.com/extremenetworks/ExtremeScripting/tree/master/EXOS/Python/show_port_vid), so it seems to be a problem with running (Python) scripts, not with the individual script that first showed the problem.
Reported here as asked on https://github.com/extremenetworks/ExtremeScripting .
Observed on an X620-16t switch with EXOS version 21.1.1.4-patch1-2.
Log:
login: admin password: ExtremeXOS Copyright (C) 1996-2016 Extreme Networks. All rights reserved. This product is protected by one or more US patents listed at http://www.extremenetworks.com/patents along with their foreign counterparts. ============================================================================== Press the or '?' key at any time for completions. Remember to save your configuration changes. X620-16t-PoC_01.1 # ssh2 10.255.255.12 admin@10.255.255.12's password: ExtremeXOS Copyright (C) 1996-2016 Extreme Networks. All rights reserved. This product is protected by one or more US patents listed at http://www.extremenetworks.com/patents along with their foreign counterparts. ============================================================================== Press the or '?' key at any time for completions. Remember to save your configuration changes. X620-16t-PoC_02.1 # exit Connection to 10.255.255.12 closed. X620-16t-PoC_01.2 # ssh2 10.255.255.12 admin@10.255.255.12's password: ExtremeXOS Copyright (C) 1996-2016 Extreme Networks. All rights reserved. This product is protected by one or more US patents listed at http://www.extremenetworks.com/patents along with their foreign counterparts. ============================================================================== Press the or '?' key at any time for completions. Remember to save your configuration changes. X620-16t-PoC_02.1 # exit Connection to 10.255.255.12 closed. X620-16t-PoC_01.2 # run script mlag_config_check ****mlag_config_check.py running on MLAG Peer X620-16t-PoC_02**** Local and remote FDB checksums match. MLAG config check completed. X620-16t-PoC_01.3 # ssh2 10.255.255.12 sh: ./ssh: Permission denied X620-16t-PoC_01.4 # exit login: admin password: ExtremeXOS Copyright (C) 1996-2016 Extreme Networks. All rights reserved. This product is protected by one or more US patents listed at http://www.extremenetworks.com/patents along with their foreign counterparts. ============================================================================== Press the or '?' key at any time for completions. Remember to save your configuration changes. X620-16t-PoC_01.1 # ssh2 10.255.255.12 admin@10.255.255.12's password: ExtremeXOS Copyright (C) 1996-2016 Extreme Networks. All rights reserved. This product is protected by one or more US patents listed at http://www.extremenetworks.com/patents along with their foreign counterparts. ============================================================================== Press the or '?' key at any time for completions. Remember to save your configuration changes. X620-16t-PoC_02.1 # exit Connection to 10.255.255.12 closed. X620-16t-PoC_01.2 #
Best regards,
Erik
6 REPLIES 6
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-01-2016 02:07 PM
Thanks for the update!
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎07-01-2016 02:01 PM
One more update for the community, the fix for this will be included in EXOS 22.1.1, EXOS 16.2.2, EXOS 16.1.4, and the September patch of EXOS 21.1.2.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-17-2016 01:30 PM
As an update for the community, CR xos0064706 was assigned for this issue. We are currently waiting for the fix to be scoped, but once it is I will follow up here to let everyone know where the fix will be included.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
‎06-16-2016 11:21 AM
This happens with every python script, just tested with a python file containing just the statement "True":
X620-16t-PoC_01.4 # ls -rw-r--r-- 1 admin admin 5 Jun 16 13:17 a_script.py X620-16t-PoC_01.2 # run script a_script X620-16t-PoC_01.3 # ssh 10.255.255.12 sh: ./ssh: Permission denied
I'll open a case...
Br,
Erik
X620-16t-PoC_01.4 # ls -rw-r--r-- 1 admin admin 5 Jun 16 13:17 a_script.py X620-16t-PoC_01.2 # run script a_script X620-16t-PoC_01.3 # ssh 10.255.255.12 sh: ./ssh: Permission denied
I'll open a case...
Br,
Erik
