dapr / dapr-shared

Dapr Shared enables users to deploy Dapr as a DaemonSet or a Deployment instead of a sidecar
htttps://dapr.io
Apache License 2.0
50 stars 12 forks source link

Shared not ready with dapr 1.14.4 #56

Open luigirende opened 1 month ago

luigirende commented 1 month ago

When I use the Helm chart and set the image tag to version 1.14.4 in the values, while I have installed Dapr system at 1.14.4 version, the pod (whether in Deployment or DaemonSet mode) does not run. I see that it gets stuck with the following log: "Fetching initial identity certificate," and then it restarts.

ujala-singh commented 3 days ago

Hi @luigirende, I tried your helm chart changes for the dapr 1.14.4 runtime, but my deployment pod is failing with the below error:

Defaulted container "daprd" out of: daprd, shared-init-container (init)
{"app_id":"atlan","instance":"dapr-shared-chart-dapr-shared-chart-66667c978d-zhn7s","level":"info","msg":"Starting Dapr Runtime -- version 1.14.4 -- commit 583960dc90120616124b60ad2b7820fc0b3edf44","scope":"dapr.runtime","time":"2024-11-30T06:23:28.547806045Z","type":"log","ver":"1.14.4"}
{"app_id":"atlan","instance":"dapr-shared-chart-dapr-shared-chart-66667c978d-zhn7s","level":"info","msg":"Log level set to: info","scope":"dapr.runtime","time":"2024-11-30T06:23:28.54786042Z","type":"log","ver":"1.14.4"}
{"app_id":"atlan","instance":"dapr-shared-chart-dapr-shared-chart-66667c978d-zhn7s","level":"fatal","msg":"trust anchors are required","scope":"dapr.runtime","time":"2024-11-30T06:23:28.548124712Z","type":"log","ver":"1.14.4"}

And the init container is not able to copt root cert from dapr control plane as my configmap created by init container is empty:

apiVersion: v1
data:
  dapr-cert-chain: ""
  dapr-cert-key: ""
  dapr-trust-anchors: ""
kind: ConfigMap
metadata:
  creationTimestamp: "2024-11-30T06:19:18Z"
  name: dapr-shared-chart-shared-cm
  namespace: atlan-dapr-shared
  resourceVersion: "2430"
  uid: 513610a4-1d9b-4d71-a231-271998b4bfe7

Any idea how to solve this?

This is my original issue: https://github.com/dapr/dapr-shared/issues/60

luigirende commented 3 hours ago

@ujala-singh have you deployed dapr in the default namespace dapr-system?