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

[lxd-to-incus] Support migrating clusters #128

Closed
stgraber opened this issue Oct 7, 2023 · 5 comments
Closed

[lxd-to-incus] Support migrating clusters #128

stgraber opened this issue Oct 7, 2023 · 5 comments
Assignees
Labels
Feature New feature, not a bug
Milestone

Comments

@stgraber
Copy link
Member

stgraber commented Oct 7, 2023

Currently lxd-to-incus refuses to migrate clusters.
That's because there's a fair bit more synchronization involved with migrating a cluster as opposed to a standalone system.

For clusters, we'll need to:

  • Confirm that all cluster members are currently online
  • Show the list of machines that will need to be migrated
  • Have the user confirm that they wish to migrate their cluster
  • Generate a single database patch to be run by the initial migrated server
  • Provide a command line flag to lxd-to-incus for the remaining servers which will bypass all validation and just do the data migration. This is needed as once we start shutting down LXD, we won't be able to talk to it again from the remaining servers.
@sharathsivakumar
Copy link
Contributor

@stgraber I would like to work on this.

@stgraber
Copy link
Member Author

stgraber commented Oct 9, 2023

Cool, assigned it to you!

@stgraber stgraber added this to the incus-0.2 milestone Oct 9, 2023
@stgraber stgraber added the Feature New feature, not a bug label Oct 11, 2023
@stgraber
Copy link
Member Author

@sharathsivakumar any luck with this one?

I need to migrate a cluster from LXD to Incus, so I was planning on taking anything you may have done and tweak that to get it to behave with my cluster, getting the result into Incus and hopefully it will work for others too!

@sharathsivakumar
Copy link
Contributor

@stgraber I have not been able to work on this due to personal issues. However I am keen to get this done, so will it be fine if I turn it in by the end of this week?

@stgraber
Copy link
Member Author

Hey there!

Sorry to hear about your personal issues, I hope things are better now :(

I'm planning on releasing Incus 0.2 towards the end of next week and we definitely want lxd-to-incus to be able to migrate clusters at that point.

That still leaves you some time to work on it this week and I'll pick things up where they are next week.

@hallyn hallyn closed this as completed in 5cb59a9 Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature, not a bug
Development

No branches or pull requests

2 participants