After deploying a new cluster and trying to delete, showing an error for an unknown file.
F1011 16:42:50.294185 6 delete_cluster.go:33] error removing cluster from state store: refusing to delete: unknown file found: s3://oscar-ai-k8s-dev/k8s-02.dev.aws-us-west-2.datapipe.io/addons/bootstrap-channel.yaml
With kops command
dkops delete cluster --state s3://oscar-ai-k8s-dev --name k8s-02.dev.aws-us-west-2.datapipe.io 鈥攜es
CC @chrislovecnm
This was s3 being pissy, not kops. The error message was odd, so I will keep it open.
If this is not relevant we should re-open another issue around the new problem.. yeah?
@chrislovecnm @kris-nova i am also getting this kops 1.7.0 , was trying to make a new config for a new cluster i have to spin up.
error removing cluster from state store: refusing to delete: unknown file found: s3://clusters-store/xxx.org.com/addons/core.addons.k8s.io/v1.4.0.yamlOk got it. This issue is not an issue after all. It happens when a incorrect configBase is defined in your cluster configuration. Fixing that will fix this issue.
For anyone that finds this: configBase is not the same as KOPS_STATE_STORE
configBase = $KOPS_STATE_STORE/$NAME
Most helpful comment
For anyone that finds this:
configBaseis not the same asKOPS_STATE_STOREconfigBase = $KOPS_STATE_STORE/$NAME