Docker Community Forums

Share and learn in the Docker community.

Docker Azure RA and UCP/DTR Issues

azure
ucp

(Andrew Best) #1

Afternoon,

I have built the Docker EE Reference Architecture on Azure using the information available in the RA here.

Everything works as expected until we try and use DTR after the Azure VM nodes are rebooted.
The UCP dashboard is green.
The DTP settings page has the DTR url greyed out and none of the DTR fields appear.
I am able to access the the DTR admin page directly with no problems.

I have looked through all the logs of the UCP and DTR containers. The only things reporting problems are:

container: /dtr-notary-signer-69fe753003d2
2018/05/21 02:33:24 transport: http2Server.HandleStreams failed to receive the preface from client: EOF
repeats every 60 secs

container: /dtr-notary-server-69fe753003d2
018/05/21 01:43:20 grpc: addrConn.resetTransport failed to create client transport: connection error: desc = "transport: dial tcp 10.1.0.31:7899: getsockopt: connection refused"; Reconnecting to {dtr-notary-signer-69fe753003d2.dtr-ol:7899 <nil>}

{"level":"debug","msg":"Trusting 1 certs","time":"2018-05-21T01:43:20Z"}

{"level":"info","msg":"Starting Server","time":"2018-05-21T01:43:20Z"}

{"level":"info","msg":"Enabling TLS","time":"2018-05-21T01:43:20Z"}

{"level":"info","msg":"Starting on :4443","time":"2018-05-21T01:43:20Z"}

{"dtrapp-dockereedemo.australiasoutheast.cloudapp.azure.com/companyname/demo":"gun","go.version":"go1.8.3","http.request.host":"dtr-notary-server-69fe753003d2.dtr-ol:4443","http.request.id":"7b7d79ed-7e82-4a46-9ea8-9a78e9965d8e","http.request.method":"GET","http.request.remoteaddr":"10.1.0.39:41586","http.request.uri":"/v2/dtrapp-dockereedemo.australiasoutheast.cloudapp.azure.com/companyname/demo/_trust/tuf/root.json","http.request.useragent":"Go-http-client/1.1","level":"info","msg":"404 GET root role","time":"2018-05-21T01:55:48Z"}

{"go.version":"go1.8.3","http.request.host":"dtr-notary-server-69fe753003d2.dtr-ol:4443","http.request.id":"7b7d79ed-7e82-4a46-9ea8-9a78e9965d8e","http.request.method":"GET","http.request.remoteaddr":"10.1.0.39:41586","http.request.uri":"/v2/dtrapp-dockereedemo.australiasoutheast.cloudapp.azure.com/companyname/demo/_trust/tuf/root.json","http.request.useragent":"Go-http-client/1.1","level":"info","msg":"metadata not found: You have requested metadata that does not exist.: No record found","time":"2018-05-21T01:55:48Z"}

{"go.version":"go1.8.3","http.request.host":"dtr-notary-server-69fe753003d2.dtr-ol:4443","http.request.id":"7b7d79ed-7e82-4a46-9ea8-9a78e9965d8e","http.request.method":"GET","http.request.remoteaddr":"10.1.0.39:41586","http.request.uri":"/v2/dtrapp-dockereedemo.australiasoutheast.cloudapp.azure.com/companyname/demo/_trust/tuf/root.json","http.request.useragent":"Go-http-client/1.1","http.response.contenttype":"application/json; charset=utf-8","http.response.duration":"63.98671ms","http.response.status":404,"http.response.written":116,"level":"info","msg":"response completed","time":"2018-05-21T01:55:48Z"}

Im still new to Docker so maybe there is some basic troubleshooting thing im not doing. Happy to take advice. I have been through the KB, Forums, Support pages etc looking for similar issues and had no luck.

How can I triage and troubleshoot this further?