You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a security vulnerability or a crashing bug
This is not a question about how to use Istio
Bug Description
Hi,
When I start a pod with a cluster external network request, the request fails and the pod is in an error state. Not using ambient mode works.
I've installed Ambient with Cilium CNI.
I've firstly notice the bug with Argo Workflows. I have a workflow with a Git input artifact. So when the pod starts, the first init container does a git clone and with Ambient mode I get "artifact failed to load: failed to clone "https://gitlab.com/xxxx.git": Get "https://gitlab.com/xxx.git/info/refs?service=git-upload-pack": EOF
I don't get any error if I run the workflow on a non Ambient namespace.
I've reproduced the bug with a simple pod. I create a namespace test with label istio.io/dataplane-mode=ambient
Then I create a pod which fails:
apiVersion: v1
kind: Pod
metadata:
name: busybox
namespace: test
spec:
containers:
- name: busybox
image: busybox
command:
- /bin/sh
- -c
- wget https://google.com
restartPolicy: Never
But this pod succeeds:
apiVersion: v1
kind: Pod
metadata:
name: busybox
namespace: test
spec:
containers:
- name: busybox
image: busybox
command:
- /bin/sh
- -c
- sleep 1 && wget https://google.com
restartPolicy: Never
Just doing a sleep of 1 second gives enough time for the pod to get the correct network settings.
Also just the first container is affected so this pod also works:
@jbmolle this should be fixed in latest 1.23 dev builds and once istio/ztunnel#1111 merges the fix will go out in in the next 1.22 point release - apologies for the delay!
@bleggett Thank you very much for the quick fix!
I'm looking forward to using the next 1.22 release.
And thanks to all the istio contributors, Ambient is such a delight to use!
Is this the right place to submit this?
Bug Description
Hi,
When I start a pod with a cluster external network request, the request fails and the pod is in an error state. Not using ambient mode works.
I've installed Ambient with Cilium CNI.
I've firstly notice the bug with Argo Workflows. I have a workflow with a Git input artifact. So when the pod starts, the first init container does a git clone and with Ambient mode I get "artifact failed to load: failed to clone "https://gitlab.com/xxxx.git": Get "https://gitlab.com/xxx.git/info/refs?service=git-upload-pack": EOF
I don't get any error if I run the workflow on a non Ambient namespace.
I've reproduced the bug with a simple pod. I create a namespace
test
with labelistio.io/dataplane-mode=ambient
Then I create a pod which fails:
But this pod succeeds:
Just doing a sleep of 1 second gives enough time for the pod to get the correct network settings.
Also just the first container is affected so this pod also works:
And if I remove the sleep from init initContainer then it fails.
Version
Additional Information
No response
The text was updated successfully, but these errors were encountered: