-
Notifications
You must be signed in to change notification settings - Fork 65
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
packages/provider.pkg.crossplane.io current package revision is unhealthy || crossplane-contrib-provider-azure-c2d3b29775f5 #371
Comments
Thanks for reporting this @thn4kor - any other information you can provide here, such as the output of |
HI Team,
Please find the below result for cmd.
I am facing this issue after installing attached xrd and composition. After deletion this installation below provider become healthy.
$ kubectl get pkg
NAME INSTALLED HEALTHY PACKAGE AGE
provider.pkg.crossplane.io/provider-azure True False xpkg.upbound.io/crossplane-contrib/provider-azure:v0.20.1 45h
***@***.*** MINGW64 ~ (DP-68)
$ kubectl describe provider.pkg.crossplane.io/provider-azure
Name: provider-azure
Namespace:
Labels: <none>
Annotations: <none>
API Version: pkg.crossplane.io/v1
Kind: Provider
Metadata:
Creation Timestamp: 2023-05-14T18:00:11Z
Generation: 1
Managed Fields:
API Version: pkg.crossplane.io/v1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:kubectl.kubernetes.io/last-applied-configuration:
f:spec:
.:
f:ignoreCrossplaneConstraints:
f:package:
f:packagePullPolicy:
f:revisionActivationPolicy:
f:revisionHistoryLimit:
f:skipDependencyResolution:
Manager: kubectl-client-side-apply
Operation: Update
Time: 2023-05-14T18:00:11Z
API Version: pkg.crossplane.io/v1
Fields Type: FieldsV1
fieldsV1:
f:status:
.:
f:conditions:
f:currentIdentifier:
f:currentRevision:
Manager: crossplane
Operation: Update
Subresource: status
Time: 2023-05-16T15:28:20Z
Resource Version: 2042890
UID: 86e11519-beb4-4ded-8bdf-0349627a3792
Spec:
Ignore Crossplane Constraints: false
Package: xpkg.upbound.io/crossplane-contrib/provider-azure:v0.20.1
Package Pull Policy: IfNotPresent
Revision Activation Policy: Automatic
Revision History Limit: 1
Skip Dependency Resolution: false
Status:
Conditions:
Last Transition Time: 2023-05-16T15:28:19Z
Reason: UnhealthyPackageRevision
Status: False
Type: Healthy
Last Transition Time: 2023-05-14T18:00:12Z
Reason: ActivePackageRevision
Status: True
Type: Installed
Current Identifier: xpkg.upbound.io/crossplane-contrib/provider-azure:v0.20.1
Current Revision: provider-azure-c2d3b29775f5
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal InstallPackageRevision 51s (x7 over 10m) packages/provider.pkg.crossplane.io Successfully installed package revision
Warning InstallPackageRevision 46s (x8 over 2m28s) packages/provider.pkg.crossplane.io current package revision is unhealthy
Mit freundlichen Grüßen / Best regards
K Thangamani
SX/ETM14-EM
Tel. +91 422 667
From: Jared Watts ***@***.***>
Sent: Tuesday, May 16, 2023 5:28 PM
To: crossplane-contrib/provider-azure ***@***.***>
Cc: Thangamani K (SX/ETM14-EM) ***@***.***>; Mention ***@***.***>
Subject: Re: [crossplane-contrib/provider-azure] packages/provider.pkg.crossplane.io current package revision is unhealthy || crossplane-contrib-provider-azure-c2d3b29775f5 (Issue #371)
Thanks for reporting this @thn4kor<https://github.com/thn4kor> - any other information you can provide here, such as the output of kubectl describe provider.pkg.crossplane.io/crossplane-contrib-provider-azure?
—
Reply to this email directly, view it on GitHub<#371 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A73G7NVDHQAQGQQTZ55DRGTXGNTTVANCNFSM6AAAAAAYBJJDBI>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
Thanks @thn4kor - similar output for |
Unhealthy package revision it says, can you please give a solution to this issue? |
Hi Team,
PFA..
kubectl get providerrevisions
NAME HEALTHY REVISION IMAGE
STATE DEP-FOUND DEP-INSTALLED AGE
provider-azure-c2d3b29775f5 False 1 xpkg.upbound.io/crossplane-contrib/provider-azure:v0.20.1 Active
kubectl describe providerrevisions
Name: provider-azure-c2d3b29775f5
Namespace:
Labels: pkg.crossplane.io/package=provider-azure
Annotations: meta.crossplane.io/description:
The Microsoft Azure Crossplane provider adds support for managing Azure
resources in Kubernetes.
meta.crossplane.io/license: Apache-2.0
meta.crossplane.io/maintainer: Crossplane Maintainers ***@***.******@***.***>
meta.crossplane.io/readme:
`provider-azure` is the Crossplane infrastructure provider for [Microsoft
Azure](https://azure.microsoft.com/).
If you encounter an issue please reach out on
[slack.crossplane.io](https://slack.crossplane.io<https://slack.crossplane.io/>) and create an issue in
the [crossplane/provider-azure](https://github.com/crossplane/provider-azure)
repo.
meta.crossplane.io/source: github.com/crossplane-contrib/provider-azure
API Version: pkg.crossplane.io/v1
Kind: ProviderRevision
Metadata:
Creation Timestamp: 2023-06-13T11:06:16Z
Finalizers:
revision.pkg.crossplane.io
Generation: 1
Managed Fields:
API Version: pkg.crossplane.io/v1
Fields Type: FieldsV1
fieldsV1:
f:metadata:
f:annotations:
.:
f:meta.crossplane.io/description:
f:meta.crossplane.io/license:
f:meta.crossplane.io/maintainer:
f:meta.crossplane.io/readme:
f:meta.crossplane.io/source:
f:finalizers:
.:
v:"revision.pkg.crossplane.io":
f:labels:
.:
f:pkg.crossplane.io/package:
f:ownerReferences:
.:
k:{"uid":"94cf64a7-3f64-4b6d-9ac8-20178d081ec3"}:
f:spec:
.:
f:desiredState:
f:ignoreCrossplaneConstraints:
f:image:
f:packagePullPolicy:
f:revision:
f:skipDependencyResolution:
f:webhookTLSSecretName:
Manager: crossplane
Operation: Update
Time: 2023-06-13T11:06:19Z
API Version: pkg.crossplane.io/v1
Fields Type: FieldsV1
fieldsV1:
f:status:
.:
f:conditions:
f:controllerRef:
.:
f:name:
Manager: crossplane
Operation: Update
Subresource: status
Time: 2023-06-13T11:06:19Z
Owner References:
API Version: pkg.crossplane.io/v1
Block Owner Deletion: true
Controller: true
Kind: Provider
Name: provider-azure
UID: 94cf64a7-3f64-4b6d-9ac8-20178d081ec3
Resource Version: 12291274
UID: befdc4e7-6633-4698-8281-0d9fec9d7ede
Spec:
Desired State: Active
Ignore Crossplane Constraints: false
Image: xpkg.upbound.io/crossplane-contrib/provider-azure:v0.20.1
Package Pull Policy: IfNotPresent
Revision: 1
Skip Dependency Resolution: false
Webhook TLS Secret Name: webhook-tls-secret
Status:
Conditions:
Last Transition Time: 2023-06-13T11:06:19Z
Reason: UnhealthyPackageRevision
Status: False
Type: Healthy
Controller Ref:
Name:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal ApplyClusterRoles 47m (x4 over 47m) rbac/providerrevision.pkg.crossplane.io Applied RBAC ClusterRoles
Normal BindClusterRole 47m (x5 over 47m) rbac/providerrevision.pkg.crossplane.io Bound system ClusterRole to provider ServiceAccount(s)
Warning SyncPackage 47m packages/providerrevision.pkg.crossplane.io cannot update package revision
object metadata: Operation cannot be fulfilled on providerrevisions.pkg.crossplane.io "provider-azure-c2d3b29775f5": the object has been modified; please apply your changes to the latest version and try again
Warning SyncPackage 11m (x40 over 47m) packages/providerrevision.pkg.crossplane.io cannot establish control of object: providerconfigs.azure.crossplane.io is already controlled by ProviderRevision crossplane-contrib-provider-azure-c2d3b29775f5 (UID da435804-63ba-4f95-8876-25c985fa29c8)
Mit freundlichen Grüßen / Best regards
K Thangamani
SX/ETM14-EM
Tel. +91 422 667
From: Jared Watts ***@***.***>
Sent: Friday, May 19, 2023 7:09 PM
To: crossplane-contrib/provider-azure ***@***.***>
Cc: Thangamani K (SX/ETM14-EM) ***@***.***>; Mention ***@***.***>
Subject: Re: [crossplane-contrib/provider-azure] packages/provider.pkg.crossplane.io current package revision is unhealthy || crossplane-contrib-provider-azure-c2d3b29775f5 (Issue #371)
Thanks @thn4kor<https://github.com/thn4kor> - similar output for kubectl get providerrevisions and kubectl describe providerrevisions <unhealthy revsion> could also be helpful here!
—
Reply to this email directly, view it on GitHub<#371 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/A73G7NVNTZDUCFII5HFZGKLXG5ZW5ANCNFSM6AAAAAAYBJJDBI>.
You are receiving this because you were mentioned.Message ID: ***@***.******@***.***>>
|
What happened?
All of the sudden Provider pkg went un healthy.
NAME INSTALLED HEALTHY PACKAGE AGE
provider.pkg.crossplane.io/crossplane-contrib-provider-azure True False xpkg.upbound.io/crossplane-contrib/provider-azure:v0.20.1 124m
How can we reproduce it?
After installation with crossplane stable using helm,
Apply below file for create configuration and this configuration creates package as above. then started creating resources. after a day using this , facing this problem.
apiVersion: pkg.crossplane.io/v1
kind: Configuration
metadata:
name: getting-started-with-azure
spec:
package: registry.upbound.io/xp/getting-started-with-azure:v1.12.1
What environment did it happen in?
Crossplane version:
The text was updated successfully, but these errors were encountered: