Comments (4)
Temporary fix in latest dev commit
from iosfw.
tested, seemed to work great! I didnt put prior output originally, but it always had json dump of both the config file as well as another dump of the NAPAM options after asking for secret.
Fixed from my perspective.
$ ./upgrade-cisco.py
Checking dhcp-buildroom-4 Type: ASR-920-4SZ-A Version OK: 16.9.5f
Checking dhcp-buildroom-3 Type: ASR-920-4SZ-A Version OK: 16.9.5f
Checking dhcp-buildroom-2 Type: ASR-920-4SZ-A Version OK: 16.9.5f
Checking dhcp-buildroom-5 Type: ASR-920-4SZ-A Version Mismatch! Device: 15.6(2)SP7 Desired: 16.9.5f
lets try to upgrade dhcp-buildroom-5
===============================================
Opening connection to dhcp-buildroom-5 via ssh...
Connected to available-device (ASR-920-4SZ-A) as netconf via ssh
Running version: 15.6(2)SP7
Upgrade version: 16.9.5f
Upgrade status: NEEDS UPGRADE
Starting upgrade on available-device at 15:12:34 2020-05-28...
Disabling line vty exec-timeout...
Checking free space...
Found enough free space!
Installing new firmware...
Starting transfer. Expect this to take several minutes...
Transfer complete! Verifying hash...
Hash verified!
Checking boot image...
Setting boot image to bootflash:/asr920-universalk9_npe.16.09.05f.SPA.bin...
Success! New boot image set to bootflash:/asr920-universalk9_npe.16.09.05f.SPA.bin.
Scheduling reload...
Restoring line vty exec-timeout...
Upgrade on available-device completed at 15:23:27 2020-05-28
Total time elapsed: 0:10:53.721641
from iosfw.
Note that i upgraded to 0.9.6 and still see some debug output, only from console.
My settings have both set to info:
file_log_level: info
console_log_level: info
But this outputs to console:
{'hostname': 'dhcp-buildroom-2',
'optional_args': {'secret': '<redacted>',
'ssh_config_file': '~/.ssh/config',
'transport': 'ssh'},
'password': '<redacted>',
'timeout': 60,
'username': 'netconf'}
from iosfw.
I caught this after the 0.9.6 tag, try the latest commit
from iosfw.
Related Issues (12)
- reload error HOT 1
- iosfw 0.9.6 ProcessLookupError HOT 3
- pass `reload_at` as argument HOT 1
- Working on Cisco device? HOT 2
- Build pip package
- 3850 Improve speed HOT 11
- Endless recursion on trying NTP Update HOT 1
- Transport - Telnet? HOT 1
- reload_at config variable ignored HOT 7
- ASR920 IOS XE filename _get_version_from_file() issues HOT 11
- ASR920 ROMMON upgrade support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iosfw.