talos icon indicating copy to clipboard operation
talos copied to clipboard

Talos upgrade to optionally store log to Ephemeral partition

Open salkin opened this issue 2 years ago • 3 comments

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.

salkin avatar Jun 13 '23 05:06 salkin

talosctl upgrade --debug should provide that information though?

smira avatar Jun 13 '23 12:06 smira

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.

salkin avatar Jun 14 '23 06:06 salkin

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[bot] avatar Jun 24 '24 01:06 github-actions[bot]

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[bot] avatar Dec 26 '24 02:12 github-actions[bot]

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[bot] avatar Jun 25 '25 02:06 github-actions[bot]