--resume after failed convert does not re-enable plesk-dist-upgrade-resume.service; finish phase not started
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 半日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- linux, python
- 領域
- cli, infrastructure
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 7
- フォーク
- 5
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
plesk/cloudlinux7to8 のほかの issue
-
難易度 3/5 半日 初心者へのやさしさ 55/100
plesk/cloudlinux7to8#144 ·
-
Legacy GRUB 0.97 system passes precheck; leapp system_facts crashes on missing /boot/grub2/grub.cfgオープン
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
plesk/cloudlinux7to8#143 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
plesk/cloudlinux7to8#142 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 22/100
plesk/cloudlinux7to8#141 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
plesk/cloudlinux7to8#140 ·
plesk/cloudlinux7to8 の issue をすべて見る
似ている issue
-
bug
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
sergey-miryanov/gcmon#230 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
Azure-Samples/azure-search-openai-demo#3249 ·
メンテナーはふだん 1 日以内に返信
-
[BUG] Failed archive extraction deletes the dataset cache対応中かも @dajiaohuang が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
alibaba/GraphScope#4674 ·