# Pxc cluster 1 is in error state k8s

**URL:** <https://forums.percona.com/t/pxc-cluster-1-is-in-error-state-k8s/34469>\
**Category:** Percona XtraDB Cluster 8.x\
**Created:** [October 19, 2024, 6:01pm UTC](https://forums.percona.com/t/pxc-cluster-1-is-in-error-state-k8s/34469 "2024-10-19T18:01:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![bram](https://avatars.discourse-cdn.com/v4/letter/b/9d8465/32.png) [@bram](https://forums.percona.com/u/bram)\
**Post date:** [October 19, 2024, 6:01pm UTC](https://forums.percona.com/t/pxc-cluster-1-is-in-error-state-k8s/34469/1 "2024-10-19T18:01:35Z")

</div>

Hi,

My cluster state has status error, I would like to know if I can clear those error messages. Backups won’t run restores can’t stop the cluster  
cr: 1.15  
k8s: 129.9

NAME ENDPOINT STATUS PXC PROXYSQL HAPROXY AGE  
cluster1 cluster1-haproxy.default error 1 1 29m

though all pods are running:

cluster1-haproxy-0 2/2 Running 0 29m  
cluster1-haproxy-1 2/2 Running 0 29m  
cluster1-haproxy-2 2/2 Running 0 28m  
cluster1-pxc-0 3/3 Running 0 29m  
cluster1-pxc-1 3/3 Running 0 29m  
cluster1-pxc-2 3/3 Running 0 28m

Backups are not running even with unsafe options

and the cluster1 pxc describe says:

Status:  
Backup:  
Conditions:  
Last Transition Time: 2024-10-19T17:19:47Z  
Status: True  
Type: initializing  
Last Transition Time: 2024-10-19T17:20:48Z  
Message: update persistentvolumeclaim/datadir-cluster1-pxc-1: persistentvolumeclaims “datadir-cluster1-pxc-1” is forbidden: only dynamically provisioned pvc can be resized and the storageclass that provisions the pvc must support resize  
Reason: ErrorReconcile  
Status: True  
Type: error  
Haproxy:  
Label Selector Path: [app.kubernetes.io/component=haproxy,app.kubernetes.io/instance=cluster1,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator,app.kubernetes.io/name=percona-xtradb-cluster,app.kubernetes.io/part-of=percona-xtradb-cluster](http://app.kubernetes.io/component=haproxy,app.kubernetes.io/instance=cluster1,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator,app.kubernetes.io/name=percona-xtradb-cluster,app.kubernetes.io/part-of=percona-xtradb-cluster)  
Ready: 1  
Size: 3  
Status: initializing  
Host: cluster1-haproxy.default  
Logcollector:  
Message:  
Error: update persistentvolumeclaim/datadir-cluster1-pxc-1: persistentvolumeclaims “datadir-cluster1-pxc-1” is forbidden: only dynamically provisioned pvc can be resized and the storageclass that provisions the pvc must support resize  
Observed Generation: 1  
Pmm:  
Proxysql:  
Pxc:  
Label Selector Path: [app.kubernetes.io/component=pxc,app.kubernetes.io/instance=cluster1,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator,app.kubernetes.io/name=percona-xtradb-cluster,app.kubernetes.io/part-of=percona-xtradb-cluster](http://app.kubernetes.io/component=pxc,app.kubernetes.io/instance=cluster1,app.kubernetes.io/managed-by=percona-xtradb-cluster-operator,app.kubernetes.io/name=percona-xtradb-cluster,app.kubernetes.io/part-of=percona-xtradb-cluster)  
Ready: 1  
Size: 3  
Status: initializing  
Ready: 2  
Size: 6  
State: error  
Events:

Does anyone have an idea on how to clear the status and get the pxc cluster1 error gone?

Thanks al lot

Bram
