--resume after failed convert does not re-enable plesk-dist-upgrade-resume.service; finish phase not started
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- Nửa ngày
- Mức phù hợp với người mới
- 45/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- linux, python
- Lĩnh vực
- cli, infrastructure
Hướng nghiên cứu
Start with the failure path that logs "Disable systemd 'plesk-dist-upgrade-resume.service' service after conversion failure" and the stage that logs "Prepare finishing systemd service", then compare how a normal run and a --resume run from "Repositories handling" reach them. Reproducing needs a test VM with a failed convert and resume.json set to that stage. Done means the resume service is enabled before the reboot after a --resume convert, or the failure path no longer disables it; the maintainer still has to choose between those two fixes.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Environment
- cloudlinux7to8 v1.2.1
- CloudLinux 7.9 (TuxCare ELS) -> CloudLinux 8.10, Plesk Obsidian 18.0.81.3
Describe the bug
The convert phase failed in leapp upgrade (transaction test, see #144). On failure the tool disables the resume service:
Disable systemd 'plesk-dist-upgrade-resume.service' service after conversion failure
Removed symlink /etc/systemd/system/multi-user.target.wants/plesk-dist-upgrade-resume.service.
After fixing the cause, I continued with ./cloudlinux7to8 --resume. resume.json had "stage": "Repositories handling", so the run continued from "Do convert": leapp upgrade succeeded, the server rebooted into the ELevate initramfs and came up as CloudLinux 8.10.
However, the finish phase never started. /var/log/plesk/cloudlinux7to8.log had no entries after the reboot, plesk-dist-upgrade-resume.service was still disabled, and resume.json showed "phase": "finish", "stage": null. The stage that enables the service ("Prepare finishing systemd service") runs before "Repositories handling", so it is skipped on --resume, and nothing re-enables the service that was disabled on failure.
The server was left on CloudLinux 8 with Plesk services stopped until the finish phase was started manually.
Expected behavior
When resuming the convert phase, make sure the resume service is enabled again before the reboot (regardless of the stage the run resumes from), or don't disable it on failures that can be resumed.
Workaround
After the reboot, run ./cloudlinux7to8 --resume manually. The finish phase then completed successfully.
- Ngôn ngữ chính
- Python
- Star
- 7
- Fork
- 5
- Merge trung bình
- 11 phút
- Pull request đã merge (30 ngày)
- 1
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của plesk/cloudlinux7to8
-
Độ khó 3/5 Nửa ngày Mức phù hợp với người mới 55/100
plesk/cloudlinux7to8#144 ·
-
Legacy GRUB 0.97 system passes precheck; leapp system_facts crashes on missing /boot/grub2/grub.cfgĐang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
plesk/cloudlinux7to8#143 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 45/100
plesk/cloudlinux7to8#142 ·
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 22/100
plesk/cloudlinux7to8#141 ·
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 35/100
plesk/cloudlinux7to8#140 ·
Tất cả issue của plesk/cloudlinux7to8
Issue tương tự
-
Validate non-divisible effective batch sizes in the Unsloth LoRA backendCó thể đã có người làm @debesh-biswas đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 70/100
-
`rx.Model` event arguments emit `PydanticDeprecatedSince20` once per payload keyCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
reflex-dev/reflex#7634 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 2 ngày
-
documentation
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 82/100
topoteretes/cognee#6239 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
ranaroussi/yfinance#3009 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Test discovery aborts on GPU builds without cuStateVec: check_cuStateVec expects a failed result but set_config() now raises RuntimeErrorCó thể đã có người làm @dmeliksetian đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Qiskit/qiskit-aer#2495 ·
Maintainer thường phản hồi trong vòng 1 ngày