Closed FWLamb closed 1 year ago
2.3.5版本若配置多磁盘,则出现如下报错: 若不涉及多磁盘模块,则一切正常。
日志报错信息: 2023-02-01T18:33:53.992+0800 INFO server/server.go:185 | 200 | 1.751016138s | 10.9.16.23 | POST | /api/v1/ck/config/hdp01_04?force=false 2023-02-01T18:35:05.832+0800 ERROR model/response.go:24 POST /api/v1/ck/config/hdp01_04?force=false return 5000, host: xxxx, cmd: cd /data01/ && echo $?: : ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain github.com/housepower/ckman/model.WrapMsg /root/go/src/github.com/housepower/ckman/model/response.go:24 github.com/housepower/ckman/controller.(ClickHouseController).ClusterSetting /root/go/src/github.com/housepower/ckman/controller/clickhouse.go:1916 github.com/gin-gonic/gin.(Context).Next /root/go/src/github.com/housepower/ckman/vendor/github.com/gin-gonic/gin/context.go:165 github.com/housepower/ckman/server.ginRefreshTokenExpires.func1 /root/go/src/github.com/housepower/ckman/server/server.go:260 github.com/gin-gonic/gin.(Context).Next /root/go/src/github.com/housepower/ckman/vendor/github.com/gin-gonic/gin/context.go:165 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /root/go/src/github.com/housepower/ckman/vendor/github.com/gin-gonic/gin/recovery.go:99 github.com/gin-gonic/gin.(Context).Next /root/go/src/github.com/housepower/ckman/vendor/github.com/gin-gonic/gin/context.go:165 github.com/housepower/ckman/server.ginLoggerToFile.func1 /root/go/src/github.com/housepower/ckman/server/server.go:164 github.com/gin-gonic/gin.(Context).Next /root/go/src/github.com/housepower/ckman/vendor/github.com/gin-gonic/gin/context.go:165 github.com/gin-gonic/gin.(Engine).handleHTTPRequest /root/go/src/github.com/housepower/ckman/vendor/github.com/gin-gonic/gin/gin.go:489 github.com/gin-gonic/gin.(Engine).ServeHTTP /root/go/src/github.com/housepower/ckman/vendor/github.com/gin-gonic/gin/gin.go:445 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:2947 net/http.(conn).serve /usr/local/go/src/net/http/server.go:1991
2.2.x版本没有此问题,升级至2.3.5出现此问题 ckman版本:2.3.5 clickhouse版本:22.3.9.19
2.3.5版本若配置多磁盘,则出现如下报错:
若不涉及多磁盘模块,则一切正常。
日志报错信息: 2023-02-01T18:33:53.992+0800 INFO server/server.go:185 | 200 | 1.751016138s | 10.9.16.23 | POST | /api/v1/ck/config/hdp01_04?force=false 2023-02-01T18:35:05.832+0800 ERROR model/response.go:24 POST /api/v1/ck/config/hdp01_04?force=false return 5000, host: xxxx, cmd: cd /data01/ && echo $?: : ssh: handshake failed: ssh: unable to authenticate, attempted methods [none password], no supported methods remain github.com/housepower/ckman/model.WrapMsg /root/go/src/github.com/housepower/ckman/model/response.go:24 github.com/housepower/ckman/controller.(ClickHouseController).ClusterSetting /root/go/src/github.com/housepower/ckman/controller/clickhouse.go:1916 github.com/gin-gonic/gin.(Context).Next /root/go/src/github.com/housepower/ckman/vendor/github.com/gin-gonic/gin/context.go:165 github.com/housepower/ckman/server.ginRefreshTokenExpires.func1 /root/go/src/github.com/housepower/ckman/server/server.go:260 github.com/gin-gonic/gin.(Context).Next /root/go/src/github.com/housepower/ckman/vendor/github.com/gin-gonic/gin/context.go:165 github.com/gin-gonic/gin.CustomRecoveryWithWriter.func1 /root/go/src/github.com/housepower/ckman/vendor/github.com/gin-gonic/gin/recovery.go:99 github.com/gin-gonic/gin.(Context).Next /root/go/src/github.com/housepower/ckman/vendor/github.com/gin-gonic/gin/context.go:165 github.com/housepower/ckman/server.ginLoggerToFile.func1 /root/go/src/github.com/housepower/ckman/server/server.go:164 github.com/gin-gonic/gin.(Context).Next /root/go/src/github.com/housepower/ckman/vendor/github.com/gin-gonic/gin/context.go:165 github.com/gin-gonic/gin.(Engine).handleHTTPRequest /root/go/src/github.com/housepower/ckman/vendor/github.com/gin-gonic/gin/gin.go:489 github.com/gin-gonic/gin.(Engine).ServeHTTP /root/go/src/github.com/housepower/ckman/vendor/github.com/gin-gonic/gin/gin.go:445 net/http.serverHandler.ServeHTTP /usr/local/go/src/net/http/server.go:2947 net/http.(conn).serve /usr/local/go/src/net/http/server.go:1991
2.2.x版本没有此问题,升级至2.3.5出现此问题 ckman版本:2.3.5 clickhouse版本:22.3.9.19