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

Talos upgrade to optionally store log to Ephemeral partition #7364

Open
Tracked by #9249
salkin opened this issue Jun 13, 2023 · 3 comments
Open
Tracked by #9249

Talos upgrade to optionally store log to Ephemeral partition #7364

salkin opened this issue Jun 13, 2023 · 3 comments

Comments

@salkin
Copy link
Contributor

salkin commented Jun 13, 2023

Feature Request

Make an optional parameter to talosctl upgrade to store log of the upgrade boot cycle to Ephemeral partition "/var/log/" or user definable for the upgrade procedure.

Description

When performing upgrades of Talos at some environments BMC console log is not necessarily always available, if the upgrade fails to pull upgrade image or otherwise failing it's difficult to guess what is wrong in the environment without the console log from the upgrade cycle.

@smira
Copy link
Member

smira commented Jun 13, 2023

talosctl upgrade --debug should provide that information though?

@salkin
Copy link
Contributor Author

salkin commented Jun 14, 2023

To clarify more. With single node k8s clusters the upgrades have to be done via staged mode as giving upgrade without staged mode in single node is not really working stable.

Therefore the logs would need to be collected from the staged boot and stored somewhere so that they can be looked on if the staged upgrade failed.

Upgrade is done by the node itself via gRPC API and therefore the --debug option cannot be used as the node itself if rebooting due to the staged mode.

Copy link

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.

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

2 participants