Closed alex-vmw closed 3 years ago
@jcantrill Any pointers on the above? Thanks.
comes from this code:
begin
pod_object[:status][:containerStatuses].each do |container_status|
# get plain container id (eg. docker://hash -> hash)
container_id = container_status[:containerID].sub(%r{^[-_a-zA-Z0-9]+://}, '')
container_meta[container_id] = if @skip_container_metadata
{
'name' => container_status[:name]
}
else
{
'name' => container_status[:name],
'image' => container_status[:image],
'image_id' => container_status[:imageID]
}
end
end
rescue StandardError
log.debug("parsing container meta information failed for: #{pod_object[:metadata][:namespace]}/#{pod_object[:metadata][:name]} ")
end
and it looks like it would have been helpful to actually dump the error as it is not clear where the issue originates.
@jcantrill Sorry to bug you, do you have any possible ETA for a fix?
Hi, What is the best way to troubleshoot a lot of "parsing container meta information failed for" errors (yes, they only show up in debug mode)? We get these errors for normal running k8s pods and we don't see anything wrong with the pods or their metadata, so trying to figure out where to go from here: