Skip to content

Kubelet cannot register nodes since hostnames are used as node names on OpenStack #61774

@afritzler

Description

@afritzler

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.

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

Metadata

Metadata

Assignees

Labels

area/provider/openstackIssues or PRs related to openstack providerkind/bugCategorizes issue or PR as related to a bug.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions