Skip to content

Monitor test relies on dumping host endpoint debug messages #12037

@joestringer

Description

@joestringer

It's not possible to reconfigure host endpoint datapath options because it has reserved labels and we disable it in the API:

$ cilium endpoint config 2644 Debug=Enabled
Error: Cannot update endpoint 2644: [PATCH /endpoint/{id}/config][400] patchEndpointIdConfigInvalid 

This by itself is fine, but in PR #11977 we disable datapath debug mode by default, which means we can't turn it back on.

Combined with the RuntimeMonitor tests which iterate through all endpoints to make sure that debug mode outputs events for all endpoints, this causes a test failure.

Metadata

Metadata

Assignees

Labels

area/datapathImpacts bpf/ or low-level forwarding details, including map management and monitor messages.area/host-firewallImpacts the host firewall or the host endpoint.area/monitorImpacts monitoring, access logging, flow logging, visibility of datapath traffic.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions