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

GetZoneByNodeName Panics on Azure Stack #8754

Open
patrickdillon opened this issue Mar 27, 2025 · 1 comment · May be fixed by #8755
Open

GetZoneByNodeName Panics on Azure Stack #8754

patrickdillon opened this issue Mar 27, 2025 · 1 comment · May be fixed by #8755
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@patrickdillon
Copy link

patrickdillon commented Mar 27, 2025

What happened:

When running on Azure stack, GetZoneByNodeName panics.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

Looks introduced by #7833. Azure Stack probably does not support these API versions.

        goroutine 208 [running]:
        k8s.io/apimachinery/pkg/util/runtime.logPanic({0x32c11b8, 0x4d31120}, {0x2882600, 0x4c2b360})
                /go/src/github.com/openshift/cloud-provider-azure/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:107 +0xbc
        k8s.io/apimachinery/pkg/util/runtime.handleCrash({0x32c11b8, 0x4d31120}, {0x2882600, 0x4c2b360}, {0x4d31120, 0x0, 0x43ca65?})
                /go/src/github.com/openshift/cloud-provider-azure/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:82 +0x5e
        k8s.io/apimachinery/pkg/util/runtime.HandleCrash({0x0, 0x0, 0xc000605c00?})
                /go/src/github.com/openshift/cloud-provider-azure/vendor/k8s.io/apimachinery/pkg/util/runtime/runtime.go:59 +0x108
        panic({0x2882600?, 0x4c2b360?})
                /usr/lib/golang/src/runtime/panic.go:785 +0x132
        sigs.k8s.io/cloud-provider-azure/pkg/provider.(*availabilitySet).GetZoneByNodeName(0xc000687e90, {0x32c1110?, 0x4d31120?}, {0xc000d2b440?, 0x2?})
                /go/src/github.com/openshift/cloud-provider-azure/pkg/provider/azure_standard.go:583 +0x71
        sigs.k8s.io/cloud-provider-azure/pkg/provider.(*Cloud).GetZone(0xc000499808, {0x32c1110, 0x4d31120})
                /go/src/github.com/openshift/cloud-provider-azure/pkg/provider/azure_zones.go:184 +0x2ff
        sigs.k8s.io/cloud-provider-azure/pkg/node.(*ARMNodeProvider).GetZone(0x27ed9c0?, {0x32c1110?, 0x4d31120?}, {0x0?, 0x0?})
                /go/src/github.com/openshift/cloud-provider-azure/pkg/node/nodearm.go:83 +0x25
        sigs.k8s.io/cloud-provider-azure/pkg/nodemanager.(*CloudNodeController).getZoneByName(0xc0006884a8?, {0x32c1110?, 0x4d31120?}, 0xc000956008)
                /go/src/github.com/openshift/cloud-provider-azure/pkg/nodemanager/nodemanager.go:638 +0x3d

Environment:

  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration:
  • OS (e.g: cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Network plugin and version (if this is a network-related bug):
  • Others:
@patrickdillon
Copy link
Author

updated with stake trace

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant