Projet

Général

Profil

Tâche #35466

Distribution EOLE - Scénario #35311: Metttre à niveau les configurations OpenNebula pour EOLE 2.9

Hâpy 2.9 : OVMF_UEFIS non configuré, impossible de démarrer un module 2.9 !

Ajouté par Gilles Grandgérard il y a 11 mois. Mis à jour il y a 9 mois.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Début:
23/08/2023
Echéance:
% réalisé:

0%

Restant à faire (heures):
0.0

Description

Dans https://dev-eole.ac-dijon.fr/jenkins/job/2.9.0/job/test-hapy-automatisation-aca-2.9.0-amd64/28/console, les VM ne démarrent pas ..

Dans le sunstone hap1.ac-test.fr, nous voyons :

Erreur de l’ordonnanceur
Thu Jun 22 11:49:11 2023: Cannot dispatch VM to any Host. Possible reasons: Not enough capacity in Host or System DS, dispatch limit reached, or limit of free leases reached. 

et dans le journal

Thu Jun 22 11:49:11 2023 [Z0][VMM][E]: No OVMF_UEFIS defined in configuration.
Thu Jun 22 11:49:41 2023 [Z0][VMM][E]: No OVMF_UEFIS defined in configuration.
Thu Jun 22 11:50:11 2023 [Z0][VMM][E]: No OVMF_UEFIS defined in configuration.
Thu Jun 22 11:50:41 2023 [Z0][VMM][E]: No OVMF_UEFIS defined in configuration.

Suivant la documentation https://docs.opennebula.io/6.6/open_cluster_deployment/kvm_node/kvm_driver.html#kvmg-default-attributes
Il manque OVMF_UEFIS dans /etc/one/vmm_exec/vmm_exec_kvm.conf

To do :
- ajouter OVMF_UEFIS dans le template EOLE

hapy 29 - pb ressource.png Voir (132 ko) Gilles Grandgérard, 22/06/2023 11:55

hapy 29 - journal.png Voir (218 ko) Gilles Grandgérard, 22/06/2023 11:55

hapy 29 - demarrage impossible.png Voir (105 ko) Gilles Grandgérard, 22/06/2023 11:55


Demandes liées

Lié à Distribution EOLE - Tâche #35533: Mettre à jour la configuration de vmm_exec_kvm et kvmrc pour l'UEFI Fermé 01/10/2022

Historique

#1 Mis à jour par Daniel Dehennin il y a 10 mois

Le contenu du fichier de la distribution est

# -------------------------------------------------------------------------- #
# Copyright 2002-2022, OpenNebula Project, OpenNebula Systems                #
#                                                                            #
# Licensed under the Apache License, Version 2.0 (the "License"); you may    #
# not use this file except in compliance with the License. You may obtain    #
# a copy of the License at                                                   #
#                                                                            #
# http://www.apache.org/licenses/LICENSE-2.0                                 #
#                                                                            #
# Unless required by applicable law or agreed to in writing, software        #
# distributed under the License is distributed on an "AS IS" BASIS,          #
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.   #
# See the License for the specific language governing permissions and        #
# limitations under the License.                                             #
#--------------------------------------------------------------------------- #

# Default configuration attributes for the KVM driver
# (all domains will use these values as defaults).  These values can
# be overridden in each VM template. Valid atributes are:
#  - emulator
#  - os [kernel,initrd,boot,root,kernel_cmd,arch,machine,sd_disk_bus]
#  - vcpu
#  - memory_slots: number of memory slots for hotplug memory
#  - graphics [type, listen, passwd, keymap, random_passwd]
#  - features [acpi, pae, apic, hyperv, localtime, guest_agent, virtio_scsi_queues, iothreads]
#  - cpu_model [model]
#  - disk [driver, cache, io, discard, total_bytes_sec, total_iops_sec, read_bytes_sec, write_bytes_sec, read_iops_sec, write_iops_sec, size_iops_sec]
#  - nic  [filter, model]
#  - raw
#  - hyperv_options: options used for FEATURES = [ HYPERV = yes ]
# NOTE: raw attribute value is appended to that on the VM template

EMULATOR = /usr/bin/qemu-kvm-one

#VCPU = 1

MEMORY_SLOTS = 16

OS = [
    ARCH = "x86_64" 
]

FEATURES = [
    PAE    = "no",
    ACPI   = "yes",
    APIC   = "no",
    HYPERV = "no",
    GUEST_AGENT = "yes",
    VIRTIO_SCSI_QUEUES = "1",
    IOTHREADS = "0" 
]

#CPU_MODEL = [ MODEL = "host-passthrough"]

DISK = [
    DRIVER  = "raw",
    CACHE   = "none",
    DISCARD = "unmap" 
]

NIC = [
    MODEL = "virtio" 
    # FILTER = "clean-traffic" 
]

# GRAPHICS = [
#     TYPE = "vnc",
#     LISTEN = "0.0.0.0",
#     PASSWD = "",
#     KEYMAP = "",
#     RANDOM_PASSWD = "YES" 
# ]

#RAW = "<devices><serial type=\"pty\"><source path=\"/dev/pts/5\"/><target port=\"0\"/></serial><console type=\"pty\" tty=\"/dev/pts/5\"><source path=\"/dev/pts/5\"/><target port=\"0\"/></console></devices>" 

HYPERV_OPTIONS = "<relaxed state='on'/><vapic state='on'/><spinlocks state='on' retries='4096'/>" 

SPICE_OPTIONS = " 
    <video>
        <model type='vga' heads='1'/>
    </video>
         <sound model='ich6' />
    <channel type='spicevmc'>
        <target type='virtio' name='com.redhat.spice.0'/>
    </channel>
    <redirdev bus='usb' type='spicevmc'/>
    <redirdev bus='usb' type='spicevmc'/>
    <redirdev bus='usb' type='spicevmc'/>" 

#
# Open Virtual Machine Firware (UEFI Firmware)
#   List of valid firmware available to users (full path in the hosts)
OVMF_UEFIS = "/usr/share/OVMF/OVMF_CODE.fd /usr/share/OVMF/OVMF_CODE.secboot.fd /usr/share/AAVMF/AAVMF_CODE.fd" 

#2 Mis à jour par Daniel Dehennin il y a 10 mois

  • Projet changé de Distribution EOLE à eole-one-master

#3 Mis à jour par Gilles Grandgérard il y a 9 mois

  • Lié à Tâche #35533: Mettre à jour la configuration de vmm_exec_kvm et kvmrc pour l'UEFI ajouté

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

  • Tâche parente mis à #35311

Résolu par #35533

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

  • Statut changé de Nouveau à Fermé
  • Début mis à 23/08/2023
  • Restant à faire (heures) mis à 0.0

Formats disponibles : Atom PDF