Very large show-sel output causes run-action to return failed message

Bug #1908311 reported by Zachary Zehring
6
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.

Tags: bootstack
Edin S (exsdev)
Changed in charm-hw-health:
importance: Undecided → Medium
Revision history for this message
Eric Chen (eric-chen) wrote :

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"

Changed in charm-hw-health:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.