ks的应用商店的大部分容器都会有下面的报错内容,辛苦研发看下:
2019-11-28 05:08:58.01715 -ERROR- Error 1049: Unknown database 'task' (event.go:36)
2019-11-28 05:08:58.01741 -ERROR- dbr.exec.exec: map[sql:UPDATE `task` SET `status` = 'failed' WHERE (`status` = 'working')] (event.go:37)
2019-11-28 05:08:58.01745 -ERROR- Failed to update working tasks: Error 1049: Unknown database 'task' (controller.go:473)
2019-11-28 05:08:58.01812 -ERROR- dbr.exec.exec: map[sql:UPDATE `job` SET `status` = 'failed' WHERE (`status` = 'working')] (event.go:37)
2019-11-28 05:08:58.01806 -ERROR- Error 1049: Unknown database 'job' (event.go:36)
2019-11-28 05:08:58.01815 -ERROR- Failed to update working jobs: Error 1049: Unknown database 'job' (controller.go:236)
2019-11-28 08:39:49.95087 -ERROR- dbr.exec.exec: map[sql:UPDATE `task` SET `status` = 'failed' WHERE (`status` = 'working')] (event.go:37)
2019-11-28 08:39:49.95073 -ERROR- dial tcp 10.233.26.41:3306: connect: connection refused (event.go:36)
2019-11-28 08:39:49.95094 -ERROR- Failed to update working tasks: dial tcp 10.233.26.41:3306: connect: connection refused (controller.go:473)
2019-11-28 08:39:49.95087 -ERROR- dbr.exec.exec: map[sql:UPDATE `task` SET `status` = 'failed' WHERE (`status` = 'working')] (event.go:37)
2019-11-28 08:39:49.95073 -ERROR- dial tcp 10.233.26.41:3306: connect: connection refused (event.go:36)
2019-11-28 08:39:49.95094 -ERROR- Failed to update working tasks: dial tcp 10.233.26.41:3306: connect: connection refused (controller.go:473)
2019-11-28 08:39:49.95286 -ERROR- dial tcp 10.233.26.41:3306: connect: connection refused (event.go:36)
2019-11-28 08:39:49.95303 -ERROR- dbr.exec.exec: map[sql:UPDATE `job` SET `status` = 'failed' WHERE (`status` = 'working')] (event.go:37)
2019-11-28 08:39:49.95286 -ERROR- dial tcp 10.233.26.41:3306: connect: connection refused (event.go:36)
2019-11-28 08:39:49.95309 -ERROR- Failed to update working jobs: dial tcp 10.233.26.41:3306: connect: connection refused (controller.go:236)
2019-11-28 08:39:49.95303 -ERROR- dbr.exec.exec: map[sql:UPDATE `job` SET `status` = 'failed' WHERE (`status` = 'working')] (event.go:37)
2019-11-29 04:30:00.65574 -ERROR- Failed to read file [index.yaml] from s3 [s3://minio.kubesphere-system.svc:9000/openpitrix-internal-repo/vmbased], error: NotFound: Not Found\n status code: 404, request id: 15DB87CAF9BC437A, host id: (s3.go:109)(repoe-229Oo5Ew8YEJ|repo-vmbased)
2019-11-29 04:30:00.78766 -ERROR- Failed to read file [index.yaml] from s3 [s3://minio.kubesphere-system.svc:9000/openpitrix-internal-repo/helm], error: NotFound: Not Found\n status code: 404, request id: 15DB87CB087B750E, host id: (s3.go:109)(repoe-9mkxEzYD6jY3|repo-helm)
2019-11-29 06:49:06.99085 -ERROR- Failed to load package, error: gzip: invalid header (package_reader.go:31)
2019-11-29 06:49:06.99101 -ERROR- err: gzip: invalid header, errMsg: package parse failed: gzip: invalid header (handler.go:163)
另外一个问题:日志的时间和国内相差8小时,这个在哪里修改呢?