[cinder-csi-plugin] Unable to retrieve instance id
framctr opened this issue · 1 comments
framctr commented
Uncomment only one, leave it on its own line:
/kind bug
/kind feature
What happened:
I updated the os of a cluster and after rebooting a node I got the openstack-cinder-csi-nodeplugin
on just one node with the following error:
2024-07-03T11:58:08.736183741Z I0703 11:58:08.735985 1 main.go:90] Received GetInfo call: &InfoRequest{}
2024-07-03T11:58:08.784457640Z I0703 11:58:08.784243 1 main.go:101] Received NotifyRegistrationStatus call: &RegistrationStatus{PluginRegistered:false,Error:RegisterPlugin error -- plugin registration failed with err: rpc error: code = Internal desc = [NodeGetInfo] unable to retrieve instance id of node error fetching http://<IP_REDACTED>/openstack/latest/meta_data.json: Get "http://<IP_REDACTED>/openstack/latest/meta_data.json": dial tcp <IP_REDACTED>:80: connect: connection refused,}
2024-07-03T11:58:08.784589332Z E0703 11:58:08.784315 1 main.go:103] Registration process failed with error: RegisterPlugin error -- plugin registration failed with err: rpc error: code = Internal desc = [NodeGetInfo] unable to retrieve instance id of node error fetching http://<IP_REDACTED>/openstack/latest/meta_data.json: Get "http://<IP_REDACTED>/openstack/latest/meta_data.json": dial tcp
<IP_REDACTED>:80: connect: connection refused, restarting registration container.
The issue happened on just one worker node, all the other are ok.
What you expected to happen:
pod working fine
How to reproduce it:
- reboot a node
Anything else we need to know?:
The nodes are running Ubuntu 22.04 updated.
Environment:
- openstack-cloud-controller-manager(or other related binary) version: 2.30
- OpenStack version: Zed
- Others:
framctr commented
I found out that the IP was a special one from the cloud system (169.254.169.254) and it is dedicated to give metadata to VMs. So the issue is not of the cinder CSI plugin, but it is related to the OpenStack installation.