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

[Bug]: Domain.opensearch enters the update loop and the diff is detected #1420

Closed
1 task done
turkenf opened this issue Jul 24, 2024 · 0 comments · Fixed by #1406
Closed
1 task done

[Bug]: Domain.opensearch enters the update loop and the diff is detected #1420

turkenf opened this issue Jul 24, 2024 · 0 comments · Fixed by #1406
Labels
bug Something isn't working needs:triage

Comments

@turkenf
Copy link
Collaborator

turkenf commented Jul 24, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Affected Resource(s)

opensearch.aws.upbound.io/v1beta2 - Domain

Resource MRs required to reproduce the bug

apiVersion: opensearch.aws.upbound.io/v1beta2
kind: Domain
metadata:
  annotations:
    meta.upbound.io/example-id: opensearch/v1beta2/domain
  labels:
    testing.upbound.io/example-name: example
  name: example
spec:
  forProvider:
    clusterConfig:
      instanceType: m4.large.search
    domainName: upbound-test-domain
    ebsOptions:
      ebsEnabled: true
      volumeSize: 10
      volumeType: gp2
    engineVersion: OpenSearch_1.0
    region: us-west-1

Steps to Reproduce

Install the provider and apply the above manifest. The resource takes over 20 minutes to create.

What happened?

After the resource is created, diff is detected and enters the update loop.

Relevant Error Output Snippet

2024-07-24T20:44:13Z	DEBUG	provider-aws	Diff detected	{"uid": "9718adbb-5ce6-4db6-9b8a-ede55f107cdc", "name": "example", "gvk": "opensearch.aws.upbound.io/v1beta1, Kind=Domain", "instanceDiff": "*terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{\"advanced_security_options.#\":*terraform.ResourceAttrDiff{Old:\"\", New:\"\", NewComputed:true, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}}, Destroy:false, DestroyDeposed:false, DestroyTainted:false, RawConfig:cty.NilVal, RawState:cty.NilVal, RawPlan:cty.NilVal, Meta:map[string]interface {}(nil)}"}

Crossplane Version

1.16.0

Provider Version

1.9.0

Kubernetes Version

No response

Kubernetes Distribution

No response

Additional Info

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs:triage
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant