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

ReconcileError in Intro chapter #3

Closed
krin-wang opened this issue Mar 15, 2024 · 7 comments
Closed

ReconcileError in Intro chapter #3

krin-wang opened this issue Mar 15, 2024 · 7 comments

Comments

@krin-wang
Copy link

krin-wang commented Mar 15, 2024

Thank Viktor for this amazing tutorial.

I just encountered a ReconcileError in Intro chapter. I followed all steps, but when I want to confirm if claims are resolved and provisioned, the errors came out.

$ kubectl get managed 
NAME                                                    KIND         PROVIDERCONFIG   SYNCED   READY   AGE
object.kubernetes.crossplane.io/silly-demo-deployment   Deployment   cluster-01       False            16m
object.kubernetes.crossplane.io/silly-demo-ingress      Ingress      cluster-01       False            16m
object.kubernetes.crossplane.io/silly-demo-secret       Secret       cluster-01       False            16m
object.kubernetes.crossplane.io/silly-demo-service      Service      cluster-01       False            16m
$ crossplane beta trace clusterclaim cluster-01 --namespace a-team
NAME                                   SYNCED   READY   STATUS
ClusterClaim/cluster-01 (a-team)       True     False   Waiting: Claim is waiting for composite resource to become Ready
└─ CompositeCluster/cluster-01-kt9h7   False    -       ReconcileError: cannot select Composition: no compatible Compositions found
$ crossplane beta trace sqlclaim silly-demo-db --namespace a-team
NAME                              SYNCED   READY   STATUS
SQLClaim/silly-demo-db (a-team)   True     False   Waiting: Claim is waiting for composite resource to become Ready
└─ SQL/silly-demo-db-gqr2q        False    -       ReconcileError: cannot select Composition: no compatible Compositions found
@vfarcic
Copy link
Owner

vfarcic commented Mar 15, 2024

Can you execute kubectl get pkgrev and paste the output here?

@vfarcic
Copy link
Owner

vfarcic commented Mar 15, 2024

@krin-wang We can also take a look at it together to speed it up. It'll probably take much less time if you can share your screen. The only issue is that I'm free tomorrow (Saturday) and then won't be available during the whole next week due to my tasks at KubeCon Paris.

@krin-wang
Copy link
Author

$ kubectl get pkgrev
NAME                                                                  HEALTHY   REVISION   IMAGE                                                    STATE    DEP-FOUND   DEP-INSTALLED   AGE
configurationrevision.pkg.crossplane.io/crossplane-app-677ba9020e3d   True      1          xpkg.upbound.io/devops-toolkit/dot-application:v0.5.45   Active                               8m44s
configurationrevision.pkg.crossplane.io/crossplane-k8s-fbdfd88cc00b   True      1          xpkg.upbound.io/devops-toolkit/dot-kubernetes:v0.12.33   Active   11          11              8m44s
configurationrevision.pkg.crossplane.io/crossplane-sql-c664d2d2b168   True      1          xpkg.upbound.io/devops-toolkit/dot-sql:v0.8.62           Active   11          11              8m44s

NAME                                                                                      HEALTHY   REVISION   IMAGE                                                             STATE    DEP-FOUND   DEP-INSTALLED   AGE
providerrevision.pkg.crossplane.io/crossplane-contrib-provider-kubernetes-63506a3443e0    True      1          xpkg.upbound.io/crossplane-contrib/provider-kubernetes:v0.10.0    Active                               8m44s
providerrevision.pkg.crossplane.io/crossplane-contrib-provider-sql-a2c547580f15           True      1          xpkg.upbound.io/crossplane-contrib/provider-sql:v0.9.0            Active                               8m11s
providerrevision.pkg.crossplane.io/crossplane-provider-helm-503c3591121b                  True      1          xpkg.upbound.io/crossplane-contrib/provider-helm:v0.15.0          Active                               8m44s
providerrevision.pkg.crossplane.io/upbound-provider-aws-ec2-2f30b431efaa                  True      1          xpkg.upbound.io/upbound/provider-aws-ec2:v1.2.0                   Active   1           1               8m36s
providerrevision.pkg.crossplane.io/upbound-provider-aws-eks-eb3fb25a5b08                  True      1          xpkg.upbound.io/upbound/provider-aws-eks:v1.2.0                   Active   1           1               8m41s
providerrevision.pkg.crossplane.io/upbound-provider-aws-iam-7d4669f68208                  True      1          xpkg.upbound.io/upbound/provider-aws-iam:v1.2.0                   Active   1           1               8m39s
providerrevision.pkg.crossplane.io/upbound-provider-aws-rds-317a2d5a1a9d                  True      1          xpkg.upbound.io/upbound/provider-aws-rds:v1.2.0                   Active   1           1               8m19s
providerrevision.pkg.crossplane.io/upbound-provider-azure-containerservice-88d75a9a4585   True      1          xpkg.upbound.io/upbound/provider-azure-containerservice:v0.42.1   Active   1           1               8m32s
providerrevision.pkg.crossplane.io/upbound-provider-azure-dbforpostgresql-49158093bffc    True      1          xpkg.upbound.io/upbound/provider-azure-dbforpostgresql:v0.42.1    Active   1           1               8m16s
providerrevision.pkg.crossplane.io/upbound-provider-family-aws-b235150fbb66               True      1          xpkg.upbound.io/upbound/provider-family-aws:v1.2.0                Active                               8m7s
providerrevision.pkg.crossplane.io/upbound-provider-family-azure-e1dcb1886883             True      1          xpkg.upbound.io/upbound/provider-family-azure:v0.42.1             Active                               8m5s
providerrevision.pkg.crossplane.io/upbound-provider-family-gcp-31bd168f555e               True      1          xpkg.upbound.io/upbound/provider-family-gcp:v1.0.1                Active                               8m3s
providerrevision.pkg.crossplane.io/upbound-provider-gcp-container-7d39525db198            True      1          xpkg.upbound.io/upbound/provider-gcp-container:v1.0.1             Active   1           1               8m30s
providerrevision.pkg.crossplane.io/upbound-provider-gcp-sql-b2dba58cd0fc                  True      1          xpkg.upbound.io/upbound/provider-gcp-sql:v1.0.1                   Active   1           1               8m13s

NAME                                                                                              HEALTHY   REVISION   IMAGE                                                                    STATE    DEP-FOUND   DEP-INSTALLED   AGE
functionrevision.pkg.crossplane.io/crossplane-contrib-function-auto-ready-ad9454a37aa7            True      1          xpkg.upbound.io/crossplane-contrib/function-auto-ready:v0.2.1            Active                               8m21s
functionrevision.pkg.crossplane.io/crossplane-contrib-function-go-templating-eff9a0400879         True      1          xpkg.upbound.io/crossplane-contrib/function-go-templating:v0.4.1         Active                               8m24s
functionrevision.pkg.crossplane.io/crossplane-contrib-function-patch-and-transform-97397f24bd9f   True      1          xpkg.upbound.io/crossplane-contrib/function-patch-and-transform:v0.4.0   Active                               8m27s

@krin-wang
Copy link
Author

krin-wang commented Mar 16, 2024

@vfarcic sorry that I missed your reply today. I'm now in Tokyo (UTC +09:00), if you happen to be online in next 2 hours, we can join a google meeting to take a look together.

Otherwise, we can find a time next week.

@vfarcic
Copy link
Owner

vfarcic commented Mar 16, 2024

Can you please merge with upstream and try it again?

@krin-wang
Copy link
Author

The above ReconcileError is gone, and I'm waiting for aws EKS cluster provisioning. Thank you!

@krin-wang
Copy link
Author

krin-wang commented Mar 16, 2024

It works perfectly now. The output is same as the tutorial. Thank you.

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

2 participants