hetznercloud / csi-driver

Kubernetes Container Storage Interface driver for Hetzner Cloud Volumes
MIT License
645 stars 103 forks source link

Availability zone detection partially broken in csi-driver:latest #314

Closed sphr2k closed 2 years ago

sphr2k commented 2 years ago

In csi-driver:latest, the availability zone detection is partially broken, due to the fact that HCloud Metadata Service does not return the availability zone for older servers, or servers that have been created from a snapshot, see this issue.

Also, the metadata query result is not validated, so the metdata service error response availability-zone not found becomes csi.hetzner.cloud/location=availability.

sphr2k commented 2 years ago

Sorry, should have read the entire thead - #293