sonic-net / sonic-buildimage

Scripts which perform an installable binary image build for SONiC
Other
706 stars 1.35k forks source link

[202405] container_checker: Failed to get image 'docker-sonic-telemetry'. #19352

Open anamehra opened 1 month ago

anamehra commented 1 month ago

Description

container_checker script throws the error: Failed to get image 'docker-sonic-telemetry'. Error: '404 Client Error for http+docker://localhost/v1.43/images/docker-sonic-telemetry/json: Not Found ("No such image: docker-sonic-telemetry:latest")'

This causes loganalyzer errors during sonic-mgmt tests.

The error comes from this code if telemetry is not enabled: https://github.com/sonic-net/sonic-buildimage/blob/master/files/image_config/monit/container_checker#L38

Steps to reproduce the issue:

1. 2. 3.

Describe the results you received:

Describe the results you expected:

Output of show version:

(paste your output here)

Output of show techsupport:

(paste your output here or download and attach the file here )

Additional information you deem important (e.g. issue happens only occasionally):

anamehra commented 1 month ago

@abdosi , for your viz.

prgeor commented 2 weeks ago

@ganglyu can you check if the gnmi docker combined with telemtry needs name change, as monit seems to be referring to old telemetry name and complaining

ganglyu commented 2 weeks ago

@anamehra loganalyzer is used to analyze syslog, can you find this message in syslog? Please provide the syslog message.