crossplane-contrib / provider-upjet-aws

Official AWS Provider for Crossplane by Upbound.
https://marketplace.upbound.io/providers/upbound/provider-aws
Apache License 2.0
142 stars 121 forks source link

EFS filesystem stuck in creating - no feedback #960

Closed roehrijn closed 1 week ago

roehrijn commented 9 months ago

What happened?

I'm trying to create an EFS resource but the object is stuck in creating forever with no feedback:

Status:
  At Provider:
  Conditions:
    Last Transition Time:  2023-11-13T13:57:18Z
    Reason:                Creating
    Status:                False
    Type:                  Ready
    Last Transition Time:  2023-11-13T13:57:18Z
    Reason:                ReconcileSuccess
    Status:                True
    Type:                  Synced

The only event which is fired related to that resource is:

Events:
  Type    Reason                   Age    From                                                 Message
  ----    ------                   ----   ----                                                 -------
  Normal  CreatedExternalResource  13m    managed/efs.aws.upbound.io/v1beta1, kind=filesystem  Successfully requested creation of external resource

The provider-aws-efs has no log output at all. However, when I activate debug logging on the provider, I get the following output which isn't useful to me either:

provider-aws-efs-0c787f73a603-7bb68f6dcc-4znxx package-runtime 2023-11-13T14:02:52Z     DEBUG   provider-aws    Reconciling     {"controller": "managed/efs.aws.upbound.io/v1beta1, kind=filesystem", "request": {"name":"crossplane-fs-d9a767210"}}
provider-aws-efs-0c787f73a603-7bb68f6dcc-4znxx package-runtime 2023-11-13T14:02:52Z     DEBUG   provider-aws    Starting new shared provider... {"handle": "585b46c56a5adfbc75a35b5a49f62886b6e840ab586aae9ddd98aa548ef23532", "ttl": 100, "ttlMargin": 0.1}
provider-aws-efs-0c787f73a603-7bb68f6dcc-4znxx package-runtime 2023-11-13T14:02:52Z     DEBUG   provider-aws    Provider runner not yet started. Will fork a new native provider.       {"handle": "585b46c56a5adfbc75a35b5a49f62886b6e840ab586aae9ddd98aa548ef23532", "ttl": 100, "ttlMargin": 0.1, "nativeProviderPath": "/terraform/provider-mirror/registry.terraform.io/hashicorp/aws/4.67.0/linux_amd64/terraform-provider-aws_v4.67.0_x5", "nativeProviderArgs": []}
provider-aws-efs-0c787f73a603-7bb68f6dcc-4znxx package-runtime 2023-11-13T14:02:52Z     DEBUG   provider-aws    Forked new native provider.     {"handle": "585b46c56a5adfbc75a35b5a49f62886b6e840ab586aae9ddd98aa548ef23532", "ttl": 100, "ttlMargin": 0.1, "nativeProviderPath": "/terraform/provider-mirror/registry.terraform.io/hashicorp/aws/4.67.0/linux_amd64/terraform-provider-aws_v4.67.0_x5", "nativeProviderArgs": []}
provider-aws-efs-0c787f73a603-7bb68f6dcc-4znxx package-runtime 2023-11-13T14:02:53Z     DEBUG   provider-aws    Running terraform       {"workspace": "/tmp/f74a5821-fd0b-4b04-9c15-f76633eae3fa", "args": ["apply", "-refresh-only", "-auto-approve", "-input=false", "-lock=false", "-json"]}
provider-aws-efs-0c787f73a603-7bb68f6dcc-4znxx package-runtime 2023-11-13T14:02:54Z     DEBUG   provider-aws    refresh ended   {"workspace": "/tmp/f74a5821-fd0b-4b04-9c15-f76633eae3fa", "out": "{\"@level\":\"info\",\"@message\":\"Terraform 1.5.5\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2023-11-13T14:02:53.343754Z\",\"terraform\":\"1.5.5\",\"type\":\"version\",\"ui\":\"1.1\"}\n{\"@level\":\"info\",\"@message\":\"aws_efs_file_system.crossplane-fs-d9a767210: Refreshing state...\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2023-11-13T14:02:54.776764Z\",\"hook\":{\"resource\":{\"addr\":\"aws_efs_file_system.crossplane-fs-d9a767210\",\"module\":\"\",\"resource\":\"aws_efs_file_system.crossplane-fs-d9a767210\",\"implied_provider\":\"aws\",\"resource_type\":\"aws_efs_file_system\",\"resource_name\":\"crossplane-fs-d9a767210\",\"resource_key\":null},\"id_key\":\"id\"},\"type\":\"refresh_start\"}\n{\"@level\":\"info\",\"@message\":\"aws_efs_file_system.crossplane-fs-d9a767210: Refresh complete\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2023-11-13T14:02:54.777581Z\",\"hook\":{\"resource\":{\"addr\":\"aws_efs_file_system.crossplane-fs-d9a767210\",\"module\":\"\",\"resource\":\"aws_efs_file_system.crossplane-fs-d9a767210\",\"implied_provider\":\"aws\",\"resource_type\":\"aws_efs_file_system\",\"resource_name\":\"crossplane-fs-d9a767210\",\"resource_key\":null}},\"type\":\"refresh_complete\"}\n{\"@level\":\"info\",\"@message\":\"aws_efs_file_system.crossplane-fs-d9a767210: Drift detected (delete)\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2023-11-13T14:02:54.777919Z\",\"change\":{\"resource\":{\"addr\":\"aws_efs_file_system.crossplane-fs-d9a767210\",\"module\":\"\",\"resource\":\"aws_efs_file_system.crossplane-fs-d9a767210\",\"implied_provider\":\"aws\",\"resource_type\":\"aws_efs_file_system\",\"resource_name\":\"crossplane-fs-d9a767210\",\"resource_key\":null},\"action\":\"delete\"},\"type\":\"resource_drift\"}\n{\"@level\":\"info\",\"@message\":\"Plan: 0 to add, 0 to change, 0 to destroy.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2023-11-13T14:02:54.777967Z\",\"changes\":{\"add\":0,\"change\":0,\"import\":0,\"remove\":0,\"operation\":\"plan\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Apply complete! Resources: 0 added, 0 changed, 0 destroyed.\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2023-11-13T14:02:54.781084Z\",\"changes\":{\"add\":0,\"change\":0,\"import\":0,\"remove\":0,\"operation\":\"apply\"},\"type\":\"change_summary\"}\n{\"@level\":\"info\",\"@message\":\"Outputs: 0\",\"@module\":\"terraform.ui\",\"@timestamp\":\"2023-11-13T14:02:54.781107Z\",\"outputs\":{},\"type\":\"outputs\"}\n"}
provider-aws-efs-0c787f73a603-7bb68f6dcc-4znxx package-runtime 2023-11-13T14:02:54Z     DEBUG   provider-aws    Reusing the provider runner     {"handle": "585b46c56a5adfbc75a35b5a49f62886b6e840ab586aae9ddd98aa548ef23532", "ttl": 100, "ttlMargin": 0.1, "invocationCount": 1, "inUse": 0}
provider-aws-efs-0c787f73a603-7bb68f6dcc-4znxx package-runtime 2023-11-13T14:02:54Z     DEBUG   provider-aws    Shared gRPC server is running...        {"handle": "585b46c56a5adfbc75a35b5a49f62886b6e840ab586aae9ddd98aa548ef23532", "ttl": 100, "ttlMargin": 0.1, "nativeProviderPath": "/terraform/provider-mirror/registry.terraform.io/hashicorp/aws/4.67.0/linux_amd64/terraform-provider-aws_v4.67.0_x5", "nativeProviderArgs": [], "reattachConfig": "{\"registry.terraform.io/hashicorp/aws\":{\"Protocol\":\"grpc\",\"ProtocolVersion\":5,\"Pid\":1,\"Test\": true,\"Addr\":{\"Network\": \"unix\",\"String\": \"/tmp/plugin678890632\"}}}"}
provider-aws-efs-0c787f73a603-7bb68f6dcc-4znxx package-runtime 2023-11-13T14:02:54Z     DEBUG   provider-aws    Running terraform       {"workspace": "/tmp/f74a5821-fd0b-4b04-9c15-f76633eae3fa", "args": ["apply", "-auto-approve", "-input=false", "-lock=false", "-json"]}
provider-aws-efs-0c787f73a603-7bb68f6dcc-4znxx package-runtime 2023-11-13T14:02:54Z     DEBUG   provider-aws    Calling the inner handler for Update event.     {"gvk": "efs.aws.upbound.io/v1beta1, Kind=FileSystem", "name": "crossplane-fs-d9a767210", "queueLength": 0}
provider-aws-efs-0c787f73a603-7bb68f6dcc-4znxx package-runtime 2023-11-13T14:02:54Z     DEBUG   provider-aws    Successfully requested creation of external resource    {"controller": "managed/efs.aws.upbound.io/v1beta1, kind=filesystem", "request": {"name":"crossplane-fs-d9a767210"}, "uid": "f74a5821-fd0b-4b04-9c15-f76633eae3fa", "version": "39914", "external-name": "", "external-name": ""}
provider-aws-efs-0c787f73a603-7bb68f6dcc-4znxx package-runtime 2023-11-13T14:02:54Z     DEBUG   events  Successfully requested creation of external resource    {"type": "Normal", "object": {"kind":"FileSystem","name":"crossplane-fs-d9a767210","uid":"f74a5821-fd0b-4b04-9c15-f76633eae3fa","apiVersion":"efs.aws.upbound.io/v1beta1","resourceVersion":"41566"}, "reason": "CreatedExternalResource"}
provider-aws-efs-0c787f73a603-7bb68f6dcc-4znxx package-runtime 2023-11-13T14:02:54Z     DEBUG   provider-aws    Reconciling     {"controller": "managed/efs.aws.upbound.io/v1beta1, kind=filesystem", "request": {"name":"crossplane-fs-d9a767210"}}
provider-aws-efs-0c787f73a603-7bb68f6dcc-4znxx package-runtime 2023-11-13T14:02:54Z     DEBUG   provider-aws    Reusing the provider runner     {"handle": "585b46c56a5adfbc75a35b5a49f62886b6e840ab586aae9ddd98aa548ef23532", "ttl": 100, "ttlMargin": 0.1, "invocationCount": 2, "inUse": 1}
provider-aws-efs-0c787f73a603-7bb68f6dcc-4znxx package-runtime 2023-11-13T14:02:54Z     DEBUG   provider-aws    Shared gRPC server is running...        {"handle": "585b46c56a5adfbc75a35b5a49f62886b6e840ab586aae9ddd98aa548ef23532", "ttl": 100, "ttlMargin": 0.1, "nativeProviderPath": "/terraform/provider-mirror/registry.terraform.io/hashicorp/aws/4.67.0/linux_amd64/terraform-provider-aws_v4.67.0_x5", "nativeProviderArgs": [], "reattachConfig": "{\"registry.terraform.io/hashicorp/aws\":{\"Protocol\":\"grpc\",\"ProtocolVersion\":5,\"Pid\":1,\"Test\": true,\"Addr\":{\"Network\": \"unix\",\"String\": \"/tmp/plugin678890632\"}}}"}

How can we reproduce it?

Create an EFS resource with the following content (out of the examples from the provider in the Marketplace):

apiVersion: efs.aws.upbound.io/v1beta1
kind: FileSystem
metadata:
  labels:
    testing.upbound.io/example-name: efs
  name: example
spec:
  forProvider:
    region: eu-central-1

What environment did it happen in?

Jan Roehrich jan.roehrich@mercedes-benz.com, Mercedes-Benz Tech Innovation GmbH, legal info/Impressum

github-actions[bot] commented 5 months ago

This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as stale. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.

github-actions[bot] commented 4 weeks ago

This provider repo does not have enough maintainers to address every issue. Since there has been no activity in the last 90 days it is now marked as stale. It will be closed in 14 days if no further activity occurs. Leaving a comment starting with /fresh will mark this issue as not stale.

github-actions[bot] commented 1 week ago

This issue is being closed since there has been no activity for 14 days since marking it as stale. If you still need help, feel free to comment or reopen the issue!