microsoft / AzureTRE

An accelerator to help organizations build Trusted Research Environments on Azure.
https://microsoft.github.io/AzureTRE
MIT License
169 stars 133 forks source link

MySQL database is destroyed if MySQL workspace service is updated #3993

Closed jonnyry closed 2 weeks ago

jonnyry commented 2 weeks ago

Issue

If you update the MySQL workspace service it will destroy and recreate the attached MySQL database.

This also occurs with Gitea as it creates a MySQL database.

This occurs on current main

Example with the MySQL workspace service:

1. Install the MySQL component:

Porter logs show the following:

image

2. Update the MySQL component (clicking the three dots, then Update in the UI):

Porter logs show the destruction of the database:

image

jonnyry commented 2 weeks ago

Please note this issue exists in:

@tim-allen-ck the PR above covers MySQL workspace service but not Gitea