Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

有依赖的应用随机无法启动 #593

Closed
lxm opened this issue Dec 19, 2019 · 12 comments
Closed

有依赖的应用随机无法启动 #593

lxm opened this issue Dec 19, 2019 · 12 comments
Labels
kind/bug BUG Feedback

Comments

@lxm
Copy link

lxm commented Dec 19, 2019

【BUG描述】有依赖的应用随机无法启动

【部署环境】

  • Rainbond版本 v5.1.9-release-32cc2ba-2019-12-13-09
    image

time="2019-12-19T19:13:22+08:00" level=info msg="start checking eds; dependent service cluster names: []"
15f8ed6aac2c
66
time="2019-12-19T19:13:22+08:00" level=info msg="depend service (0f09df5f31074a33b62df691b25d4bb9_gra2bac8_gr363055_9000) start complete"
67
time="2019-12-19T19:13:22+08:00" level=info msg="received cluster load assignments; length: 1; names: 0f09df5f31074a33b62df691b25d4bb9_gra2bac8_gr363055_9000"
68
time="2019-12-19T19:13:22+08:00" level=info msg="cluster name: 0f09df5f31074a33b62df691b25d4bb9_gra2bac8_gr363055_9000; ready: true"
69
time="2019-12-19T19:13:22+08:00" level=info msg=" not ready."

@barnettZQG
Copy link
Contributor

@GLYASAI 该问题分析原因。

@barnettZQG barnettZQG added the kind/bug BUG Feedback label Dec 19, 2019
@lxm
Copy link
Author

lxm commented Dec 19, 2019

image

@barnettZQG
Copy link
Contributor

barnettZQG commented Dec 19, 2019

我分析可能是 goodrain.me/rbd-init-probe 镜像未升级到5.1.9版本。
@lxm

docker run -it goodrain.me/rbd-init-probe /run/rainbond-init-probe --version

执行上诉命令确认一下

@GLYASAI
Copy link
Contributor

GLYASAI commented Dec 19, 2019

的确是 goodrain.me/rbd-init-probe 镜像未升级到5.1.9版本, 可以用一下命令进行升级:

docker pull rainbond/rbd-init-probe:v5.1.9-release
docker tag rainbond/rbd-init-probe goodrain.me/rbd-init-probe
docker push  goodrain.me/rbd-init-probe

升级完成后需要重启应用.

@lxm
Copy link
Author

lxm commented Dec 19, 2019

docker run -it goodrain.me/rbd-init-probe /run/rainbond-init-probe --version
结果如下

rainbond-init-probe version v5.1.9-release-32cc2ba-2019-12-13-09

docker pull rainbond/rbd-init-probe
结果如下

Using default tag: latest
Error response from daemon: manifest for rainbond/rbd-init-probe:latest not found

@barnettZQG
Copy link
Contributor

@lxm
镜像名称为rainbond/rbd-init-probe:v5.1.9-release

@lxm
Copy link
Author

lxm commented Dec 19, 2019

已更新

@lxm
Copy link
Author

lxm commented Dec 19, 2019

升级此镜像后依然复现

@barnettZQG
Copy link
Contributor

barnettZQG commented Dec 27, 2019

@lxm 5.1.9版本已就此问题做了补丁修复。

//升级mesh plugin 镜像
docker pull rainbond/rbd-init-probe:v5.1.9-release
docker tag rainbond/rbd-init-probe:v5.1.9-release goodrain.me/rbd-init-probe
docker push  goodrain.me/rbd-init-probe

//升级worker组件(管理节点)
grclis upgrade rbd-worker

//升级node组件(所有节点)
docker pull rainbond/cni:rbd_v5.1.9-release
docker run --rm -v /tmp/upgrade:/sysdir rainbond/cni:rbd_v5.1.9-release tar zxf /pkg.tgz -C /sysdir
systemctl stop node && cp -a /tmp/upgrade/bin/node /usr/local/bin/node && systemctl start node

@barnettZQG
Copy link
Contributor

已修复,如有问题重新打开。

@lxm
Copy link
Author

lxm commented Dec 27, 2019

node组件修复需要在所有节点执行吗?

@barnettZQG
Copy link
Contributor

@lxm 需要。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug BUG Feedback
Projects
None yet
Development

No branches or pull requests

3 participants