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

Gloo upstream group not working with discovery disabled #328

Closed
stefanprodan opened this issue Oct 6, 2019 · 0 comments · Fixed by #327
Closed

Gloo upstream group not working with discovery disabled #328

stefanprodan opened this issue Oct 6, 2019 · 0 comments · Fixed by #327

Comments

@stefanprodan
Copy link
Member

stefanprodan commented Oct 6, 2019

Gloo 0.20.x is not working with upstream groups without the discovery service:

  kind: VirtualService
    generation: 3
    name: podinfo
    namespace: gloo-system
    resourceVersion: "947"
    selfLink: /apis/gateway.solo.io/v1/namespaces/gloo-system/virtualservices/podinfo
    uid: f3729a2b-8014-49e8-9981-0a2b7a76c807
  spec:
    virtualHost:
      domains:
      - '*'
      name: podinfo
      routes:
      - matcher:
          prefix: /
        routeAction:
          upstreamGroup:
            name: podinfo
            namespace: test
  status:
    reported_by: gateway
    state: 1
    subresource_statuses:
      '*v1.Proxy gloo-system gateway-proxy-v2':
        reason: "warning: \n  Route Warning: InvalidDestinationWarning. Reason: invalid
          destination in weighted destination list: *v1.Upstream {test-podinfo-primary-9898
          gloo-system} not found"
        reported_by: gloo
        state: 3
  apiVersion: gloo.solo.io/v1
  kind: UpstreamGroup
  metadata:
    generation: 2
    name: podinfo
    namespace: test
    ownerReferences:
    - apiVersion: flagger.app/v1alpha3
      blockOwnerDeletion: true
      controller: true
      kind: Canary
      name: podinfo
      uid: bedfec33-8c21-45ab-8fa9-2a32beeaa0ed
    resourceVersion: "944"
    selfLink: /apis/gloo.solo.io/v1/namespaces/test/upstreamgroups/podinfo
    uid: 1498c560-da37-476c-be75-3368769fbc0e
  spec:
    destinations:
    - destination:
        upstream:
          name: test-podinfo-primary-9898
          namespace: gloo-system
      weight: 100
    - destination:
        upstream:
          name: test-podinfo-canary-9898
          namespace: gloo-system
  status:
    reason: "2 errors occurred:\n\t* destination # 1: upstream not found: list did
      not find upstream gloo-system.test-podinfo-primary-9898\n\t* destination # 2:
      upstream not found: list did not find upstream gloo-system.test-podinfo-canary-9898\n\n"
    reported_by: gloo
    state: 2
stefanprodan added a commit that referenced this issue Oct 7, 2019
Update Gloo to v0.20.2
Enable Gloo discovery Fix: #328
@stefanprodan stefanprodan changed the title Gloo v0.20 upstream group is broken Gloo v0.20 upstream group not working with discovery disabled Oct 7, 2019
@stefanprodan stefanprodan changed the title Gloo v0.20 upstream group not working with discovery disabled Gloo upstream group not working with discovery disabled Oct 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant