Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server behind Istio Gateway #13449

Closed
3 of 4 tasks
esn89 opened this issue Aug 10, 2024 · 1 comment
Closed
3 of 4 tasks

Server behind Istio Gateway #13449

esn89 opened this issue Aug 10, 2024 · 1 comment
Labels
area/server area/upstream This is an issue with an upstream dependency, not Argo itself type/support User support issue - likely not a bug

Comments

@esn89
Copy link

esn89 commented Aug 10, 2024

Pre-requisites

  • I have double-checked my configuration
  • I have tested with the :latest image tag (i.e. quay.io/argoproj/workflow-controller:latest) and can confirm the issue still exists on :latest. If not, I have explained why, in detail, in my description below.
  • I have searched existing issues and could not find a match for this bug
  • I'd like to contribute the fix myself (see contributing guide)

What happened? What did you expect to happen?

Downloaded, installed Argo Workflows 3.5.10, with secure=false and BASE_HREF=/ behind Istio, gives errors of:

upstream connect error or disconnect/reset before headers. retried and the latest reset reason: connection failure

Or, it just loads a blank page

Version(s)

3.5.10

Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.

No workflows yet being that I wasn't even able to get to that part

What I can tell you is that, I have set:

--secure false with BASE_HREF=/.

On Istio Gateway:

apiVersion: networking.istio.io/v1beta1
kind: Gateway
metadata:
  name: dev-gateway
spec:
  selector:
    istio: dev-ingressgateway
  servers:
  - hosts:
    - workflows.mycompany.com
    port:
      name: https
      number: 443
      protocol: HTTPS
    tls:
      credentialName: istio-ingress-server-tls
      mode: SIMPLE

VirtualService:

apiVersion: networking.istio.io/v1beta1
kind: VirtualService
metadata:
  name: argo-vs
  namespace: argo
spec:
  gateways:
  - default/dev-gateway
  hosts:
  - workflows.mycompany.com
  http:
  - match:
    - uri:
        prefix: /
    rewrite:
      uri: /
    route:
    - destination:
        host: my-argo-workflows-server
        port:
          number: 2746

Kubernetes Service:

apiVersion: v1
kind: Service
metadata:
  labels:
    app: server
    app.kubernetes.io/component: server
    app.kubernetes.io/instance: my-argo-workflows
    app.kubernetes.io/managed-by: Helm
    app.kubernetes.io/name: argo-workflows-server
    app.kubernetes.io/part-of: argo-workflows
    app.kubernetes.io/version: v3.5.10
    helm.sh/chart: argo-workflows-0.41.14
  name: my-argo-workflows-server
  namespace: argo
spec:
  clusterIP: 172.16.141.165
  clusterIPs:
  - 172.16.141.165
  internalTrafficPolicy: Cluster
  ipFamilies:
  - IPv4
  ipFamilyPolicy: SingleStack
  ports:
  - port: 2746
    protocol: TCP
    targetPort: 2746
  type: ClusterIP
status:
  loadBalancer: {}

Logs from the workflow controller

I haven't ran any workflows yet

Logs from in your workflow's wait container

I haven't ran any workflows yet

I also took a look and did some searching and saw something similar here: #3080 (comment)
from @arnoldrw and @agilgur5 , I tried that but to no avail.

@esn89 esn89 added the type/bug label Aug 10, 2024
@agilgur5 agilgur5 added area/server type/support User support issue - likely not a bug area/upstream This is an issue with an upstream dependency, not Argo itself and removed type/bug labels Aug 11, 2024
@agilgur5 agilgur5 changed the title Argo Workflows behind Istio Server behind Istio Gateway Aug 11, 2024
@agilgur5
Copy link

agilgur5 commented Aug 11, 2024

You filed this as a bug, but this is not an Argo bug. The Server works and has E2E tests on CI, is used during dev, and many people have it working, including in the Ingress examples you linked.

You also had it working yourself on Slack.
So this is an Ingress/Istio GW/VS configuration issue and not an Argo bug.

As the "Create a new issue" chooser says, issues are for bugs, while Slack and Discussions are for support. You already have a Slack thread and did receive some debugging help from the community already.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/server area/upstream This is an issue with an upstream dependency, not Argo itself type/support User support issue - likely not a bug
Projects
None yet
Development

No branches or pull requests

2 participants