Skip to content

"UEFI Supported" Field is not Present in the new UI  #7356

Closed

Description

@kiranchavala
ISSUE TYPE
  • Bug Report
COMPONENT NAME
Component:UI
CLOUDSTACK VERSION
4.18.0
OS / ENVIRONMENT

4.18.0, Rocky 8 Hypervisor
-->

SUMMARY

"UEFI Supported" Field is not Present in the new UI

In the Old/legacy Ui , it's present

Screenshot
uefi

New UI

Screenshot
UEFI3

The field is needed to identify if the host is uefi enabled or not

STEPS TO REPRODUCE

Steps Enable UEFI on a KVM host

  1. Create a file with the following content /etc/cloudstack/agent/uefi.properties

guest.nvram.template.secure=/usr/share/edk2/ovmf/OVMF_VARS.secboot.fd
guest.nvram.template.legacy=/usr/share/edk2/ovmf/OVMF_VARS.fd
guest.loader.secure=/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd
guest.nvram.path=/var/lib/libvirt/qemu/nvram
guest.loader.legacy=/usr/share/edk2/ovmf/OVMF_CODE.secboot.fd

  1. Edit the file /etc/libvirt/qemu.conf and add the following line

nvram = ["/usr/share/OVMF/OVMF_CODE.secboot.fd:/usr/share/OVMF/OVMF_VARS.fd"]

  1. Restart the cloud stack agent and libvirtd or force reconnect the host

Db entries

MariaDB [cloud]> select * from host_details;
+----+---------+----------------------------------------------------+------------------------------------------------------+
| id | host_id | name                                               | value                                                |
+----+---------+----------------------------------------------------+------------------------------------------------------+
|  1 |       1 | Host.OS.Kernel.Version                             | 6.2.7-1.el8.elrepo.x86_64                            |
|  2 |       1 | com.cloud.network.Networks.RouterPrivateIpStrategy | HostLocal                                            |
|  3 |       1 | Host.OS.Version                                    | 8.4                                                  |
|  4 |       1 | host.volume.encryption                             | true                                                 |
|  5 |       1 | secured                                            | true                                                 |
|  6 |       1 | Host.OS                                            | Rocky                                                |
|  8 |       1 | password                                           | rShTWX5q+ukEWEkWfgR4NMLqlxpK1nlM/V5ZNl4LNbTXe/CHlnw1 |
| 14 |       1 | username                                           | root                                                 |
| 28 |       1 | host.uefi.enable                                   | true                                                 |
+----+---------+----------------------------------------------------+------------------------------------------------------+

list hosts response

(cmk) 🐱 > list hosts 
{
  "count": 3,
  "host": [
    {
      "created": "2023-03-22T05:53:00+0000",
      "events": "Ping; ShutdownRequested; HostDown; AgentConnected; StartAgentRebalance; ManagementServerDown; AgentDisconnected; Remove; PingTimeout",
      "hasannotations": false,
      "hostha": {
        "haenable": false,
        "hastate": "Disabled"
      },
      "id": "64aabe4b-dbe6-4b0b-9b87-12c48df602da",
      "ipaddress": "10.0.36.105",
      "islocalstorageactive": false,
      "lastpinged": "1970-01-19T23:35:01+0000",
      "managementserverid": "ca2d4fbb-3a83-4a8f-b581-68e6292a7efa",
      "memoryallocated": 0,
      "name": "s-1-VM",
      "outofbandmanagement": {
        "enabled": false,
        "powerstate": "Disabled"
      },
      "podid": "a05078b9-7b3e-410c-9804-e649afba194d",
      "podname": "Pod1",
      "resourcestate": "Enabled",
      "state": "Up",
      "type": "SecondaryStorageVM",
      "version": "4.18.0.0",
      "zoneid": "968e2003-57b8-426c-8cac-ed856fa95d61",
      "zonename": "ref-trl-4706-k-M7-kiran-chavala"
    },
    {
      "created": "2023-03-22T05:53:00+0000",
      "events": "Ping; ShutdownRequested; HostDown; AgentConnected; StartAgentRebalance; ManagementServerDown; AgentDisconnected; Remove; PingTimeout",
      "hasannotations": false,
      "hostha": {
        "haenable": false,
        "hastate": "Disabled"
      },
      "id": "c233e481-4496-45df-a5c3-993f7b191573",
      "ipaddress": "10.0.36.119",
      "islocalstorageactive": false,
      "lastpinged": "1970-01-19T23:35:01+0000",
      "managementserverid": "ca2d4fbb-3a83-4a8f-b581-68e6292a7efa",
      "memoryallocated": 0,
      "name": "v-2-VM",
      "outofbandmanagement": {
        "enabled": false,
        "powerstate": "Disabled"
      },
      "podid": "a05078b9-7b3e-410c-9804-e649afba194d",
      "podname": "Pod1",
      "resourcestate": "Enabled",
      "state": "Up",
      "type": "ConsoleProxy",
      "version": "4.18.0.0",
      "zoneid": "968e2003-57b8-426c-8cac-ed856fa95d61",
      "zonename": "ref-trl-4706-k-M7-kiran-chavala"
    },
    {
      "capabilities": "hvm,snapshot",
      "clusterid": "7e06afa1-effe-4bd3-b8fe-15900bc44c2a",
      "clustername": "p1-c1",
      "clustertype": "CloudManaged",
      "cpuallocated": "7.94%",
      "cpuallocatedpercentage": "7.94%",
      "cpuallocatedvalue": 1000,
      "cpuallocatedwithoverprovisioning": "7.94%",
      "cpuloadaverage": 0.02,
      "cpunumber": 6,
      "cpusockets": 3,
      "cpuspeed": 2100,
      "cpuused": "1.45%",
      "cpuwithoverprovisioning": "12600",
      "created": "2023-03-22T05:50:35+0000",
      "details": {
        "Host.OS": "Rocky",
        "Host.OS.Kernel.Version": "6.2.7-1.el8.elrepo.x86_64",
        "Host.OS.Version": "8.4",
        "com.cloud.network.Networks.RouterPrivateIpStrategy": "HostLocal",
        "host.uefi.enable": "true",
        "secured": "true"
      },
      "encryptionsupported": true,
      "events": "Ping; ShutdownRequested; HostDown; AgentConnected; StartAgentRebalance; ManagementServerDown; AgentDisconnected; Remove; PingTimeout",
      "hahost": false,
      "hasannotations": false,
      "hostha": {
        "haenable": false,
        "hastate": "Disabled"
      },
      "hypervisor": "KVM",
      "id": "e42cfe8e-f8de-45ef-b530-b7c809b673b1",
      "ipaddress": "10.0.34.201",
      "islocalstorageactive": false,
      "lastpinged": "1970-01-19T23:35:02+0000",
      "managementserverid": "ca2d4fbb-3a83-4a8f-b581-68e6292a7efa",
      "memoryallocated": 1610612736,
      "memoryallocatedbytes": 1610612736,
      "memoryallocatedpercentage": "22.21%",
      "memorytotal": 7250960384,
      "memoryused": 1816461312,
      "memorywithoverprovisioning": "7250960384",
      "name": "ref-trl-4706-k-M7-kiran-chavala-kvm1",
      "networkkbsread": 2007,
      "networkkbswrite": 1,
      "outofbandmanagement": {
        "enabled": false,
        "powerstate": "Disabled"
      },
      "podid": "a05078b9-7b3e-410c-9804-e649afba194d",
      "podname": "Pod1",
      "resourcestate": "Enabled",
      "state": "Up",
      "type": "Routing",
      "ueficapability": true,
      "version": "4.18.0.0",
      "zoneid": "968e2003-57b8-426c-8cac-ed856fa95d61",
      "zonename": "ref-trl-4706-k-M7-kiran-chavala"
    }
  ]
}

EXPECTED RESULTS
Infrastructure >HOSTS

There should be a field "UEFI Supported"
ACTUAL RESULTS

Infrastructure >HOSTS

There is no feild "UEFI Supported"

Activity

  1. changed the title [-]"UEFI Supported" Feild is not Present in the new UI [/-] [+]"UEFI Supported" Field is not Present in the new UI [/+] on Mar 22, 2023
  2. kiranchavala commented on Mar 22, 2023

    @kiranchavala
    MemberAuthor

    This is also not present in earlier version such as 4.15.2 and 4.17.2

  3. yadvr commented on Mar 24, 2023

    @yadvr
    Member

    Fixed in #7361

  4. added this to the 4.18.1.0 milestone on Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions