[BUG]: CSM Operator does not calculate status correctly when module is deployed with driver #1122
Labels
area/csm-operator
type/bug
Something isn't working. This is the default label associated with a bug issue.
Milestone
Bug Description
Operator is not correctly setting status when module is deployed with driver.
This statement: https://github.com/dell/csm-operator/blob/e135454e5df50402c4080ed94e5303228b869167/pkg/utils/status.go#L350
Will not work, resulting in only driver state being calculated.
This lead to a case where AM controller failed to deploy, but since driver deploy succeeded, we saw overall CSM status set to succeeded.
Logs
See JRIA
Screenshots
No response
Additional Environment Information
No response
Steps to Reproduce
Expected Behavior
CSM status should be "failed"
CSM Driver(s)
PowerFlex, but issue is probably with all drivers
Installation Type
CSM Operator
Container Storage Modules Enabled
No response
Container Orchestrator
k8s 1.23
Operating System
rhel 8.6
The text was updated successfully, but these errors were encountered: