Very large show-sel output causes run-action to return failed message
Bug #1908311 reported by
Zachary Zehring
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hw-health-charm |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
hw-health was deployed onto a unit that's been around for a while. The sel log was so large, that it caused 'action-set' in the action to fail.
Error Message: '[Errno 7] Argument list too long: ''action-set'''
The clear actually worked, but because it's trying to set the result with such a large payload, it fails.
Possible solution: Without looking too much into the code and underlying constraints of juju, there's apparently a better method for setting this data, as there's Deprecation warnings with 'action-set'. 'function_set' is said to be the replacement, which may deal with large payloads.
Changed in charm-hw-health: | |
importance: | Undecided → Medium |
To post a comment you must log in.
This charm is no longer being actively maintained. Please consider using the new hardware- observer- operator instead. (https:/ /github. com/canonical/ hardware- observer- operator)
This issue is not critical, therefore, I mark it as "won't fix"