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

Pi4 fails on reboot #2843 #2879

Merged
merged 1 commit into from
Jul 22, 2024

Conversation

phillxnet
Copy link
Member

Add After and Wants to rockstor-pre.service to gain sensitivity to chrony-wait.service. This at least works around a prior failure in starting rockstor-pre.service on initial, and all subsequent reboots on a Pi4: non-persistent RTC (Real Time Clock).

The very first boot was successful however: thought to be related to its installer instance JeOS first-boot wizard and the context of having also to wait on rockstor-build.service (venv). Both of which modify the service startup timing considerably.

Fixes #2843

Add `After` and `Wants` to rockstor-pre.service to gain
sensitivity to chrony-wait.service. This at least works
around a prior failure in starting rockstor-pre.service
on initial, and all subsequent reboots on a Pi4:
non-persistent RTC (Real Time Clock).

The very first boot was successful however: thought to be
related to its installer instance JeOS first-boot wizard
and the context of having also to wait on
rockstor-build.service (venv). Both of which modify the
service startup timing considerably.
@phillxnet
Copy link
Member Author

phillxnet commented Jul 19, 2024

Testing

Our target fix here is for systems without persistent (battery backed) RTC. As that was strongly suggested by the Pi4 real hardware reproducer. Where no other system/rockstor-installer (VM) - X86_64 or ARM64 has been seen/reported to have exhibited this same failure.

Pi4 fix proof:

See issue comment: #2843 (comment)

Fix tested on a Rockstor 15.6 based install from our downloadable installer. Using a bare metal Pi4:
--- 10 sequential boot/reboots were accomplished without rockstor* service start issues. ---

ARM64 with persistent RTC

An aarch64 VM build host for the test rpm was also able to complete multiple reboots without without the issue detail failure in rockstor-pre.

Regression test on X86_64 (with persistent RTC)

An rpm was build using this PR branch (Leap 15.6 OS host) and did not exhibit rockstor* service issues. N.B. this systems was not derived from our installer: but a generic JeOS Minimal_VM development system akin to our installer result.
--- 10 sequential reboots were accomplished without rockstor* service start issues. ---

@phillxnet
Copy link
Member Author

Pi4 installer instance

An install exhibiting this issue running the 5.0.9-0 rockstor package (but all upstream updates applied) was updated to the rpm built from this PR branch (5.0.13-2879) via the Rockstor Web-UI after its was re-enabled via:

systemctl start rockstor-bootstrap

This instance, on Pi4 bare-metal, was then able to reboot a number of times with all rockstor* services starting as normal.

@phillxnet phillxnet merged commit f46a950 into rockstor:testing Jul 22, 2024
@phillxnet phillxnet deleted the 2843-Pi4-fails-on-reboot branch July 22, 2024 17:14
@phillxnet phillxnet mentioned this pull request Jul 22, 2024
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

Successfully merging this pull request may close these issues.

1 participant