kiranchavala opened a new issue, #7356:
URL: https://github.com/apache/cloudstack/issues/7356

   
   ##### ISSUE TYPE
   
    * Bug Report
   
   
   ##### COMPONENT NAME
   
   ~~~
   Component:UI
   ~~~
   
   ##### CLOUDSTACK VERSION
   ~~~
   4.18.0
   ~~~
   
   ##### OS / ENVIRONMENT
   
   4.18.0, Rocky 8 Hypervisor 
   -->
   
   ##### SUMMARY
   
   "UEFI Supported" Feild is not Present in the new  UI 
   
   In the Old/legacy  Ui , it's present 
   
   Screenshot 
   
![uefi](https://user-images.githubusercontent.com/1401014/226816582-e19630ba-6628-4269-8e63-5739b35ee834.png)
   
   
   New UI 
   
   Screenshot
   
![UEFI3](https://user-images.githubusercontent.com/1401014/226816662-f7cf34ce-1e21-4366-81b4-6f0840e1aa1f.png)
   
   The feild is needed to identify if the 
   
   
   ##### 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
   
   
   2.  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"] 
   
   3. Restart 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
   
   ~~~
   (shapeblue) 🐱 > 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 feild "UEFI Supported"
   ~~~
   
   ##### ACTUAL RESULTS
   
   ~~~
   
   Infrastructure >HOSTS
   
   There is no feild "UEFI Supported"
   ~~~
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to