Delete error on delete database

Issues information

  • OS:
  • databases: pgsql
  • Programming language and version:
  • Link to your project on Github/Gitlab:
  • Link to your application - starting with https://console.qovery.com/

Your issue

I want to delete my database but i have a delete error without any informations

Describe here your issue

This is deployment log:

-------------------------------------------------------------------------------
    ~~~ Deployment error ~~~

    You can find useful information:
    1. Above in the deployment logs
    2. Directly in your application logs

    ✉ Error message: tera error: Failed to render 'variables.j2.tf' / Full details: {"activate_backups":false,"activate_high_availability":false,"cluster_name":"42merge","database_db_name":"z37566ec8","database_disk_size_in_gib":10,"database_disk_type":"bssd","database_fqdn":"z37566ec8-postgresql.z3a05c6f3.heapstack.sh","database_id":"z37566ec8","database_instance_type":"db-gp-xs","database_login":"qoveryadmin","database_name":"postgresql-z37566ec8","database_password":"AS0tVrBXtuIpp-XUT0pw8-OKwmu3FpL0","database_port":5432,"database_ram_size_in_mib":256,"database_total_cpus":"250m","delete_automated_backups":false,"environment_id":"z51e996d9","environment_long_id":"51e996d9-7bdb-492c-9fb3-d12908a22b24","fqdn":"z37566ec8-dns.z6c72466c-z51e996d9.svc.cluster.local","fqdn_id":"z37566ec8-postgresql","id":"z37566ec8","is_private_port":true,"kubeconfig_path":"/home/qovery/.qovery-workspace/51e996d9-7bdb-492c-9fb3-d12908a22b24-13-1652341402/object-storage/scaleway_os/default-s3/qovery-kubeconfigs-z3a05c6f3/z3a05c6f3.yaml","kubernetes_cluster_id":"z3a05c6f3","kubernetes_cluster_name":"42merge","long_id":"37566ec8-7930-43a0-aae8-775091c9b4d6","max_instances":1,"min_instances":1,"name":"z37566ec8","namespace":"z6c72466c-z51e996d9","organization_id":"z8c369ec5","organization_long_id":"8c369ec5-402e-4962-8553-f0473e5863c8","owner_id":"FAKE","private_port":5432,"project_id":"z6c72466c","project_long_id":"6c72466c-f443-4f13-ad98-c9b00877273a","publicly_accessible":false,"region":"fr-par","sanitized_name":"postgresql-z37566ec8","scaleway_access_key":"SCW6MG6NP8RXBD03VZE4","scaleway_project_id":"d5237128-6c69-4781-9f39-58ca6e23b4c9","scaleway_secret_key":"762891ff-c35b-4212-87fc-327650eff707","service_name":"z37566ec8-postgresql","tfstate_name":"tfstate-default-z37566ec8","tfstate_suffix_name":"z37566ec8","total_cpus":"250m","total_ram_in_mib":256,"version":"13","version_major":"13","zone":"fr-par-1"}
    💬 Need help: If you need assistance, you can reach the support team from the Qovery console with the integrated chat.

    * Execution ID: 51e996d9-7bdb-492c-9fb3-d12908a22b24-13-1652341402
    * Scope: Kubernetes '42merge' with id 'z3a05c6f3'
    * Rollback message: 

Dockerfile content (if any)

specify here your dockerfile content

Hi @mrboboorox,
I’m taking a look at this and will come back to you as soon as I have more informations to share about it.

I just removed the database from your environment.
The issue came from the fact that we don’t handle managed databases on Scaleway.
We fixed this a week ago by removing the ability to do just that from the console.
Before this fix everyone was able to “create” a managed database on Scaleway via Qovery but it always ended up in an error without creating anything on Scaleway’s side.