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

[feat] Improve the process of updating Cobbler #2719

Closed
nodeg opened this issue Jul 28, 2021 · 2 comments · Fixed by #2747
Closed

[feat] Improve the process of updating Cobbler #2719

nodeg opened this issue Jul 28, 2021 · 2 comments · Fixed by #2747
Assignees
Labels
enhancement New feature or request Priority Issues that will be worked on with higher priority. Usability
Projects
Milestone

Comments

@nodeg
Copy link
Member

nodeg commented Jul 28, 2021

Is your feature request related to a problem?

Both a feature request and something to solve the problem of updating Cobbler.

Provide a detailed description of the proposed feature

When updating Cobbler not only from higher versions but also from minor releases, there are breaking changes which have to be handled.

2.x --> 3.0.0

3.0.0 --> 3.0.1

3.1.1 --> 3.1.2

  • Hash handling in users.digest file. (#2299)

3.2.0 --> 3.2.1

  • new settings.yaml
  • int to bool migration

3.2.1 --> 3.3.0

  • replace getter/setter with Python properties
  • renaming boot_loader to boot_loaders
  • renaming gpxe to ipxe
  • migration from floats to ints
  • Obsolete settings.d directory, we don't want to support this anymore.

other

  • Adjust Cobbler completions
  • maybe introduce an abstraction layer to map old values to the new ones?

This list is not complete. @SchoolGuy @watologo1 feel free to edit and update this post.

@nodeg nodeg added Usability enhancement New feature or request Priority Issues that will be worked on with higher priority. labels Jul 28, 2021
@nodeg nodeg added this to the v3.3.0 milestone Jul 28, 2021
@nodeg nodeg added this to To do in V3.3.0 via automation Jul 28, 2021
@SchoolGuy
Copy link
Member

So the thing that we will do is that we will take V3.2.1 as a baseline and will make an initial migration to V3.3.0 which is a bit special, after that a generic framework we will create will do all future migrations in the settings.yaml file.

@SchoolGuy
Copy link
Member

That would mean that even if you skip 100 versions of the settings we will migrate you automatically one by one until you reach the version you want to run.

@nodeg nodeg linked a pull request Aug 9, 2021 that will close this issue
17 tasks
@nodeg nodeg moved this from To do to In progress in V3.3.0 Aug 9, 2021
V3.3.0 automation moved this from In progress to Done Aug 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Priority Issues that will be worked on with higher priority. Usability
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants