--resume after failed convert does not re-enable plesk-dist-upgrade-resume.service; finish phase not started
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- Medio día
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- linux, python
- Área
- cli, infrastructure
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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.
- Lenguaje dominante
- Python
- Estrellas
- 7
- Forks
- 5
- Merge medio
- 11 min
- PR fusionados (30 d)
- 1
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de plesk/cloudlinux7to8
-
Dificultad 3/5 Medio día Aptitud para principiantes 55/100
plesk/cloudlinux7to8#144 ·
-
Legacy GRUB 0.97 system passes precheck; leapp system_facts crashes on missing /boot/grub2/grub.cfgAbierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
plesk/cloudlinux7to8#143 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
plesk/cloudlinux7to8#142 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 22/100
plesk/cloudlinux7to8#141 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 35/100
plesk/cloudlinux7to8#140 ·
Todos los issues de plesk/cloudlinux7to8
Issues similares
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 80/100
521xueweihan/HelloGitHub#4063 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
Vanilla-OS/apx-gui#112 ·
-
Devstral and Voxtral: section 5 fails in us-east-1 with 400 "Model does not support audio modality"Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
aws-samples/sample-per-model-bedrock#409 ·
Los mantenedores suelen responder en 1 día
-
DuckDB 2.0 breaks to_pyarrow_batchesPosiblemente ocupada @DG47 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
ibis-project/ibis#12196 ·
Los mantenedores suelen responder en 1 día