mirror of https://github.com/k3s-io/k3s
![]() Automatic merge from submit-queue (batch tested with PRs 55642, 55897, 55835, 55496, 55313). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. OpenStack: fetch volume path from metadata service **What this PR does / why we need it**: Updates the OpenStack cloud provider to use the Nova metadata service as a fallback when retrieving mounted PV disk paths. Note that the Nova instance device metadata will contain the disk address and bus, which allows finding its path. This is needed as the *standard* mechanism of retrieving disk paths is not available when running k8s under OpenStack Hyper-V hosts. **Which issue(s) this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close the issue(s) when PR gets merged)*: Fixes #55312 **Special notes for your reviewer**: **Release note**: ```release-note NONE ``` |
||
---|---|---|
.. | ||
BUILD | ||
MAINTAINERS.md | ||
OWNERS | ||
metadata.go | ||
metadata_test.go | ||
openstack.go | ||
openstack_client.go | ||
openstack_instances.go | ||
openstack_loadbalancer.go | ||
openstack_metrics.go | ||
openstack_routes.go | ||
openstack_routes_test.go | ||
openstack_test.go | ||
openstack_volumes.go |