Size annotations won't work with upper case size type on k8s-coredump-handler configuration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Heron Vieira |
Bug Description
Brief Description
K8s-coredump handler won't accept the size type in upper case (e.g 200K, 2M, 1G) for the annotations core_max_size, core_max_used, core_min_free. Alternatively using lower case (e.g 200k, 2m, 1g) for these annotations works.
Severity
Minor: System/Feature is usable with minor issue
Steps to Reproduce
Create a pod yml with the annotations using the size type in upper case.
annotations: {
starlingx.
starlingx.
}
Expected Behavior
The K8s-coredump handler should make the coredump respecting the configured annotations
Actual Behavior
Exception when parsing the annotations.
Reproducibility
Reproducible
System Configuration
-
Branch/Pull Time/Commit
-
Timestamp/Logs
-
Alarms
-
Test Activity
Developer Testing (Unit Test)
Workaround
Using lower case (e.g 200k, 2m, 1g) for these annotations works.
tags: | added: stx.containers |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.8.0 |
Changed in starlingx: | |
assignee: | nobody → Heron Vieira (hevieira) |
Fix proposed to branch: master /review. opendev. org/c/starlingx /utilities/ +/869392
Review: https:/