server-acl-init-cleanup
returns error of [dial tcp 172.20.0.1:443: connect: connection refused]
#1376
Labels
type/question
Question about product, ideally should be pointed to discuss.hashicorp.com
Question
server-acl-init-cleanup
job returns error (connect: connection refused
):Where the init job is completed successfully
CLI Commands (consul-k8s, consul-k8s-control-plane, helm)
delete-completed-job
Helm Configuration
Logs
Shown as above, let me know if you need more information
Current understanding and Expected behavior
So, the
clean up job
should remove theinit job
so helm knows that the install is successfully completed. However, sinceclean up job
is errored out, helm never received a signal of succeed, it timed out eventually.Environment details
The image I am using:
hashicorp/consul-k8s-control-plane:0.46.0
The helm command I am using:
helm upgrade --install --create-namespace --namespace <ns> consul hashicorp/consul
Additional Context
I am suspecting that the container
post-install
runs too fast beforeistio-proxy
container finishing its work. And the code here doesnt seem to have a retry logic to handle the situation like this:consul-k8s/control-plane/subcommand/delete-completed-job/command.go
Lines 124 to 127 in 7423b10
it returns code 1 immediately.
Also, the
<ns>
is istio-injected namespace.I only use consul kv feature at this moment, so client is not required, and one server would be sufficient.
The text was updated successfully, but these errors were encountered: