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

"系统异常" after server was restarted #65

Closed
mchtech opened this issue Apr 13, 2018 · 4 comments
Closed

"系统异常" after server was restarted #65

mchtech opened this issue Apr 13, 2018 · 4 comments

Comments

@mchtech
Copy link

mchtech commented Apr 13, 2018

bug

Description
After server was restarted:

  1. "系统异常"
  2. "团队成员" is 0
  3. application status are unknown

What happened:

  1. rbd-repo:3.5 kept restarting
  2. run "docker-compose down && docker-compose up -d" cannot resolve the problem

How to reproduce it (as minimally and precisely as possible):
restart server

Environment:

  • rainbond version:3.5
  • Cloud provider or hardware configuration:qemu-kvm
  • OS (e.g. from /etc/os-release):centos 7.4
  • Kernel (e.g. uname -a):3.10.0-693.21.1.el7.x86_64
  • docker image version:1.12.6
  • grctl version:0.0.0
  • Others:
@ysicing
Copy link
Contributor

ysicing commented Apr 13, 2018

rbd-repo restarting, just run

dc-compose stop rbd-repo
cclear
dc-compose up -d

Check your system DNS to ensure that DNS(/etc/resolv.conf) is your management node IP.

@mchtech

@ysicing ysicing added the Use label Apr 13, 2018
@mchtech
Copy link
Author

mchtech commented Apr 13, 2018

Thank you, the problem is caused by wrong DNS configuration (resolv.conf was overrided by NetworkManager automatically). But rbd-repo is still "restarting", after server rebooted. There is an error in log output:
Preparing to run Artifactory in Docker ...... ln: /opt/jfrog/artifactory/etc/etc: File exists
I encountered this problem since version 3.4.x. Is there a better way to avoid/fix this problem rather than recreate "rbd-repo" after every reboot plan?

@ysicing

@ysicing
Copy link
Contributor

ysicing commented Apr 13, 2018

Thanks @mchtech .
I have planned to rebuild this plugin.This issue will be resolved in 3.5.1

@ysicing
Copy link
Contributor

ysicing commented Apr 16, 2018

@mchtech This issue has resolved.

docker pull rainbond/rbd-repo:3.5

@ysicing ysicing closed this as completed Apr 16, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants