Skip to content

Targets not resolved correctly in UDP probe #1030

Closed

Description

@Koaxiel

Describe the bug

There is an issue in the UDP probe implementation where the target's resolution failed because the target refreshing isn't synchronised with the target resolution.
Moreover, the probing gets indefinitely stuck.

Cloudprober Version
v0.13.9

To Reproduce
Steps to reproduce the behavior:

Configuration:

probe {
 name: "UDP_Probing"
 type: UDP
 targets {
   file_targets {
     file_path: "targets.json"
     re_eval_sec: 30
   }
 }
 udp_probe {}
}

then remove a target from the targets.json file

{
  "resource": [
    {
      "name": "target_1",
      "ip": "10.184.62.49",
      "port": 31234
    },
    {
      "name": "target_2",
      "ip": "10.184.43.11",
      "port": 31234
    }
  ]
}

Activity

  1. added
    bug
    on Mar 6, 2025
  2. manugarg commented on Mar 6, 2025

    @manugarg
    Contributor

    Thank you so much @Koaxiel for detecting and debugging this bug.

  3. added this to the v0.14.0 milestone on Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions