Bug #108566 Handler 'on_pod_create' failed temporarily: Sidecar of mycluster-0 is not yet co
Submitted: 21 Sep 13:26 Modified: 29 Oct 16:11
Reporter: david fazeli Email Updates:
Status: No Feedback Impact on me:
None 
Category:MySQL Operator Severity:S3 (Non-critical)
Version: OS:Ubuntu
Assigned to: MySQL Verification Team CPU Architecture:x86
Tags: MySQL Operator

[21 Sep 13:26] david fazeli
Description:
```
apiVersion: mysql.oracle.com/v2
kind: InnoDBCluster
metadata:
  name: mycluster
spec:
  secretName: mypwds
  tlsUseSelfSigned: true
  instances: 3
  router:
    instances: 1
    version: "8.0.30"
  version: "8.0.30"
  edition: "community"
  imageRepository: kuber.repo.local/infra
  datadirVolumeClaimTemplate:
    accessModes:
      - ReadWriteOnce
    resources:
      requests:
        storage: 6Gi
    storageClassName: "csi-rbd-sc"

```

kubectl apply -f innoDBCluster.yaml

How to repeat:
```
 Error    Logging                 5m21s      kopf                     Handler 'on_pod_create' failed temporarily: Sidecar of mycluster-0 is not yet configured
  Normal   Logging                 5m21s      kopf                     POD CREATED: pod=mycluster-0 ContainersReady=False Ready=False gate[configured]=None
  Normal   Logging                 5m9s       kopf                     POD CREATED: pod=mycluster-0 ContainersReady=False Ready=False gate[configured]=None
  Error    Logging                 5m9s       kopf                     Handler 'on_pod_create' failed temporarily: Sidecar of mycluster-0 is not yet configured
  Normal   Logging                 4m56s      kopf                     POD CREATED: pod=mycluster-0 ContainersReady=False Ready=False gate[configured]=None
  Error    Logging                 4m56s      kopf                     Handler 'on_pod_create' failed temporarily: Sidecar of mycluster-0 is not yet configured
  Error    Logging                 4m45s      kopf                     Handler 'on_pod_create' failed temporarily: Sidecar of mycluster-0 is not yet configured
  Normal   Logging                 4m45s      kopf                     POD CREATED: pod=mycluster-0 ContainersReady=False Ready=False gate[configured]=None
  Normal   Logging                 4m33s      kopf                     POD CREATED: pod=mycluster-0 ContainersReady=False Ready=False gate[configured]=None
  Error    Logging                 4m33s      kopf                     Handler 'on_pod_create' failed temporarily: Sidecar of mycluster-0 is not yet configured
  Error    Logging                 4m20s      kopf                     Handler 'on_pod_create' failed temporarily: Sidecar of mycluster-0 is not yet configured
  Normal   Logging                 4m20s      kopf                     POD 
```
[29 Sep 16:11] MySQL Verification Team
Hi,

Not sure what the problem is? I see some temporary errors. What is the final state?
[30 Oct 1:00] Bugs System
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".