Project

General

Profile

Actions

Bug #59704

closed

jaeger-agents in error state if deployed before jaeger-collector

Added by Adam King almost 3 years ago. Updated 8 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
% Done:

0%

Source:
Backport:
reef
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Tags (freeform):
Fixed In:
v18.0.0-6707-gb15daa48884
Released In:
v19.2.0~1419
Upkeep Timestamp:
2025-07-12T13:15:05+00:00

Description

We use the jaeger-collectors port/URL as an argument for setting up the jager-agents. If the collector has not been deployed yet when the agents are deployed, this arguments is unset and the agents go into error state with

Could not create collector proxy","error":"at least one collector hostPort address is required when resolver is not available" 

You can see in one of the agent's unit.run, that the "--reporter.grpc.host-port=" argument is unset

[root@smithi176 ~]# cat /var/lib/ceph/10f55976-edcf-11ed-9b02-001a4aab830c/jaeger-agent.smithi176/unit.run 
set -e
# jaeger-agent.smithi176
! /usr/bin/podman rm -f ceph-10f55976-edcf-11ed-9b02-001a4aab830c-jaeger-agent.smithi176 2> /dev/null
! /usr/bin/podman rm -f ceph-10f55976-edcf-11ed-9b02-001a4aab830c-jaeger-agent-smithi176 2> /dev/null
! /usr/bin/podman rm -f --storage ceph-10f55976-edcf-11ed-9b02-001a4aab830c-jaeger-agent-smithi176 2> /dev/null
! /usr/bin/podman rm -f --storage ceph-10f55976-edcf-11ed-9b02-001a4aab830c-jaeger-agent.smithi176 2> /dev/null
/usr/bin/podman run --rm --ipc=host --stop-signal=SIGTERM --net=host --init --name ceph-10f55976-edcf-11ed-9b02-001a4aab830c-jaeger-agent-smithi176 -d --log-driver journald --conmon-pidfile /run/ceph-10f55976-edcf-11ed-9b02-001a4aab830c@jaeger-agent.smithi176.service-pid --cidfile /run/ceph-10f55976-edcf-11ed-9b02-001a4aab830c@jaeger-agent.smithi176.service-cid --cgroups=split -e CONTAINER_IMAGE=quay.io/jaegertracing/jaeger-agent:1.29 -e NODE_NAME=smithi176 -e CEPH_USE_RANDOM_NONCE=1 -v /etc/hosts:/etc/hosts:ro quay.io/jaegertracing/jaeger-agent:1.29 --reporter.grpc.host-port= --processor.jaeger-compact.server-host-port=6799

https://pulpito.ceph.com/adking-2023-05-03_12:22:42-orch:cephadm-wip-adk-testing-2023-05-02-1906-distro-default-smithi/7260952/


Related issues 1 (0 open1 closed)

Copied to Orchestrator - Backport #63190: reef: jaeger-agents in error state if deployed before jaeger-collectorResolvedAdam KingActions
Actions #1

Updated by Adam King over 2 years ago

  • Pull request ID set to 51416
Actions #2

Updated by Adam King over 2 years ago

  • Status changed from In Progress to Pending Backport
  • Backport set to reef
Actions #3

Updated by Upkeep Bot over 2 years ago

  • Copied to Backport #63190: reef: jaeger-agents in error state if deployed before jaeger-collector added
Actions #5

Updated by Adam King about 2 years ago

  • Status changed from Pending Backport to Resolved
Actions #6

Updated by Upkeep Bot 8 months ago

  • Merge Commit set to b15daa4888439b770c65822782271b566e29d174
  • Fixed In set to v18.0.0-6707-gb15daa48884
  • Released In set to v19.2.0~1419
  • Upkeep Timestamp set to 2025-07-12T13:15:05+00:00
Actions

Also available in: Atom PDF