Giter VIP home page Giter VIP logo

Comments (9)

CecileRobertMichon avatar CecileRobertMichon commented on June 30, 2024 1

Thanks for coming back here and letting us know what fixed it! Going to close this for now since you're both unblocked, feel free to open follow up issues for anything that could have made this easier to debug.

/close

from cluster-api-provider-azure.

CecileRobertMichon avatar CecileRobertMichon commented on June 30, 2024

Does this error persist if you uninstall CAPI/CAPZ and reinstall it? are all the pods healthy on the management cluster besides the CAPZ manager? I've seen this error happen transiently once in a test when cert-manager was not running

from cluster-api-provider-azure.

bryan-cox avatar bryan-cox commented on June 30, 2024

I'm running into something similar, but not sure it's the same bug.

E1027 23:44:59.733236       1 controller.go:324]  "msg"="Reconciler error" "error"="failed to create scope: failed to configure azure settings and credentials for Identity: failed to create copied AzureIdentity brcox-hypershift-arm-clusters-brcox-hypershift-arm-brcox-hypershift-arm in capz-system: failed to get API group resources: unable to retrieve the complete list of server APIs: aadpodidentity.k8s.io/v1: the server could not find the requested resource" "AzureMachine"={"name":"brcox-hypershift-arm-f412695a-jnk28","namespace":"clusters-brcox-hypershift-arm"} "controller"="azuremachine" "controllerGroup"="infrastructure.cluster.x-k8s.io" "controllerKind"="AzureMachine" "name"="brcox-hypershift-arm-f412695a-jnk28" "namespace"="clusters-brcox-hypershift-arm" "reconcileID"="6af4e450-887d-4c13-9ac3-a0d6e72305a4"

from cluster-api-provider-azure.

CecileRobertMichon avatar CecileRobertMichon commented on June 30, 2024

@bryan-cox same questions as above

Also found this from a quick search helm/helm#6361 (comment)

Can you check kubectl get apiservices?

from cluster-api-provider-azure.

bryan-cox avatar bryan-cox commented on June 30, 2024

I'll run that command and see.

I had deleted the pod but didn't try a new cluster or something like that.

from cluster-api-provider-azure.

bryan-cox avatar bryan-cox commented on June 30, 2024

Ran that command on my mgmt cluster this morning. I didn't have any apiservices where AVAILABLE was False.

from cluster-api-provider-azure.

lieberlois avatar lieberlois commented on June 30, 2024

For me, specifically specifying the bootstrap / control plane providers fixed the issue.

# This caused the issue mentioned above
clusterctl init -b talos -c talos -i sidero
clusterctl init -i azure

# This works fine
clusterctl init -b talos -c talos -i sidero
clusterctl init -i azure -b kubeadm -c kubeadm

from cluster-api-provider-azure.

bryan-cox avatar bryan-cox commented on June 30, 2024

I got past my issue. It was a setup issue. I needed to set the AzureClusterIdentity type to ManualServicePrincipal and my secret ref was missing the key clientSecret.

from cluster-api-provider-azure.

k8s-ci-robot avatar k8s-ci-robot commented on June 30, 2024

@CecileRobertMichon: Closing this issue.

In response to this:

Thanks for coming back here and letting us know what fixed it! Going to close this for now since you're both unblocked, feel free to open follow up issues for anything that could have made this easier to debug.

/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

from cluster-api-provider-azure.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.