Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Some errors occurs when shutdown or reboot on ARM #2602

Closed
niusmallnan opened this issue Dec 14, 2018 · 3 comments
Closed

Some errors occurs when shutdown or reboot on ARM #2602

niusmallnan opened this issue Dec 14, 2018 · 3 comments

Comments

@niusmallnan
Copy link
Contributor

RancherOS Version: (ros os version)
All

We can see these logs on ARM:

$ reboot
...
...
 reboot:error: EOF
�.Error grabbing logs: function not implemented
reboot:error: EOF
@niusmallnan
Copy link
Contributor Author

niusmallnan commented Dec 27, 2018

It seems that our aarch64 system-docker doesn't support system-docker logs -f <container>
I can get these logs if I add -f:
error from daemon in stream: Error grabbing logs: function not implemented

I tried aarch64 docker 17.09+, it works fine with logs -f.
We have no plan to upgrade system-docker, now it's based on 17.06.

We have two choices:

  1. Give system-docker a patch to support this feature
  2. Force reboot on the arm64 platform, we will not use system-docker logs -f to check the containers' logs.

@niusmallnan
Copy link
Contributor Author

niusmallnan commented Jan 3, 2019

Finally, I patch our system-docker.
The system-docker 17.06-ros5 can support logs -f.
https://github.com/rancher/os-system-docker/releases/tag/17.06-ros5

@niusmallnan niusmallnan changed the title Some errors occurs when shutdown or reboot Some errors occurs when shutdown or reboot on ARM Jan 3, 2019
@kingsd041
Copy link
Contributor

Fixed in RancherOS v1.5.1-rc1

[root@rancher ~]# reboot
[            ] reboot:info: Setting reboot timeout to 60 (rancher.shutdown_timeout set to 60)
....................^[            ] reboot:info: Setting reboot timeout to 60 (rancher.shutdown_timeout set to 60)
.=.[            ] reboot:info: Stopping /docker : 6595097ecf75
...............G..............[            ] reboot:info: Stopping /ntp : 6c1df021d2ba
...A....[            ] reboot:info: Stopping /network : 96c0dc1f8aad
............E...........[            ] reboot:info: Stopping /udev : f7d96d6ef15b
...D...[            ] reboot:info: Stopping /system-cron : 798ae58614c6
...@....[            ] reboot:info: Stopping /syslog : fc6015cd9102
...J...[            ] reboot:info: Console Stopping [/console] : 75bbcd8ef077
.Connection to 192.168.2.172 closed by remote host.
Connection to 192.168.2.172 closed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants