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

Migrating Custom pre-3.0.0 Metacat Properties to Site Properties? #1750

Open
artntek opened this issue Dec 4, 2023 · 4 comments
Open

Migrating Custom pre-3.0.0 Metacat Properties to Site Properties? #1750

artntek opened this issue Dec 4, 2023 · 4 comments
Milestone

Comments

@artntek
Copy link
Contributor

artntek commented Dec 4, 2023

For those who upgrade an existing metacat installation to the upcoming 3.0.0 release, how should we handle migration of existing custom metacat properties to the new site properties file?

Do we need to figure out a way to do this? Or can we expect the operator to re-perform a manual setup in the admin pages?

(anyone moving over to k8s would need to do manual setup via values.yaml)

@artntek artntek added this to the 3.0.0 milestone Dec 4, 2023
@mbjones
Copy link
Member

mbjones commented Dec 5, 2023

Can we create a simple utility shell script that can read from the old metacat.properties file, detect any properties that were changed from defaults, and then write those properties out into both formats needed (values.yaml and site properties) based on which the script user asks for?

@artntek
Copy link
Contributor Author

artntek commented Dec 5, 2023

I'd guess it would be a little too involved for a shell script, but yes, we could do it using Java or python etc. It's not a trivial amount of work to solve, code and test, which is the reason for my question above: should we add this to the 3.0.0 milestone, thus increasing the time to release? Or is it a "nice to have"?

My take is that we should probably make a tool available, but I defer to you and @taojing2002 on priority, since you both know what metacat installations are out there in the wild, and how much burden the Properties change might be to those operators (e.g. how comfortable they are reconfiguring or writing yaml etc). We could also do a "fast follow-up" release with this and some other low hanging fruit, soon after 3.0?

@mbjones
Copy link
Member

mbjones commented Dec 5, 2023

I guess my take is that I would not delay release for this, but we should be clear to document what people need to do when upgrading.

@taojing2002
Copy link
Contributor

It is a very useful feature since our production servers have some customized configuration. I can image it will be hard to make sure we don't lose some without a helper during the upgrade process. But still we can survive without it :)

@artntek artntek modified the milestones: 3.0.0, 3.1.0 Feb 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants