postgres库里有字段信息,但是报错找不到,导致创建集群 状态为失败
ckman debug 模式日志 tail -fn 500 /ckman/logs/ckman.err.log
2022-06-23T13:41:23.909+0800 ERROR runner/runner.go:59 clickhouse.deploy failed:: : ERROR: column "update_at" of relation "tbl_cluster" does not exi st (SQLSTATE 42703)github.com/housepower/ckman/service/runner.(*RunnerService).CheckTaskEvent.func1 /root/go/src/github.com/housepower/ckman/service/runner/runner.go:59 github.com/housepower/ckman/common.runFunc /root/go/src/github.com/housepower/ckman/common/workerpool.go:80 github.com/housepower/ckman/common.(*WorkerPool).wokerFunc /root/go/src/github.com/housepower/ckman/common/workerpool.go:57 ————————————————————————————————————————————————
postgres信息如下
ckman=# \dt
List of relations
Schema | Name | Type | Owner
--------+-------------------+-------+----------
public | tbl_cluster | table | postgres
public | tbl_logic | table | postgres
public | tbl_query_history | table | postgres
public | tbl_task | table | postgres
(4 rows)
ckman=# select *from tbl_cluster; id | created_at | updated_at | deleted_at | cluster_name | config ----+------------+------------+------------+--------------+-------- (0 rows)