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

Sponsored: backing up and recovering machine configuration #4724

Open
andrewrynhard opened this issue Dec 22, 2021 · 5 comments
Open

Sponsored: backing up and recovering machine configuration #4724

andrewrynhard opened this issue Dec 22, 2021 · 5 comments

Comments

@andrewrynhard
Copy link
Member

Description

Another nice thing to have is the ability to reapply the last known good machine configuration to get back the node to a working state.
Save the machine-config.yml when applying a new one, and provide a way to use the backup if the boot went wrong.

@andrewrynhard
Copy link
Member Author

andrewrynhard commented Dec 22, 2021

Ideas:

  • API for rolling back to a last known configuration
  • Storing the machine configuration with each boot option (A, or B)

Try mode may handle some of this. Other parts might have to be manual?

See #4591, #4628

@sbskas
Copy link
Contributor

sbskas commented Jan 5, 2022

Try mode is not enough for testing all the modification of a machine config.
Some need a restart of the node which is prevented by the volatile nature of the try mode.
Something simple and robust (manual) would be enough.

@PrivatePuffin
Copy link

Try mode is not enough for testing all the modification of a machine config. Some need a restart of the node which is prevented by the volatile nature of the try mode. Something simple and robust (manual) would be enough.

Bit of a necro, but agreed...
"Try" is still too much "hit or miss" to rely on...
At least when it comes to node-bricking.

Talos has 1 single actual weakness and thats the fact that a bad apply can cause a node to go down without a way to get it back-up without manual intervention on-site.

It would be nice having a KVM key combo that can be hit to force a revert to previous known-good config.

Copy link

github-actions bot commented Dec 4, 2024

This issue is stale because it has been open 180 days with no activity. Remove stale label or comment or this will be closed in 7 days.

@github-actions github-actions bot added the Stale label Dec 4, 2024
@DmitriyMV
Copy link
Member

Didn't we do something with this?

@github-actions github-actions bot removed the Stale label Dec 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants