gardener / gardener-extension-provider-equinix-metal

Gardener extension controller for the Equinix Metal cloud provider (https://equinixmetal.com/).
https://gardener.cloud
Apache License 2.0
8 stars 47 forks source link

Add additional information about failed provisioning #319

Closed RiRa12621 closed 1 month ago

RiRa12621 commented 1 month ago

How to categorize this issue? /area logging /kind enhancement /platform equinix-metal

What would you like to be added: Additional information about failures during worker provisioning

Why is this needed: when the provisioning of a given worker fails like so

Cloud provider message - machine codes error: code = [Unavailable] message = [Could not create machine: could not get a device with the provided reservation IDs, and reservedOnly is true]

It is not exactly fast/trivial to get from host name of worker, that has probably been deprovisioned in the meantime, to the reservationId, which is what you'd need to get a support request started. We already know the reservation ID so making it part of the log line, should be a small change, and it's not really a sensitive information either.