【已处理】5.1.3升级到5.1.7报错

请完善如下信息,方便我们协助排查问题:

仅可能详细点
Rainbond版本:
操作系统:
内核版本:
环境:(云服务商,虚拟机等)
节点配置:
安装类型:
如何复现:
尝试解决:
相关截图:
是否重新执行安装:

5.1.3版本,在线升级到5.1.7,升级最后未报错,升级成功。开登陆后台总是界面报系统异常,按以前帖子的方法查询,rbd-app-ui仍为5.1.3版本为升级,删除5.1.3镜像后重启服务器,该服务已变为5.1.7,但登陆后台仍报系统异常,且运行实例显示异常。

。查看后台docker ps rbd-dns和rbd-gateway运行异常,反复重启。
docker logs rbd-gateway
time=“2019-09-11T17:13:10+08:00” level=info msg=“start gateway…”
time=“2019-09-11T17:13:10+08:00” level=info msg=“Network interface lo is enable manage by gateway”
time=“2019-09-11T17:13:10+08:00” level=info msg=“Network interface ens160 is enable manage by gateway”
time=“2019-09-11T17:13:10+08:00” level=info msg=“Network interface docker0 is enable manage by gateway”
time=“2019-09-11T17:13:10+08:00” level=info msg=“Network interface tunl0 is enable manage by gateway”
time=“2019-09-11T17:13:10+08:00” level=info msg=“openresty server starting”
time=“2019-09-11T17:13:10+08:00” level=info msg=“Nginx is not ready yet: Get http://127.0.0.1:18080//healthz: dial tcp 127.0.0.1:18080: connect: connection refused”
time=“2019-09-11T17:13:11+08:00” level=info msg=“Create certificate for goodrain.me successfully”
time=“2019-09-11T17:13:11+08:00” level=info msg=“init openresty config success”
time=“2019-09-11T17:13:11+08:00” level=info msg=“start openresty progress”
2019/09/11 17:13:11 [alert] 71#71: setrlimit(RLIMIT_NOFILE, 200000) failed (1: Operation not permitted)
2019/09/11 17:13:11 [alert] 72#72: setrlimit(RLIMIT_NOFILE, 200000) failed (1: Operation not permitted)
2019/09/11 17:13:11 [alert] 73#73: setrlimit(RLIMIT_NOFILE, 200000) failed (1: Operation not permitted)
2019/09/11 17:13:11 [alert] 74#74: setrlimit(RLIMIT_NOFILE, 200000) failed (1: Operation not permitted)
2019/09/11 17:13:11 [alert] 75#75: setrlimit(RLIMIT_NOFILE, 200000) failed (1: Operation not permitted)
2019/09/11 17:13:11 [alert] 76#76: setrlimit(RLIMIT_NOFILE, 200000) failed (1: Operation not permitted)
time=“2019-09-11T17:13:11+08:00” level=info msg=“Nginx is ready”
time=“2019-09-11T17:13:11+08:00” level=info msg=“nginx config reload success”
time=“2019-09-11T17:13:11+08:00” level=info msg=“Start watching Rainbond servers. Watch key: /rainbond/endpoint/”
2019/09/11 17:13:11 [alert] 88#88: setrlimit(RLIMIT_NOFILE, 200000) failed (1: Operation not permitted)
2019/09/11 17:13:11 [alert] 90#90: setrlimit(RLIMIT_NOFILE, 200000) failed (1: Operation not permitted)


抄送: @barnett

journalctl -fu rbd-api
– Logs begin at 三 2019-09-11 15:43:53 CST. –
9月 11 17:19:46 compute01 bash[30555]: time=“2019-09-11T17:19:46+08:00” level=error msg=“GetPodByService Error:rpc error: code = Unavailable desc = there is no address available”
9月 11 17:19:46 compute01 bash[30555]: time=“2019-09-11T17:19:46+08:00” level=error msg=“get pods error:rpc error: code = Unavailable desc = there is no address available”
9月 11 17:19:50 compute01 bash[30555]: time=“2019-09-11T17:19:50+08:00” level=warning msg=“service id: 07277abc5b95ee26a880375f45cffdf0; failed to get deploy info: rpc error: code = Unavailable desc = there is no address available”
9月 11 17:19:51 compute01 bash[30555]: time=“2019-09-11T17:19:51+08:00” level=warning msg=“service id: 65f7e8b0dbe8552772fe43224e01ed8f; failed to get deploy info: rpc error: code = Unavailable desc = there is no address available”
9月 11 17:19:51 compute01 bash[30555]: time=“2019-09-11T17:19:51+08:00” level=error msg=“GetPodByService Error:rpc error: code = Unavailable desc = there is no address available”
9月 11 17:19:51 compute01 bash[30555]: time=“2019-09-11T17:19:51+08:00” level=error msg=“get pods error:rpc error: code = Unavailable desc = there is no address available”
9月 11 17:19:56 compute01 bash[30555]: time=“2019-09-11T17:19:56+08:00” level=error msg=“GetPodByService Error:rpc error: code = Unavailable desc = there is no address available”
9月 11 17:19:56 compute01 bash[30555]: time=“2019-09-11T17:19:56+08:00” level=error msg=“get pods error:rpc error: code = Unavailable desc = there is no address available”
9月 11 17:19:56 compute01 bash[30555]: time=“2019-09-11T17:19:56+08:00” level=warning msg=“service id: 07277abc5b95ee26a880375f45cffdf0; failed to get deploy info: rpc error: code = Unavailable desc = there is no address available”
9月 11 17:19:57 compute01 bash[30555]: time=“2019-09-11T17:19:57+08:00” level=warning msg=“service id: 65f7e8b0dbe8552772fe43224e01ed8f; failed to get deploy info: rpc error: code = Unavailable desc = there is no address available”
9月 11 17:20:01 compute01 bash[30555]: time=“2019-09-11T17:20:01+08:00” level=error msg=“GetPodByService Error:rpc error: code = Unavailable desc = there is no address available”
9月 11 17:20:01 compute01 bash[30555]: time=“2019-09-11T17:20:01+08:00” level=error msg=“get pods error:rpc error: code = Unavailable desc = there is no address available”
9月 11 17:20:02 compute01 bash[30555]: time=“2019-09-11T17:20:02+08:00” level=warning msg=“service id: 07277abc5b95ee26a880375f45cffdf0; failed to get deploy info: rpc error: code = Unavailable desc = there is no address available”
9月 11 17:20:03 compute01 bash[30555]: time=“2019-09-11T17:20:03+08:00” level=warning msg=“service id: 65f7e8b0dbe8552772fe43224e01ed8f; failed to get deploy info: rpc error: code = Unavailable desc = there is no address available”
9月 11 17:20:06 compute01 bash[30555]: time=“2019-09-11T17:20:06+08:00” level=error msg=“GetPodByService Error:rpc error: code = Unavailable desc = there is no address available”
9月 11 17:20:06 compute01 bash[30555]: time=“2019-09-11T17:20:06+08:00” level=error msg=“get pods error:rpc error: code = Unavailable desc = there is no address available”
9月 11 17:20:08 compute01 bash[30555]: time=“2019-09-11T17:20:08+08:00” level=warning msg=“service id: 07277abc5b95ee26a880375f45cffdf0; failed to get deploy info: rpc error: code = Unavailable desc = there is no address available”
9月 11 17:20:09 compute01 bash[30555]: time=“2019-09-11T17:20:09+08:00” level=warning msg=“service id: 65f7e8b0dbe8552772fe43224e01ed8f; failed to get deploy info: rpc error: code = Unavailable desc = there is no address available”

升级5.1.7完成以后rbd-app-ui还是停留在5.1.3版本是吗?

我已经按照论坛里的方法把rbd-app-ui升级到5.1.7了。现在报的错和原来1.3升级1.6问题一样,dns和gateway不停重启。

https://www.rainbond.com/docs/upgrade/5.1.6-5.1.7/#平台升级完成验证

1.重新拉取rbd-app-ui镜像
docker pull rainbond/rbd-app-ui:v5.1.7-release

2.修改rbd-app-ui 镜像tag
docker tag rainbond/rbd-app-ui:v5.1.7-release goodrain.me/rbd-app-ui:v5.1.7-release

3.查看配置文件/opt/rainbond/conf/ui.yaml;修改-i指定的镜像信息为goodrain.me/rbd-app-ui:v5.1.7-release

4.修改完毕执行命令
node service update
5.查看使用的镜像tag是否是v5.1.7
dps | grep rbd-app-ui
6.如果是查看集群状态,控制台查看应用状态