Skip to content

"announcing from" speaker event does not contain node name #455

@juliantaylor

Description

@juliantaylor

metallb 0.8.0

The event the metallb speaker adds for announced ips just says:

announcing from node ""

despite the environment of the speaker pod being apparently correct:

$ kubectl -n metallb-system exec -ti speaker-6d865fd89c-ttksl env
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
HOSTNAME=kworker-fe-sandbox-iz1-bs003
METALLB_NODE_NAME=kworker-fe-sandbox-iz1-bs003
METALLB_HOST=10.238.1.6
...

I think the myNode member of the speaker controller is never actually populated from the configuration MyNode used for the event: https://github.com/danderson/metallb/blob/master/speaker/main.go#L246

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions