Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: CSM Operator object goes into failed state when deployments are getting scaled down/up #816

Closed
rajendraindukuri opened this issue May 18, 2023 · 1 comment
Assignees
Labels
area/csm-operator type/bug Something isn't working. This is the default label associated with a bug issue.
Milestone

Comments

@rajendraindukuri
Copy link
Collaborator

Bug Description

The CSM object is not tracking the Available count during scale down of deployment.

This affects all existing drivers. Attaching the log for reference.

snippet for when deployment is scaled down to 1 :

Here though the

Status:
Controller Status:
Available: 2
Desired: 1
Failed: 0
Node Status:
Available: 2
Desired: 2
Failed: 0
State: Failed

and deployment status:

[root@master-1-lGshZ2jK1CelR ~]# k get deployment -n test-powerstore
NAME                         READY   UP-TO-DATE   AVAILABLE   AGE
test-powerstore-controller   1/1     1            1           24m

The Available state should be reflecting a value of 1 matching the current deployment available count.

Logs

Status:
Controller Status:
Available: 2
Desired: 1
Failed: 0
Node Status:
Available: 2
Desired: 2
Failed: 0
State: Failed

and deployment status:

[root@master-1-lGshZ2jK1CelR ~]# k get deployment -n test-powerstore
NAME                         READY   UP-TO-DATE   AVAILABLE   AGE
test-powerstore-controller   1/1     1            1           24m

Screenshots

No response

Additional Environment Information

No response

Steps to Reproduce

  1. Install CSM Operator
  2. Create CR using any of the samples under CSM Operator
  3. Scale down the deployments using "k scale deployment/<deployment_name> --replicas="
  4. Observe the state of CSM by "k get csm -n "

Expected Behavior

CSM should reflect the no of replicas as scaled and should be in succeeded state

CSM Driver(s)

N/A

Installation Type

CSM Operator

Container Storage Modules Enabled

No response

Container Orchestrator

any kuberntes version supported

Operating System

RHEL 8.5

@rajendraindukuri rajendraindukuri added needs-triage Issue requires triage. type/bug Something isn't working. This is the default label associated with a bug issue. labels May 18, 2023
@rajendraindukuri rajendraindukuri self-assigned this May 18, 2023
@rajendraindukuri rajendraindukuri added area/csm-operator and removed needs-triage Issue requires triage. labels May 18, 2023
@rajendraindukuri rajendraindukuri added this to the v1.7.0 milestone May 18, 2023
@bharathsreekanth
Copy link
Contributor

@rajendraindukuri Can we close this issue now?

@shaynafinocchiaro shaynafinocchiaro changed the title [BUG]: CSM object goes into failed state when deployments are getting scaled down/up [BUG]: CSM Operator object goes into failed state when deployments are getting scaled down/up May 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/csm-operator type/bug Something isn't working. This is the default label associated with a bug issue.
Projects
None yet
Development

No branches or pull requests

2 participants