Skip to content

Tool fails with ERROR:'version' #3

@jacontre-c

Description

@jacontre-c

During initial data capture, the tools fails with:

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

Trigger is a controller on transition state, without full information, possibly on partial install state
The fix will have two parts:

  1. handle properly this condition and gracefully skip over those entries
  2. add a check reporting how many entries like this have been found, with their IP addresses, so user can check on them

Metadata

Metadata

Assignees

Labels

assignedbugSomething isn't workingcompletedIssues/enhancement is completed/fixed

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