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

dataCapacity couldn't be changed #154

Open
iocn-2-3-4 opened this issue Aug 6, 2024 · 0 comments
Open

dataCapacity couldn't be changed #154

iocn-2-3-4 opened this issue Aug 6, 2024 · 0 comments

Comments

@iocn-2-3-4
Copy link

Bug Report

What did you do?
I've installed casskop version 2.2.6 and after it succesfully installed, tried change dataCapacity value by editing cassandra cluster object (expand from 10 to 15, for example)

What did you expect to see?
I supposed it'll change value and trigger pvc to update it's CAPACITY

What did you see instead? Under which circumstances?
I see that dataCapacity succesfully changed in cassandra cluster values, but pvc remains the same
in operator logs:
[reconcile.go:149::github.com/cscetbon/casskop/controllers/cassandracluster.(*CassandraClusterReconciler).CheckNonAllowedChanges()] Aug 5 12:04:01.582 [W] [cluster:demo] [dcName:dc1] The Operator has refused the change on DataCapacity from [10Gi] to NewValue[15Gi]

Environment

  • casskop version: 2.2.6
  • go version: go1.21.0
  • Kubernetes version information: v1.29.3
  • Kubernetes cluster kind:
    kubectl version WARNING: This version information is deprecated and will be replaced with the output from kubectl version --short. Use --output=yaml|json to get the full version. Client Version: version.Info{Major:"1", Minor:"27", GitVersion:"v1.27.3", GitCommit:"25b4e43193bcda6c7328a6d147b1fb73a33f1598", GitTreeState:"clean", BuildDate:"2023-06-14T09:47:38Z", GoVersion:"go1.20.5", Compiler:"gc", Platform:"darwin/arm64"} Kustomize Version: v5.0.1 Server Version: version.Info{Major:"1", Minor:"29", GitVersion:"v1.29.3+k3s1", GitCommit:"8aecc26b0f167d5e9e4e9fbcfd5a471488bf5957", GitTreeState:"clean", BuildDate:"2024-03-25T23:07:24Z", GoVersion:"go1.21.8", Compiler:"gc", Platform:"linux/amd64"} WARNING: version difference between client (1.27) and server (1.29) exceeds the supported minor version skew of +/-1

  • Cassandra version: Cassandra 4.1.4

Possible Solution

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant