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

Toggable cloud-init application verbose option #1907

Open
anmazzotti opened this issue Jan 18, 2024 · 1 comment
Open

Toggable cloud-init application verbose option #1907

anmazzotti opened this issue Jan 18, 2024 · 1 comment
Labels
area/capi CAPI Enablement issues kind/enhancement New feature or request

Comments

@anmazzotti
Copy link
Contributor

Problem:
As a user I would like to be able to debug failed cloud-init applications through logs.

There are some instances where the runcmd commands fail and at the same time are not idempotent, so manually repeating the commands a next time to debug may produce different results from the original failure.

Another instance where logs are required is when the runcmd list contains destructive commands, so that in case any of those fails it will be hard to reproduce the same scenario again and debug or retrieve information about the root cause of the failure.

Desired solution:
I'd like to configure elemental-toolkit to be able to print all runcmd execution logs and potentially to print verbose information for the all cloud-init configs application, so that failures can be analyzed from logs.

Ideally this should be configurable on a host level, for example using a global /etc/elemental/conf.yaml config.

The verbose option could also implemented per-config, so that I can decide one cloud-init application should be more verbose than another one, but not a requirement for this issue, just an idea.

@anmazzotti anmazzotti added the kind/enhancement New feature or request label Jan 18, 2024
@kkaempf kkaempf added this to the slem-6.0 milestone Jan 18, 2024
@anmazzotti anmazzotti added the area/capi CAPI Enablement issues label Jan 18, 2024
@anmazzotti
Copy link
Contributor Author

anmazzotti commented Feb 27, 2024

@kkaempf this is mostly CAPI related as the elemental toolkit does the k8s bootstrapping.
For the current elemental-operator the rancher-system-agent does it and iirc it does already print verbose logs.

The question being if this should have slem6 milestone or not.

@kkaempf kkaempf removed this from the slem6 milestone Mar 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/capi CAPI Enablement issues kind/enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

2 participants