Template version job hasn't completed! #8338
-
coder templates create legacy-test-go-template
This template has required variables! They are scoped to var.use_kubeconfig Set this to false if the Coder host is itself running as a Pod on the same Set this to true if the Coder host is running outside the Kubernetes cluster
|
Beta Was this translation helpful? Give feedback.
Replies: 28 comments 3 replies
-
Can you explain the issue in detail? And share your template? |
Beta Was this translation helpful? Give feedback.
-
I am using windows machine, using mobaxterm for linux shell. I need to create templates using coder client.
I am doing migration of legacy variables as per https://coder.com/docs/v2/latest/templates/parameters#migration |
Beta Was this translation helpful? Give feedback.
-
Hi, @da00891219 |
Beta Was this translation helpful? Give feedback.
-
@da00891219 try running Coder with |
Beta Was this translation helpful? Give feedback.
-
Also, #7668 seems like a related issue. |
Beta Was this translation helpful? Give feedback.
-
We need server logs to confirm what is behind the scenes. |
Beta Was this translation helpful? Give feedback.
-
Hi, How can we get server logs for coder? |
Beta Was this translation helpful? Give feedback.
-
From pod logs i see:
Is this what you mean by server logs? |
Beta Was this translation helpful? Give feedback.
-
We need logs from the Coder server, it depends how you deployed Coder and you can restart the server with |
Beta Was this translation helpful? Give feedback.
-
It looks like whether success or failure the job status is not getting passed from server to cli, both are same version. Steps i did to push the template:
For me now another error: Workspace is still not starting. In that error on the workspace pod i again see the JSON error which we have raised here: #7929
|
Beta Was this translation helpful? Give feedback.
-
I have a few questions.
|
Beta Was this translation helpful? Give feedback.
-
@da00891219 are you allowing WebSockets to upgrade properly? It seems like that isn't the case, so the agent can never connect. |
Beta Was this translation helpful? Give feedback.
-
Now we had 2 Issues here- v0.23.4 (http)
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
@kylecarbs or @matifali Can you please help us with above issues. Thank you. |
Beta Was this translation helpful? Give feedback.
-
We identified that SSL enablement causing this issue, Any help to fix this issues?
|
Beta Was this translation helpful? Give feedback.
-
looks similar to this. hashicorp/terraform#27867 (comment) Please try using the latest provider version. |
Beta Was this translation helpful? Give feedback.
-
I have modified my template to user coder provider v0.9.0 and kubernetes provider v2.21.1 (both are latest). And now I can't see ICONS.
|
Beta Was this translation helpful? Give feedback.
-
I have tried curl -k to ignore certs. it stopped above error but end up in new error to create volumes.
|
Beta Was this translation helpful? Give feedback.
-
though we give curl -k, it is not taking it. It was referenced inside product somewhere I think. I still see this error.
|
Beta Was this translation helpful? Give feedback.
-
@bpmct, can you see what is happening here? |
Beta Was this translation helpful? Give feedback.
-
I think "coder_agent.coder.init_script" is having curl command. And curl command not able to find local issuer certificate. How to solve this, help is appreciated. |
Beta Was this translation helpful? Give feedback.
-
@sharkymark any help on this appreciated, we are stuck. |
Beta Was this translation helpful? Give feedback.
-
Hi @da00891219 - to resolve the local issuer certificate error, you will need to add the certificate attached to your Coder access URL into your container image for the workspace pod. What is the OS of the container image? Ubuntu, RHEL, etc. |
Beta Was this translation helpful? Give feedback.
-
The one I am testing is linux/amd64, we have ubuntu also. I have enabled tls in coder (values.yaml) and upgrade coder ...
my-tls-secret is created in coder namespace (passed .crt and .key files using kubectl) |
Beta Was this translation helpful? Give feedback.
-
@da00891219 would it be possible for you to update the image your using to install |
Beta Was this translation helpful? Give feedback.
-
I can try |
Beta Was this translation helpful? Give feedback.
@da00891219 note that
update-ca-certificates
will only work if the certificate is already added to the image trust store. the location of this trust store varies depending upon the OS (debian and centOS have different locations). for example: