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]: DatabaseInstance.sql enters the update loop with PostgreSQL server #598

Open
1 task done
turkenf opened this issue Aug 5, 2024 · 1 comment
Open
1 task done
Labels
bug Something isn't working needs:triage stale

Comments

@turkenf
Copy link
Collaborator

turkenf commented Aug 5, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Affected Resource(s)

sql.gcp.upbound.io/v1beta1 - DatabaseInstance

Resource MRs required to reproduce the bug

apiVersion: sql.gcp.upbound.io/v1beta1
kind: DatabaseInstance
metadata:
  labels:
    testing.upbound.io/example-name: instance-con
  name: example-ins-fttest3
spec:
  forProvider:
    databaseVersion: POSTGRES_15
    deletionProtection: false
    region: us-central1
    settings:
    - tier: "db-f1-micro"

Steps to Reproduce

Install the providers and apply the above manifest.

What happened?

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

Relevant Error Output Snippet

2024-08-05T20:41:18Z	DEBUG	provider-gcp	Diff detected	{"uid": "f111f457-327b-4dae-b517-43a96d82f978", "name": "example-ins-fttest3", "gvk": "sql.gcp.upbound.io/v1beta1, Kind=DatabaseInstance", "instanceDiff": "*terraform.InstanceDiff{mu:sync.Mutex{state:0, sema:0x0}, Attributes:map[string]*terraform.ResourceAttrDiff{\"settings.0.insights_config.#\":*terraform.ResourceAttrDiff{Old:\"1\", New:\"0\", NewComputed:false, NewRemoved:false, NewExtra:interface {}(nil), RequiresNew:false, Sensitive:false, Type:0x0}, \"settings.0.insights_config.0.query_string_length\":*terraform.ResourceAttrDiff{Old:\"0\", New:\"1024\", NewComputed:false, 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.6.0

Kubernetes Version

No response

Kubernetes Distribution

No response

Additional Info

This issue is not reproducible with MySQL server.

Failed uptest run: https://github.com/crossplane-contrib/provider-upjet-gcp/actions/runs/10254346618

@turkenf turkenf added bug Something isn't working needs:triage labels Aug 5, 2024
Copy link

github-actions bot commented Nov 4, 2024

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 github-actions bot added the stale label Nov 4, 2024
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 stale
Projects
None yet
Development

No branches or pull requests

1 participant