Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install OS for IOS goes to infinite loop when there is not enough free disk to complete an install mode upgrade #317

Open
balmasea opened this issue Dec 18, 2024 · 0 comments

Comments

@balmasea
Copy link
Contributor

Environment

  • Python version: 3.9.18
  • pyntc version: 2.0.0

Expected Behavior

After running a command
# install add file flash:cat9k_iosxe.17.12.04.SPA.bin activate commit prompt-level none
and getting this output
FAILED: There is not enough free disk available to perform this operation on switch 1. At least 1276287 KB of free disk is required
error should be reported and process should be interrupted.

Observed Behavior

Instead of early failing, it is waiting for the device reboot until timeout expires.

Steps to Reproduce

  1. Run IOSDevice::install_os with install_mode as True in a device with not enough free disk available.
  2. Check that commands show version is being executed in a loop until timeout expires.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant