networktocode / pyntc

Python library focused on tasks related to device level and OS management.
https://pyntc.readthedocs.io/en/latest/
Other
170 stars 52 forks source link

Upgrade in install mode fails when packages.conf file is not in flash #263

Closed balmasea closed 1 year ago

balmasea commented 1 year ago

Environment

Expected Behavior

When running an upgrade in a IOS devices in install mode that originally was in bundle mode, upgrade should run without checking the existence of packages.conf file, as this file is generated with the install activate command. Same error is raised when running a cleanup command because lack of space:

Observed Behavior

Error packages.conf was not found in flash: on {HOSTNAME} is raised.

Steps to Reproduce

  1. Enter to a device in install mode and run command install remove inactive or enter to a device currently in bundle mode with no packages.conf file.
  2. Run an upgrade in install mode against the device
  3. Error will be raised.
jeffkala commented 1 year ago

fixed in #264 #262