{"action":"opened","issue":{"url":"https://api.github.com/repos/vmware/harbor/issues/3276","repository_url":"https://api.github.com/repos/vmware/harbor","labels_url":"https://api.github.com/repos/vmware/harbor/issues/3276/labels{/name}","comments_url":"https://api.github.com/repos/vmware/harbor/issues/3276/comments","events_url":"https://api.github.com/repos/vmware/harbor/issues/3276/events","html_url":"https://github.com/vmware/harbor/issues/3276","id":260055002,"number":3276,"title":"harbor-jobservice:v1.1.2 always restart, the follow is my log","user":{"login":"Unstoppable94","id":17585636,"avatar_url":"https://avatars0.githubusercontent.com/u/17585636?v=4","gravatar_id":"","url":"https://api.github.com/users/Unstoppable94","html_url":"https://github.com/Unstoppable94","followers_url":"https://api.github.com/users/Unstoppable94/followers","following_url":"https://api.github.com/users/Unstoppable94/following{/other_user}","gists_url":"https://api.github.com/users/Unstoppable94/gists{/gist_id}","starred_url":"https://api.github.com/users/Unstoppable94/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Unstoppable94/subscriptions","organizations_url":"https://api.github.com/users/Unstoppable94/orgs","repos_url":"https://api.github.com/users/Unstoppable94/repos","events_url":"https://api.github.com/users/Unstoppable94/events{/privacy}","received_events_url":"https://api.github.com/users/Unstoppable94/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-09-24T03:32:52Z","updated_at":"2017-09-24T03:32:52Z","closed_at":null,"author_association":"NONE","body":"docker version :v1.12.6\r\ndocker-compose version 1.7.1, build 0a9ab35\r\n## jobservice.log:\r\nSep 23 04:43:56 172.18.0.1 jobservice[1141]: 2017-09-22T20:43:56Z [INFO] Config path: /etc/jobservice/app.conf\r\nSep 23 04:43:56 172.18.0.1 jobservice[1141]: 2017-09-22T20:43:56Z [INFO] initializing configurations...\r\nSep 23 04:43:56 172.18.0.1 jobservice[1141]: 2017-09-22T20:43:56Z [INFO] key path: /etc/jobservice/key\r\nSep 23 04:43:56 172.18.0.1 jobservice[1141]: 2017-09-22T20:43:56Z [INFO] initializing client for adminserver http://adminserver ...\r\nSep 23 04:43:58 172.18.0.1 jobservice[1141]: 2017-09-22T20:43:58Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:00 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:00Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:02 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:02Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:04 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:04Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:06 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:06Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:08 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:08Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:10 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:10Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:12 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:12Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:14 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:14Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:16 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:16Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:18 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:18Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:20 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:20Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:22 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:22Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:24 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:24Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:26 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:26Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:29 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:29Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:31 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:31Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:33 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:33Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:35 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:35Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:37 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:37Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:39 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:39Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:41 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:41Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:43 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:43Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:45 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:45Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:47 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:47Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:49 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:49Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:51 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:51Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:53 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:53Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:55 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:55Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:44:57 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:57Z [FATAL] [main.go:31]: failed to initialize configurations: failed to ping adminserver: failed to connect to tcp:adminserver:80 after 60 seconds\r\nSep 23 04:44:58 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:58Z [INFO] Config path: /etc/jobservice/app.conf\r\nSep 23 04:44:58 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:58Z [INFO] initializing configurations...\r\nSep 23 04:44:58 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:58Z [INFO] key path: /etc/jobservice/key\r\nSep 23 04:44:58 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:58Z [INFO] initializing client for adminserver http://adminserver ...\r\nSep 23 04:44:58 172.18.0.1 jobservice[1141]: 2017-09-22T20:44:58Z [ERROR] [utils.go:94]: failed to connect to tcp://adminserver:80, retry after 2 seconds :dial tcp: lookup adminserver: no such host\r\nSep 23 04:45:00 172.18.0.1 jobservice[1141]: 2017-09-22T20:45:00Z [ERROR] [utils.go:94]: failed to \r\n## proxy.log\r\nSep 22 10:54:33 172.18.0.1 proxy[1142]: 192.168.101.67 - \"GET /v2/ HTTP/1.1\" 401 87 \"-\" \"docker/1.12.6 go/go1.7.4 kernel/3.10.0-514.el7.x86_64 os/linux arch/amd64 UpstreamClient(Go-http-client/1.1)\" 0.005 0.005 .\r\nSep 22 10:54:33 172.18.0.1 proxy[1142]: 192.168.101.67 - \"GET /v2/ HTTP/1.1\" 401 87 \"-\" \"docker/1.12.6 go/go1.7.4 kernel/3.10.0-514.el7.x86_64 os/linux arch/amd64 UpstreamClient(Go-http-client/1.1)\" 0.002 0.002 .\r\nSep 22 10:54:33 172.18.0.1 proxy[1142]: 192.168.101.67 - \"GET /service/token?scope=repository%3Awinhong%2Fdockerlog-fluentd%3Apull&service=harbor-registry HTTP/1.1\" 200 967 \"-\" \"docker/1.12.6 go/go1.7.4 kernel/3.10.0-514.el7.x86_64 os/linux arch/amd64 UpstreamClient(Go-http-client/1.1)\" 0.030 0.030 .\r\nSep 22 10:54:33 172.18.0.1 proxy[1142]: 192.168.101.67 - \"GET /v2/winhong/dockerlog-fluentd/manifests/latest HTTP/1.1\" 200 5527 \"-\" \"docker/1.12.6 go/go1.7.4 kernel/3.10.0-514.el7.x86_64 os/linux arch/amd64 UpstreamClient(Go-http-client/1.1)\" 0.004 0.004 .\r\nSep 22 10:54:33 172.18.0.1 proxy[1142]: 192.168.101.67 - \"GET /service/token?scope=repository%3Awinhong%2Fsystemd-fluentd%3Apull&service=harbor-registry HTTP/1.1\" 200 964 \"-\" \"docker/1.12.6 go/go1.7.4 kernel/3.10.0-514.el7.x86_64 os/linux arch/amd64 UpstreamClient(Go-http-client/1.1)\" 0.056 0.056 .\r\nSep 22 10:54:33 172.18.0.1 proxy[1142]: 192.168.101.67 - \"GET /v2/winhong/systemd-fluentd/manifests/latest HTTP/1.1\" 200 5527 \"-\" \"docker/1.12.6 go/go1.7.4 kernel/3.10.0-514.el7.x86_64 os/linux arch/amd64 UpstreamClient(Go-http-client/1.1)\" 0.007 0.007 .\r\nSep 22 10:54:33 172.18.0.1 proxy[1142]: 192.168.101.69 - \"GET /v2/ HTTP/1.1\" 401 87 \"-\" \"docker/1.12.6 go/go1.7.4 kernel/3.10.0-514.el7.x86_64 os/linux arch/amd64 UpstreamClient(Go-http-client/1.1)\" 0.002 0.002 .\r\nSep 22 10:54:33 172.18.0.1 proxy[1142]: 192.168.101.69 - \"GET /service/token?scope=repository%3Awinhong%2Fwh-kibana%3Apull&service=harbor-registry HTTP/1.1\" 200 959 \"-\" \"docker/1.12.6 go/go1.7.4 kernel/3.10.0-514.el7.x86_64 os/linux arch/amd64 UpstreamClient(Go-http-client/1.1)\" 0.026 0.026 .\r\nSep 22 10:54:33 172.18.0.1 proxy[1142]: 192.168.101.69 - \"GET /v2/winhong/wh-kibana/manifests/latest HTTP/1.1\" 200 4287 \"-\" \"docker/1.12.6 go/go1.7.4 kernel/3.10.0-514.el7.x86_64 os/linux arch/amd64 UpstreamClient(Go-http-client/1.1)\" 0.004 0.004 .\r\nSep 22 10:54:35 172.18.0.1 proxy[1142]: 192.168.101.69 - \"GET /service/token?scope=repository%3Awinhong%2Fdockerlog-fluentd%3Apull&service=harbor-registry HTTP/1.1\" 200 962 \"-\" \"docker/1.12.6 go/go1.7.4 kernel/3.10.0-514.el7.x86_64 os/linux arch/amd64 UpstreamClient(Go-http-client/1.1)\" 1.530 1.530 .\r\nSep 22 10:54:35 172.18.0.1 proxy[1142]: 192.168.101.69 - \"GET /v2/winhong/dockerlog-fluentd/manifests/latest HTTP/1.1\" 200 5527 \"-\" \"docker/1.12.6 go/go1.7.4 kernel/3.10.0-514.el7.x86_64 os/linux arch/amd64 UpstreamClient(Go-http-client/1.1)\" 0.006 0.006 .\r\n## ui.log\r\nSep 22 10:38:13 172.18.0.1 ui[1142]: 2017-09-22T02:38:13Z [DEBUG] [authutils.go:87]: user: , access: &{repository  elasticsearch/elasticsearch [pull]}\r\nSep 22 10:38:13 172.18.0.1 ui[1142]: 2017-09-22T02:38:13Z [DEBUG] [authutils.go:87]: user: , access: &{repository  winhong/systemd-fluentd [pull]}\r\nSep 22 10:38:13 172.18.0.1 ui[1142]: 2017/09/22 02:38:13 #033[1;34m[router.go:829][D] | GET        | /service/token                           | 1.584515634s     | match      | /service/token                           | #033[0m\r\nSep 22 10:38:13 172.18.0.1 ui[1142]: 2017/09/22 02:38:13 #033[1;34m[router.go:829][D] | GET        | /service/token                           | 1.594759691s     | match      | /service/token                           | #033[0m\r\nSep 22 10:38:13 172.18.0.1 ui[1142]: 2017-09-22T02:38:13Z [DEBUG] [authutils.go:87]: user: , access: &{repository  winhong/systemd-fluentd [pull]}\r\nSep 22 10:38:14 172.18.0.1 ui[1142]: 2017-09-22T02:38:14Z [DEBUG] [authutils.go:87]: user: , access: &{repository  winhong/dockerlog-fluentd [pull]}\r\nSep 22 10:38:14 172.18.0.1 ui[1142]: 2017/09/22 02:38:14 #033[1;34m[router.go:829][D] | GET        | /service/token                           | 1.951632772s     | match      | /service/token                           | #033[0m\r\nSep 22 10:38:14 172.18.0.1 ui[1142]: 2017-09-22T02:38:14Z [WARNING] Invalid credentials for uid:\r\nSep 22 10:38:14 172.18.0.1 ui[1142]: 2017-09-22T02:38:14Z [DEBUG] [authutils.go:46]: scopes: [repository:winhong/dockerlog-fluentd:pull]\r\nSep 22 10:38:14 172.18.0.1 ui[1142]: 2017-09-22T02:38:14Z [DEBUG] [authutils.go:87]: user: , access: &{repository  winhong/dockerlog-fluentd [pull]}\r\nSep 22 10:38:14 172.18.0.1 ui[1142]: 2017/09/22 02:38:14 #033[1;34m[router.go:829][D] | GET        | /service/token                           | 1.948906506s     | match      | /service/token                           | #033[0m\r\nSep 22 10:38:14 172.18.0.1 ui[1142]: 2017-09-22T02:38:14Z [WARNING] Invalid credentials for uid:\r\nSep 22 10:38:14 172.18.0.1 ui[1142]: 2017-09-22T02:38:14Z [DEBUG] [authutils.go:46]: scopes: [repository:winhong/wh-kibana:pull]\r\nSep 22 10:38:14 172.18.0.1 ui[1142]: 2017-09-22T02:38:14Z [DEBUG] [authutils.go:87]: user: , access: &{repository  winhong/wh-kibana [pull]}\r\nSep 22 10:38:14 172.18.0.1 ui[1142]: 2017/09/22 02:38:14 #033[1;34m[router.go:829][D] | GET        | /service/token                           | 1.755880296s     | match      | /service/token                           | #033[0m\r\nSep 22 10:38:14 172.18.0.1 ui[1142]: 2017/09/22 02:38:14 #033[1;34m[router.go:829][D] | GET        | /service/token                           | 2.108443806s     | match      | /service/token                           | #033[0m\r\nSep 22 10:38:14 172.18.0.1 ui[1142]: 2017-09-22T02:38:14Z [DEBUG] [notification.go:101]: receive an event:\r\nSep 22 10:38:14 172.18.0.1 ui[1142]: ----ID: 4ab618b1-26f8-43a4-82bf-6ebb76e88c39\r\n## adminserver.log\r\nSep 22 14:44:19 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:06:44:19 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 14:45:13 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:06:45:13 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 14:49:40 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:06:49:40 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 14:51:46 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:06:51:46 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 14:53:00 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:06:53:00 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 14:54:40 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:06:54:40 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 14:54:51 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:06:54:51 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 15:01:09 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:07:01:09 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 15:01:14 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:07:01:14 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 15:01:23 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:07:01:23 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 15:01:54 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:07:01:54 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 15:02:10 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:07:02:10 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 15:05:16 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:07:05:16 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 15:08:17 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:07:08:17 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 15:11:16 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:07:11:16 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 15:11:52 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:07:11:52 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 15:20:27 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:07:20:27 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 15:20:37 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:07:20:37 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\nSep 22 15:20:49 172.18.0.1 adminserver[1142]: 172.18.0.6 - - [22/Sep/2017:07:20:49 +0000] \"GET /api/configurations HTTP/1.1\" 200 900\r\n"}}
{"actor":{"display_login":"Unstoppable94"}}