Skip to content

bug: The upstream associated with other routes cannot be deleted, and the delete event keeps retrying #421

Closed
@Donghui0

Description

Issue description

controller log as below:
image

upstream delete failed, The delete event is added to the queue again.

Environment

  • apisix-ingress-controller version: v0.5.0
  • Kubernetes cluster version: v1.16.9

Minimal test code / Steps to reproduce the issue

  1. create apisix route, service field references an existing k8s service.
  2. delete apisix route resouce

What's the actual result? (including assertion message & call stack if applicable)

the delete event keeps retrying....

What's the expected result?

ignore related upstream

image
add resp.StatusCode != 400 condition ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions