Skip to content

hrobot defined as provider-id is not honored #1158

@spastorclovr

Description

@spastorclovr

TL;DR

No matter what I put in provider-id, HCCM complains that the hostname differs from the server name in the console.

Expected behavior

I woud expect HCCM would use the value in hrobot to find the corresponding server's metadata, but use the name defined as hostame to register the node.

Observed behavior

HCCM logs give me

Node name \\\"newname-1\\\" differs from Robot name \\\"robotoname\\\"\"}

The name is actually the one corresponding to hostname but it remains tainted.

Minimal working example

  • setup the provider-id to : hrobot:// as kubelet's arg.

is the numer if found in the robot console for example "Dell PowerEdge™ R660 DX153 #XXXXXXX" -

  • check the providerID is available in node's spec
spec:
  podCIDR: 10.0.176.0/22
  podCIDRs:
  - 10.0.176.0/22
  providerID: hrobot://XXXXXXX

Log output


Additional information

I have tried with hcloud://bm- same thing ..

Version : 1.24.0

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions