pyntc icon indicating copy to clipboard operation
pyntc copied to clipboard

3750 IOS Boot Options don't meet the current code checks

Open jeffkala opened this issue 2 years ago • 1 comments

Environment

  • Python version: 3.8
  • pyntc version: 1.0.0

Expected Behavior

Install_OS works on IOS regardless of which hardware or software is on the device.

Observed Behavior

Error:

INSTALL OS failed: CommandError: Command boot system flash was not successful: Unable to determine the boot system configuration syntax.

Steps to Reproduce

  1. Attempt to start a install_os, on a ios device (3750)

From the device perspective its appears to be a Cisco bug where nothing shows in show run | i boot system and show boot has different outputs than what is currently supported.

C3750-X#show run | i boot system
C3750-X#
C3750-X#show boot
BOOT path-list      : c3750e-universalk9-mz.152-4.E10.bin
Config file         : flash:/config.text
Private Config file : flash:/private-config.text
Enable Break        : yes
Manual Boot         : no
Allow Dev Key         : yes
HELPER path-list    :
Auto upgrade        : yes
Auto upgrade path   :
NVRAM/Config file
      buffer size:   524288
Timeout for Config
          Download:    0 seconds
Config Download
       via DHCP:       disabled (next boot: disabled)

jeffkala avatar Apr 10 '23 19:04 jeffkala

This should go hand and hand with checking if a switch is part of a stack or not

jeffkala avatar Apr 11 '23 13:04 jeffkala