kubernetes / cloud-provider-openstack

Apache License 2.0
623 stars 611 forks source link

[occm] portProtocolMapping="internal error: json: unsupported type: map[openstack.listenerKey]*listeners.Listener>" #2693

Open judge-red opened 1 month ago

judge-red commented 1 month ago

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug /kind feature

What happened:

While debugging (a probably unrelated) issue, I found these log lines which might be a bug, so I thought I'd report them:

I1019 07:43:31.502200 11 loadbalancer.go:1691] "Load balancer ensured" lbID="dbeba37e-aa8e-45a2-bc76-a812e8d58df3" isLBOwner=true createNewLB=false I1019 07:43:31.502307 11 loadbalancer.go:1702] "Existing listeners" portProtocolMapping="<internal error: json: unsupported type: map[openstack.listenerKey]listeners.Lis tener>" I1019 07:43:31.515417 11 loadbalancer.go:1691] "Load balancer ensured" lbID="ffc5d6ec-86f2-4cf3-b9d0-5e6f11b7b324" isLBOwner=true createNewLB=false I1019 07:43:31.515449 11 loadbalancer.go:1702] "Existing listeners" portProtocolMapping="<internal error: json: unsupported type: map[openstack.listenerKey]listeners.Lis tener>"

What you expected to happen:

no internal error :)

How to reproduce it:

No idea. But might need to use the OVN provider.

Anything else we need to know?:

Sorry for the terrible report, I have no idea what this is about - just saw an unexpected log line (that appears quite frequently).

Environment:

judge-red commented 1 month ago

Attaching a log file (-v=4) where this is often encountered.

openstack-cloud-controller-manager-kmswx.log