Projet

Général

Profil

Tâche #34888

Scénario #35314: Faire le point sur les problèmes d'installation remontés avec les images 2.8.1.2 et 2.9.0

Erreur à l’installation d’un module Eolebase 2.9.0 avec libvirt et kvm

Ajouté par Benjamin Bohard il y a plus d'un an. Mis à jour il y a 9 mois.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Début:
02/11/2022
Echéance:
% réalisé:

0%

Restant à faire (heures):
0.0

Description

Avant de retrouver la machine prévue pour tester l’installation sur opennebula, j’ai lancé l’installation avec virt-manager localement :
  • 2 vCPU
  • 4096 Go de RAM
  • disque de 20 Go puis de 40 Go (deux tests successifs) avec virtIO

L’installation s’arrête à l’étape de partitionnement avec l’erreur suivante (retranscription approximative issu d’une reconnaissance optique de caractère sur une capture d’écran) :

2022-11-02 10:46:57,405 DEBUG root:39 start: subiquity/Mirror/apply_autoinstall_config:
2022-11-02 10:46:57,406 DEBUG root:39 finish: subiquity/Mirror/apply_autoinstall_config: SUCCESS:
2022-11-02 10:46:57,406 DEBUG subiquity.models.subiquity:202 model mirror for install stage is configured, to go {'filesystem}
2022-11-02 10:46:57,406 DEBUG root:39 start: subiquity/Filesustem/apply_autoinstall_config:
2022-11-02 10:46:57,407 DEBUG root:39 start: subiquity/Filesustem/anply_autoinstall_config/convert_autoinstall_config
2022-11-02 10:46:57,407 DEBUG subiquity.server.controller.filesystem:452 self.ai_data = {'config': [{'id': ‘disk0', ‘ptable': 'gpt', ‘type': ‘disk'}, {'device': ‘disk0', ‘flag': ‘boot’, ‘grub_device': True, ‘id': ‘boot+efi+part', ‘number’: 1, ‘size’: ‘64MB', ‘type': ‘partition'}, {'fstupe': 'fata2', ‘id': ‘bootéefi-fs’, ‘label’: 'ESP', ‘type’: ‘format’, ‘volume’: 'boot+efi-part't
{'device': ‘boot+efi-fs', ‘id': ‘boot+efi-mount', ‘path': ‘/boot/efi', ‘type’: ‘mount'}, {'device': 'disko', ‘id’: 'swap-part!
Tnumber': 2, ‘size’: '268', ‘type’: ‘partition'}, {‘fstype': ‘swap', ‘id': ‘swap-fs', ‘type’: ‘format’, ‘volume': ‘swap-part'}
{'device': ‘swap-fs', ‘id': 'swap-mount', ‘path': ‘none’, ‘type’: ‘mount'}, f'device': 'disko', ‘id': 'boot-part', ‘number’: 3
‘size’: '7S0MB', 'type': ‘partition'l, {'fstype': ‘ext4', ‘id': ‘boot-fs', ‘label’: '/boot', ‘type’: ‘format’, ‘volume’: "boot
part'}, {'device': 'boot-fs', ‘id’: ‘boot-mount', ‘options’: ‘nosuid,nodev,naexec', ‘passno': 2, ‘path': ‘/boot', ‘type’: ‘moun
“Yr, {'device': ‘disko', ‘flag’: ‘lvm', ‘id': ‘lvmpy', ‘number': 4, ‘size’: -1, ‘type': ‘partition'}, {'devices': ['lvm-pv'], ‘i
d': ‘eolebase-vg', ‘name’: 'eolebase-vg', ‘type’: 'lvmvolgroup'}, {'id': ‘root-lv', ‘name’: ‘root’, ‘size’: '10G6', ‘tune’: ‘Ly
mpartition', ‘volgroup': ‘eolebase-vg'}, {'fstype': ‘ext4’, ‘id': ‘root-fs', ‘label’: '/', ‘type’: ‘format’, ‘volume’: 'root-Lv
"T, Udevice': ‘root-fs', ‘id’: 'root-mount', ‘passno': 1, ‘path’: '/', ‘type’: 'mount'3, {'fstuype': ‘tmpfs', ‘id’: ‘tm-fs', ‘o
ptions': 'nodev,nosuid', ‘path': '/tmp', ‘spec': ‘none’, ‘type’: ‘mount'3], ‘version’: 1}
2022-11-02 10:46:57,408 DEBUG subiquity. models.filesystem:1164 exclusions set()
2022-11-02 10:46:57,408 DEBUG root:39 finish: subiquity/Filesystem/apply_autoinstall_config/convert_autoinstall_config: SUCCESS:
2022-11-02 10:46:57,409 ERROR root:39 finish: subiquity/Filesystem/apply_autoinstall_config: FAIL: autoinstall config did not create needed bootloader partition
2022-11-02 10:46:57,409 ERROR root:39 finish: subiquity/apply_autoinstall_config: FAIL: autoinstall config did not create needed bootloader partition
2022-11-02 10:46:57,410 ERROR subiquity.server.server:416 top level error
Traceback (mast recent call last)
  File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/server/server.py', line 625, in star
    await self.apply_autoinstall_config()
  File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquitycore/context.py", line 148, in decorated_async
    return await_meth(self, **kw)
  File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/server/server.py'', line 467, in apply_autoinstall_config
    await controller .apply_autoinstall_config()
  File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquitycore/context.py", line 148, in decorated_async
    return await_meth(self, **kw)
  File "/snap/subiquity/3698/lib/python3.8/site-packages/subiquity/server/contraollers/filesystem.py', line 125, in apply_autoinstall_config
    raise Exception(
Exception: autoinstall config did not create needed bootloader partition
2022-11-02 10:46:57,413 DEBUG subiquitycore.comman.errorreport:384 generating crash repar:
2022-11-02 10:46:57,414 INFO subiguitycore.common.errorreport:406 saving crash report ‘unknown error crashed with Exception’ to
/var/crash/ 1667386017 .413515091.unknown.crash

L’erreur ne survenant pas dans l’infrastructure opennebula, elle n’est peut-être pas significative. Je la rapporte dans le doute.

Historique

#1 Mis à jour par Gilles Grandgérard il y a plus d'un an

UEFI est obligatoire dans la configuration libvirt. Sinon, tu obtiens l'erreur 'did not create needed bootloader partition'.

#2 Mis à jour par Joël Cuissinat il y a environ un an

#3 Mis à jour par Joël Cuissinat il y a environ un an

#4 Mis à jour par Joël Cuissinat il y a environ un an

  • Tâche parente mis à #35314

#5 Mis à jour par Joël Cuissinat il y a 9 mois

  • Statut changé de Nouveau à Fermé
  • Restant à faire (heures) mis à 0.0

Formats disponibles : Atom PDF