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

Rancher server unusable after triggering a restart of rancher_server from Rancher UI #7514

Closed
domtoupin opened this issue Jan 23, 2017 · 4 comments
Labels
area/agent Issues that deal with the Rancher Agent area/server kind/question Issues that just require an answer. No code change needd status/autoclosed

Comments

@domtoupin
Copy link

Rancher Versions:
Server: v1.3.2 (stable)
healthcheck: 0.2.0
ipsec: 0.8.1
network-services: 0.8.1
scheduler: 0.5.1

Docker Version:
1.13.0, build 49bf474

OS and where are the hosts located? (cloud, bare metal, etc):
Ubuntu 16.04, located in a virtual environment (Xen)

Setup Details: (single node rancher vs. HA rancher, internal DB vs. external DB)
Single node rancher with internal DB

Environment Type: (Cattle/Kubernetes/Swarm/Mesos)
Cattle

Steps to Reproduce:

  • Define a Cattle environment with one host, i.e. the host on which Rancher is running
  • Trigger a container restart for rancher_server

Results:
The rancher_server container is stopped but never restarted.
A manual attempt at restarting it using docker start rancher_server indeed start the container but just long enough to be able to go to the container details and see that it gets in a "Stopping (In Progress)" state just before it stop.

How can I "cancel" the restart request so that my instance is back to normal? For what it is worth, I am able to attach to the container and perform SQL queries on the cattle database.

@domtoupin
Copy link
Author

Running this SQL delays the container shutdown but does not fix it:

use cattle;
update instance set state = 'running', health_state = 'running' where name = 'rancher_server';

@aemneina aemneina added the kind/question Issues that just require an answer. No code change needd label May 19, 2017
@aemneina
Copy link

@domtoupin have you tried this with the latest rancher server?

@aemneina aemneina added area/agent Issues that deal with the Rancher Agent area/server labels May 19, 2017
@Xstoudi
Copy link

Xstoudi commented Jan 8, 2018

Could be related to #9795

@deniseschannon
Copy link

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/agent Issues that deal with the Rancher Agent area/server kind/question Issues that just require an answer. No code change needd status/autoclosed
Projects
None yet
Development

No branches or pull requests

4 participants