libopenstorage/stork

Driver hostnames might not have domain name

disrani-px opened this issue · 1 comments

Is this a BUG REPORT or FEATURE REQUEST?:
BUG REPORT

What happened:
Drivers might not return the long hostname including domain name, so we won't be able to match driver nodes to k8s nodes. Filter and Prioritize requests aren't able to find any matching nodes so return default values.

What you expected to happen:
The extender should be able to filter and prioritize nodes even if the driver returns short hostnames and kubernetes return long hostnames.

How to reproduce it (as minimally and precisely as possible):
Make a driver return short hostnames when kubernetes has FQDN hostnames.
The filter and prioritize requests won't be able to match nodes and return default values

Anything else we need to know?:

Environment:

  • Kubernetes version (use kubectl version):
  • Cloud provider or hardware configuration: Seen in AWS
  • OS (e.g. from /etc/os-release):
  • Kernel (e.g. uname -a):
  • Install tools:
  • Others:

Need to add check for filter request too