You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
My openstack env have not metadata service, so I can't get vm metadata by metadata service.
When I start kubelet, I get he following error:
1 openstack_instances.go:39] openstack.Instances() called
3 09:31:34.882593 1 openstack_instances.go:46] Claiming to support Instances
3 09:31:34.890697 1 metadata.go:151] Attempting to fetch metadata from http://169.254.169.254/openstack/2012-08-10/meta_data.json
r setting the external host value: failed to get NodeName from "openstack" cloud provider: unexpected status code when reading metadata from http://169.254.169.254/openstack/2012-08-10/meta_
the reason is:
kubernetes openstack cloud provider can't get the vm metadata from '/dev/disk', then try to use metadata service.
fix:
Bind /dev/disk for kubernete service.
The text was updated successfully, but these errors were encountered:
When kubernetes openstack cloud provider get vm metadata by
configdriver, it get vm info from '/dev/disk/*', so we should bind
'/dev/disk' for kube-apiserver\kube-controller-manager and kubelet.
Fixprojectatomic#171
cc @strigazi
My openstack env have not metadata service, so I can't get vm metadata by metadata service.
When I start kubelet, I get he following error:
1 openstack_instances.go:39] openstack.Instances() called
3 09:31:34.882593 1 openstack_instances.go:46] Claiming to support Instances
3 09:31:34.890697 1 metadata.go:151] Attempting to fetch metadata from http://169.254.169.254/openstack/2012-08-10/meta_data.json
r setting the external host value: failed to get NodeName from "openstack" cloud provider: unexpected status code when reading metadata from http://169.254.169.254/openstack/2012-08-10/meta_
the reason is:
kubernetes openstack cloud provider can't get the vm metadata from '/dev/disk', then try to use metadata service.
fix:
Bind /dev/disk for kubernete service.
The text was updated successfully, but these errors were encountered: