Skip to content

KeyError: 'version' when collecting ControllersInfo - Preliminary Data #43

@rukapse

Description

@rukapse

Hi,
I have an important customer who is in preparation phase for SW version upgrades and router OS conversions from Viptela OS to IOS-XE. He has an on-prem environment and I recommended him to run the SURE tool so that we can have a better diagnosis of the network, but unfortunately there has been an error.

Here is the script output:

ITFEBSBSC1VM01:~$ python sure.py -u admin
vManage Password:
#########################################################

AURA SDWAN (SURE) - Version 2.0.0

#########################################################

Performing SD-WAN Audit & Upgrade Readiness

#########################################################

ERROR: Error Collecting Preliminary Data.
Please check error details in log file: sdwan_sure/sure_logs_09_02_2023_12_44_00.log.
If needed, please reach out to tool support at: sure-tool@cisco.com, with your report and log file.

And here is the log:

INFO:Executing the script in Normal execution mode
INFO:Generating a JSessionID
INFO:Generating CSRF Token
INFO:****Collecting Preliminary Data

ERROR:'version'
Traceback (most recent call last):
File "sure.py", line 2990, in
controllers_info = controllersInfo(controllers)
File "sure.py", line 355, in controllersInfo
controllers_info[count] = [(device['deviceType']),(device['deviceIP']),(device['version']) ,(device['reachability']),(device['globalState']),(device['timeRemainingForExpiration']), (device['state_vedgeList'])]
KeyError: 'version'

Metadata

Metadata

Assignees

Labels

assignedbugSomething isn't workingcompletedIssues/enhancement is completed/fixedduplicateThis issue or pull request already exists

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions