sriovdp generates many log files when not configured properly
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Low
|
Lucas Ratusznei Fonseca |
Bug Description
*+Brief Description+*
When the label "sriovdp=enabled" is assigned to the host and no PCI-SRIOV interfaces are enabled, the sriov plugin pod remains in a crash loop and generates a large number of log files in /var/log/sriovdp.
*+Severity+*
Minor: No negative system impact other than too many logs being generated which then causes collect to timeout.
*+Steps to Reproduce+*
Step1:
Add host label "sriovdp" to the host, but not enable any of PCI-SRIOV interface.
-> Then sriov-device-plugin was failed with "CrashLoopBackOff". This will create a lot of files under /var/log/sriovdp/ on the target node.
kube-system kube-sriov-
*+Expected Behavior+*
It should not be possible to unlock the host if the label "sriovdp=enabled" is assigned and no PCI-SRIOV interfaces are enabled.
The sriov plugin pod should not crash, even if the system is not configured properly.
*+Actual Behavior+*
Excessive log files are generated by sriovdp
*+Reproducibility+*
Reproducible
*+System Configuration+*
Any
*+Last Pass+*
N/A
*+Timestamp/Logs+*
Not Required
*+Alarms+*
No alarm
*+Test Activity+*
N/A
Changed in starlingx: | |
assignee: | nobody → Lucas Ratusznei Fonseca (lratuszn) |
tags: | added: stx.networking |
Changed in starlingx: | |
importance: | Undecided → Low |
tags: | added: stx.8.0 |
Fix proposed to branch: master /review. opendev. org/c/starlingx /config/ +/869774
Review: https:/