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

Ephemeral Storage capacity change - Forbidden #1517

Closed
brickpattern opened this issue Nov 1, 2023 · 2 comments
Closed

Ephemeral Storage capacity change - Forbidden #1517

brickpattern opened this issue Nov 1, 2023 · 2 comments
Labels
needs-priority Indicates a PR lacks a `priority/foo` label and requires one.

Comments

@brickpattern
Copy link

Environment:
AWS EKS : latest
Scylla Operator : v1.11
Setup: 5 node cluster ( 1:1 scylla node to EKS node) with XFS storage on the NVME disk on the instance.
Storage type : ephemeral
Issue: underlying EKS node instance has enough storage . Attempt to increase the storage capacity in scylla.yaml resulted in below error.

spec.datacenter.racks[0].storage: Forbidden: changes in storage are currently not supported

Is this a bug report or feature request?

  • Feature Request

What should the feature do:
Increase the storage of the scylla node as permitted by the underlying ephemeral storage. When a cluster is operational with data, setting a capacity attribute be honored if the underlying ephemeral storage has enough volume to accomodate.

What is use case behind this feature:
If this is not supported, how else do we increase or replace the scylla nodes maximizing the storage capacity?

Additional Information:

@scylla-operator-bot scylla-operator-bot bot added the needs-priority Indicates a PR lacks a `priority/foo` label and requires one. label Nov 1, 2023
@tnozicka
Copy link
Contributor

tnozicka commented Nov 1, 2023

This issue is inherited from Kubernetes StatefulSets (see kubernetes/kubernetes#68737) the workaround is suggested in #825

Closing as dupe of #1103

@tnozicka tnozicka closed this as completed Nov 1, 2023
@tainnsre
Copy link

tainnsre commented Oct 17, 2024

I was changed this values in the chart scylla but when I install it then it is error

helm git:(main) ✗ helm upgrade --install scylla scylla/scylla --create-namespace --namespace scylla --values ./scylla/values.yaml --debug

history.go:56: [debug] getting history for release scylla
upgrade.go:158: [debug] preparing upgrade for scylla
upgrade.go:166: [debug] performing update for scylla
upgrade.go:364: [debug] creating upgraded release for scylla
client.go:393: [debug] checking 1 resources for changes
client.go:693: [debug] Patch ScyllaCluster "scylladb-cluster" in namespace scylla
W1017 11:13:53.501955   44447 warnings.go:70] unknown field "spec.datacenter.racks[0].resources.placement"
W1017 11:13:53.501986   44447 warnings.go:70] unknown field "spec.datacenter.racks[1].resources.placement"
W1017 11:13:53.501992   44447 warnings.go:70] unknown field "spec.datacenter.racks[2].resources.placement"
client.go:425: [debug] error updating the resource "scylladb-cluster":
	 cannot patch "scylladb-cluster" with kind ScyllaCluster: admission webhook "webhook.scylla.scylladb.com" denied the request: ScyllaCluster.scylla.scylladb.com "scylladb-cluster" is invalid: [spec.datacenter.racks[0].storage: Forbidden: changes in storage are currently not supported, spec.datacenter.racks[1].storage: Forbidden: changes in storage are currently not supported, spec.datacenter.racks[2].storage: Forbidden: changes in storage are currently not supported]
upgrade.go:476: [debug] warning: Upgrade "scylla" failed: cannot patch "scylladb-cluster" with kind ScyllaCluster: admission webhook "webhook.scylla.scylladb.com" denied the request: ScyllaCluster.scylla.scylladb.com "scylladb-cluster" is invalid: [spec.datacenter.racks[0].storage: Forbidden: changes in storage are currently not supported, spec.datacenter.racks[1].storage: Forbidden: changes in storage are currently not supported, spec.datacenter.racks[2].storage: Forbidden: changes in storage are currently not supported]
Error: UPGRADE FAILED: cannot patch "scylladb-cluster" with kind ScyllaCluster: admission webhook "webhook.scylla.scylladb.com" denied the request: ScyllaCluster.scylla.scylladb.com "scylladb-cluster" is invalid: [spec.datacenter.racks[0].storage: Forbidden: changes in storage are currently not supported, spec.datacenter.racks[1].storage: Forbidden: changes in storage are currently not supported, spec.datacenter.racks[2].storage: Forbidden: changes in storage are currently not supported]
helm.go:84: [debug] cannot patch "scylladb-cluster" with kind ScyllaCluster: admission webhook "webhook.scylla.scylladb.com" denied the request: ScyllaCluster.scylla.scylladb.com "scylladb-cluster" is invalid: [spec.datacenter.racks[0].storage: Forbidden: changes in storage are currently not supported, spec.datacenter.racks[1].storage: Forbidden: changes in storage are currently not supported, spec.datacenter.racks[2].storage: Forbidden: changes in storage are currently not supported]
helm.sh/helm/v3/pkg/kube.(*Client).Update
	helm.sh/helm/v3/pkg/kube/client.go:438
helm.sh/helm/v3/pkg/action.(*Upgrade).releasingUpgrade
	helm.sh/helm/v3/pkg/action/upgrade.go:418
runtime.goexit
	runtime/asm_arm64.s:1222
UPGRADE FAILED
main.newUpgradeCmd.func2
	helm.sh/helm/v3/cmd/helm/upgrade.go:240
github.com/spf13/cobra.(*Command).execute
	github.com/spf13/[email protected]/command.go:983
github.com/spf13/cobra.(*Command).ExecuteC
	github.com/spf13/[email protected]/command.go:1115
github.com/spf13/cobra.(*Command).Execute
	github.com/spf13/[email protected]/command.go:1039
main.main
	helm.sh/helm/v3/cmd/helm/helm.go:83
runtime.main
	runtime/proc.go:271
runtime.goexit
	runtime/asm_arm64.s:1222

can you help me, please

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs-priority Indicates a PR lacks a `priority/foo` label and requires one.
Projects
None yet
Development

No branches or pull requests

3 participants