#start session: connect buildkit session: unexpected status 500: incompatible client

1 messages ยท Page 1 of 1 (latest)

wise marten
#

Hi, I was playing with the argo workflows on Kubernetes (on Ubuntu 24.04 LTS).
Since I updated local and dagger-helm to latest v0.19.7, it seems the minikube cluster namespace remains on previous client version and breaks on buildkit session connect ๐Ÿ‘€

โžœ dagger-module docker container list --all --filter 'name=^dagger-engine-*' --format '{{.Names}}'
dagger-engine-v0.19.7

https://docs.dagger.io/getting-started/ci-integrations/argo-workflows/
https://docs.dagger.io/reference/deployment/kubernetes/#prerequisites

Tried the troubleshooting to remove the dagger namespace/containers but in vain...
https://docs.dagger.io/reference/troubleshooting/#dagger-is-unresponsive-with-a-buildkit-error

PS: dagger checks are OK ๐Ÿ™‚

โžœ dagger-module dagger checks
โœ” Module.checks: CheckGroup! 0.0s
โœ” .run: CheckGroup! 0.0s
โœ” .list: [Check!]! 0.0s

Thanks for your feedback.

wise marten
sour copper
#

@wise marten seems like you have a very old dagger client?

sour copper
#

Is it possible that you have multiple dagger binaries in your system in different paths?

wise marten
#

Otherwise, here is my cluster state having helm.sh/chart: dagger-helm-0.19.7

wise marten
#

What I have when running Dagger shell, It seems having also trouble connecting...

sour copper
#

Is that the case?

wise marten
#

Well, it occurs that I had to simply relaunch my terminal (Ghostty) to have the right dagger version applied, was testing the dagger query in a terminal not referencing the latest dagger version after update...
Now it's ok, don't see why the terminal didn't updated ๐Ÿคทโ€โ™‚๏ธ

wise marten
#

Setting the DAGGER_CLOUD_TOKEN environment variable is only necessary if integrating with Dagger Cloud.

Just to check : It says optional but keeps the Pod in CreateContainerConfigError state. Do we have to provide any token anyway ? ๐Ÿค”

  # assumes the Dagger Cloud token is
  # in a Kubernetes secret named dagger-cloud
- name: "DAGGER_CLOUD_TOKEN"
  valueFrom:
    secretKeyRef:
      name: dagger-cloud
      key: token

Name: dagger-in-argo-98c4c
Namespace: argo
ServiceAccount: unset (will run with the default ServiceAccount)
Status: Running
Conditions:
PodRunning False
Created: Thu Nov 27 22:45:43 +0100 (4 minutes ago)
Started: Thu Nov 27 22:45:43 +0100 (4 minutes ago)
Duration: 4 minutes 15 seconds
Progress: 0/1

STEP TEMPLATE PODNAME DURATION MESSAGE
โ—ท dagger-in-argo-98c4c dagger-workflow dagger-in-argo-98c4c 4m CreateContainerConfigError: secret "dagger-cloud" not found