Skip to content

尝试使用镜像在kubernetes里部署在控制面板上插件报错failed to enable plugin #12

@WilliamThh

Description

@WilliamThh

查看日志
2018/05/03 11:21:28 [error] 40#40: *5 [lua] mysql_db.lua:30: query(): failed to connect: failed to connect: mysql could not be resolved (3: Host not found): nil nil, context: ngx.timer
2018/05/03 11:21:28 [error] 40#40: *5 [lua] dao.lua:386: init_selectors_of_plugin(): the size of selectors from storage is 0 when initializing plugin[divide] local selectors, context: ngx.timer
2018/05/03 11:21:28 [error] 40#40: *5 [lua] dao.lua:521: load data of plugin[divide] success, context: ngx.timer
2018/05/03 11:21:28 [error] 40#40: *5 [lua] mysql_db.lua:30: query(): failed to connect: failed to connect: mysql could not be resolved (3: Host not found): nil nil, context: ngx.timer
2018/05/03 11:21:28 [error] 40#40: *5 [lua] dao.lua:511: load data of plugin[kvstore] success, context: ngx.timer
请问这个是什么原因呢?
容器运行日志是没问题的

Check database connection
Connection closed by foreign host.
Connected
Database connected
[INFO] Orange: 0.6.4
[INFO] ngx_lua: 10008
[INFO] nginx: 1011002
[INFO] Lua: LuaJIT 2.1.0-beta2
[INFO] Orange store operation start:
[INFO] args:
[INFO] store_type:mysql
[INFO] port:3306
[INFO] host:10.97.167.48
[INFO] operation:init
[INFO] pwd:123456
[INFO] user:root
[INFO] db:orange
[INFO] file:/usr/local/orange/install/orange-v0.6.4.sql
[INFO] args end.
[INFO] Store init finished.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions