clusterctl: dump metadata.yaml at -v=10 to aid debugging #12248
Labels
area/clusterctl
Issues or PRs related to clusterctl
kind/feature
Categorizes issue or PR as related to a new feature.
needs-priority
Indicates an issue lacks a `priority/foo` label and requires one.
needs-triage
Indicates an issue or PR lacks a `triage/foo` label and requires one.
Uh oh!
There was an error while loading. Please reload this page.
What would you like to be added (User Story)?
As a clusterctl user I would like
clusterctl -v=10
to dump themetadata.yaml
content for each provider release so that I can understand what is happening under the hood and file accurate GitHub issues when something goes wrong.Detailed Description
Currently, even with
-v=10
,clusterctl
does not surface enough context during provider download.When provider metadata is malformed or incompatible, only generic errors are shown, leaving users guessing and preventing well-formed bug reports.
This feature proposes:
metadata.yaml
content at log levelV(10)
during download.Benefits:
clusterctl
is processing.metadata.yaml
, reducing back-and-forth.Anything else you would like to add?
Verbose logs are valuable not only for developers but also for end-users operating
clusterctl
in CI/CD pipelines or air-gapped environments.Without this visibility, errors such as “failed to parse metadata” are hard to triage, leading to incomplete or incorrect issue reports.
Label(s) to be applied
/kind feature
/area clusterctl
The text was updated successfully, but these errors were encountered: