Comments (9)
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.
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.
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.
@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.
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.
Ran that command on my mgmt cluster this morning. I didn't have any apiservices
where AVAILABLE was False.
from cluster-api-provider-azure.
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.
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.
@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)
- dualstack vmss cluster stuck at namespace deletion with old k8s version HOT 11
- Upgrade tests are failing with `deployments.apps "tigera-operator" not found` HOT 3
- Add test that upgrades CAPZ from latest release branch to HEAD HOT 2
- Test upgrades of CAPZ installations that manage AKS clusters HOT 2
- Tiltfile stuck in Pending when file is changed HOT 3
- Add Kubebuilder `printcolumns` to CAPZ resources HOT 2
- `CAPZ`/`CAPI` CRs are stuck in `Provisioning` with CAPZ 1.12 HOT 14
- Upgrade from 1.11 to 1.12.1 - AKS cluster changes stuck in error loop HOT 4
- ci-version templates don't have MachinePool
- prow-ipv6 and prow-dual-stack templates doesn't have OOT credential provider change HOT 3
- Does CAPZ supports workload cluster with nodes located in different regions? HOT 4
- Use `uuid.Validate` over `uuid.Parse` where appropriate HOT 5
- De-duplicate and simplify code in the controllers unit tests HOT 5
- Simplify cluster scope creation in controllers unit tests HOT 5
- Automated way to join AKS clusters to Fleet Hub
- Add artifact streaming support for managed AKS HOT 2
- API version upgrade test failing with 'Provided Kubernetes version v1.22.9 does not have a corresponding VM image in the "capi offer"' HOT 10
- Spot machine deployments fail in regions without zones due to availability sets
- Zone redundant MachinePool cannot be created HOT 1
- e2e tests should exercise `spotVMOptions` HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cluster-api-provider-azure.