Docker Community Forums

Share and learn in the Docker community.

DTR 1.1.1: load balancer floods logs of image storage


(Andreasaskrause) #1

Hi,

while evaluating DTR 1.1.1 I found my /usr/local/etc/dtr/logs/image_storage_[0,1] logs flooded by entries like this:

2015-07-16T12:24:29.911922605Z 192.168.254.129 - - [16/Jul/2015:12:24:29 +0000] "HEAD /v2/ HTTP/1.0" 401 114 "" ""
2015-07-16T12:24:32.204073168Z time="2015-07-16T12:24:32.203963203Z" level=debug msg="authorizing request" http.request.host= http.request.id=119de8aa-98c1-4224-a2a1-43668ddced9c http.request.method=HEAD http.request.remoteaddr="192.168.254.129:51133" http.request.uri="/v2/" http.request.useragent= instance.id=663d6144-4151-493f-90ce-d5c093e69364 version=v2.0.1
2015-07-16T12:24:32.204182170Z time="2015-07-16T12:24:32.204096332Z" level=error msg="error authorizing context: authorization token required" http.request.host= http.request.id=119de8aa-98c1-4224-a2a1-43668ddced9c http.request.method=HEAD http.request.remoteaddr="192.168.254.129:51133" http.request.uri="/v2/" http.request.useragent= instance.id=663d6144-4151-493f-90ce-d5c093e69364 version=v2.0.1
2015-07-16T12:24:32.204332424Z time="2015-07-16T12:24:32.204155562Z" level=info msg="response completed" http.request.host= http.request.id=119de8aa-98c1-4224-a2a1-43668ddced9c http.request.method=HEAD http.request.remoteaddr="192.168.254.129:51133" http.request.uri="/v2/" http.request.useragent= http.response.contenttype="application/json; charset=utf-8" http.response.duration=4.005173ms http.response.status=401 http.response.written=114 instance.id=663d6144-4151-493f-90ce-d5c093e69364 version=v2.0.1

Docker daemon is startet with “–bip=192.168.254.1/24”, 192.168.254.129 is the docker_trusted_registry_load_balancer container. Authentication is LDAP.

Any chance to supress this?

Regards, Andreas