Skip to content

Investigate potential bug with graceful shutdown #1735

@pleshakov

Description

@pleshakov
Contributor

During shutdown in a longevity test, the following error was shown

INFO 2024-03-20T14:13:00.372305088Z [resource.labels.containerName: nginx-gateway] {"level":"info", "msg":"Wait completed, proceeding to shutdown the manager", "ts":"2024-03-20T14:13:00Z"}
ERROR 2024-03-20T14:13:00.374159128Z [resource.labels.containerName: nginx-gateway] {"error":"leader election lost", "level":"error", "msg":"error received after stop sequence was engaged", "stacktrace":"sigs.k8s.io/controller-runtime/pkg/manager.(*controllerManager).engageStopProcedure.func1 sigs.k8s.io/controller-runtime@v0.17.2/pkg/manager/internal.go:490", "ts":"2024-03-20T14:13:00Z"}

not clear if this can cause any issue and needs to be fixed.

Activity

github-actions

github-actions commented on Apr 4, 2024

@github-actions
Contributor

This issue is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days.

removed
stalePull requests/issues with no activity
on Apr 10, 2024
added
bugSomething isn't working
backlogCurrently unprioritized work. May change with user feedback or as the product progresses.
on Apr 10, 2024
mpstefan

mpstefan commented on Apr 10, 2024

@mpstefan
Contributor

If this occurs only during shutdown on the longevity test, I'm not sure this is worth investigating until we see this more than once or we have a better idea of impact, as this investigation could take a while.

moved this from 🆕 New to ✅ Done in NGINX Gateway Fabricon Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    backlogCurrently unprioritized work. May change with user feedback or as the product progresses.bugSomething isn't working

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @pleshakov@mpstefan@sjberman

        Issue actions

          Investigate potential bug with graceful shutdown · Issue #1735 · nginx/nginx-gateway-fabric