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

panic: getting VNET GUID #556

Open
sybnex opened this issue Oct 30, 2024 · 0 comments
Open

panic: getting VNET GUID #556

sybnex opened this issue Oct 30, 2024 · 0 comments

Comments

@sybnex
Copy link

sybnex commented Oct 30, 2024

Version

Karpenter Version: v0.7.0
Kubernetes Version: v1.29.9

Expected Behavior

I'm trying to install karpenter the first time and ran into the error below. for me it looks like the building of the url seems a bit wrong.

Actual Behavior

Pod is crashing with CrashLoopBackOff

Steps to Reproduce the Problem

Config:

VNET_SUBNET_ID="/subscriptions/*****/resourceGroups/*****/providers/Microsoft.Network/virtualNetworks/*****/subnets/*****"

Resource Specs and Logs

panic: getting VNET GUID: GET https://management.azure.com/subscriptions//subscriptions/*****/resourceGroups/*****/providers/Microsoft.Network/virtualNetworks/*****
--------------------------------------------------------------------------------
RESPONSE 400: 400 Bad Request
ERROR CODE: InvalidSubscriptionId
--------------------------------------------------------------------------------
{
  "error": {
    "code": "InvalidSubscriptionId",
    "message": "The provided subscription identifier 'subscriptions' is malformed or invalid."
  }
}
--------------------------------------------------------------------------------

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant