-
Notifications
You must be signed in to change notification settings - Fork 42.8k
Kubelet cannot register nodes since hostnames are used as node names on OpenStack #61774
Copy link
Copy link
Closed
Closed
Copy link
Labels
area/provider/openstackIssues or PRs related to openstack providerIssues or PRs related to openstack providerkind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.
Description
Is this a BUG REPORT:
/kind bug
/sig openstack
What happened:
With #58502 an issue has been introduced to the openstack cloudprovider. This leads to a problem when the kubelet tries to get the ExternalID of the node.
kubernetes/pkg/cloudprovider/providers/openstack/openstack.go
Lines 419 to 421 in e3ac402
| opts := servers.ListOpts{ | |
| Name: fmt.Sprintf("^%s$", regexp.QuoteMeta(mapNodeNameToServerName(name))), | |
| } |
I don't see a way how you can do a server list query with gophercloud by providing the FQDN of an instance.
Environment:
- Kubernetes version: 1.10
- Cloud provider or hardware configuration: openstack
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/provider/openstackIssues or PRs related to openstack providerIssues or PRs related to openstack providerkind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.