Skip to content

[Bug]: VirtualServer/VirtualServerRoute flapping status #7491

@sass1997

Description

@sass1997

Version

3.7.0

What Kubernetes platforms are you running on?

Kind

Steps to reproduce

  1. Deploy some VirtualServer and VirtualServerRoutes -> It really not depends what combination
  2. Do a Rollout Restart of the NGINX Ingress Controller -> Deployed as 3 Replicas
  3. Instead of Rollout Restart sometimes it also flaps the status if you just kill 1 of 3 pods
  4. Following a rollout restart, we've observed an intermittent issue. While it doesn't occur every time, there's a high probability that some virtual servers and virtual server routes experience status fluctuations. These fluctuations typically manifest as either a change to a warning status or a complete loss of status information. This behavior is most commonly observed after the restart process, although it's not guaranteed to happen in every instance. As well there is no guarantee which of the virutal server or virtual server route status will change

Method to fix is:

  • Each VirtualServer and VirtualServerRoute which has this new "wrong" status needs to be deleted and reapplied. Sometimes I've seen that I don't need to delete all of them that all are updated again correctly. So e.x . after deleting 3 of 8 the remaining 5 also got updated. As well here I can't see any schema or pattern how to force this.

Important to say is the virtualserver and virtualserverroutes are working like they should even when the status is Warning or empty.

In my opinion this status is really flaky and the deleting and readding means each time a little downtime which doesn't make sense.

Is there maybe an endpoint where I can trigger the ingress to update the virtualserver status as it does when delete and readd the manifests.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugAn issue reporting a potential bugwaiting for responseWaiting for author's response

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions