kiranchavala commented on issue #7586:
URL: https://github.com/apache/cloudstack/issues/7586#issuecomment-1576698707

   @Noelantogerorge 
   
   1. Try the following steps
   
   
   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"]
   
   2. Restart the cloud stack agent and libvirtd or force reconnect the host
   
   service libvirtd restart
   service cloudstack-agent restart
   
   3. Check the db entry value for host.uefi.enable
   
   mysql> select * from host_details;
   
+----+---------+----------------------------------------------------+------------------------------------------------------+
   | id | host_id | name                                               | value  
                                              |
   
+----+---------+----------------------------------------------------+------------------------------------------------------+
   |  1 |       1 | Host.OS.Kernel.Version                             | 
5.15.0-35-generic                                    |
   |  2 |       1 | com.cloud.network.Networks.RouterPrivateIpStrategy | 
HostLocal                                            |
   |  3 |       1 | Host.OS.Version                                    | 22.04  
                                              |
   |  4 |       1 | host.volume.encryption                             | true   
                                              |
   |  5 |       1 | secured                                            | true   
                                              |
   |  6 |       1 | Host.OS                                            | Ubuntu 
                                              |
   |  8 |       1 | password                                           | 
Nl8+U+aEYhs7XQmf6Jz9Q6b5JmGqbO4fvV3xfDT+KgNYfd19g8us |
   | 14 |       1 | username                                           | root   
                                              |
   | 28 |       1 | host.uefi.enable                                   | true   
                                              |
   
+----+---------+----------------------------------------------------+------------------------------------------------------+
   9 rows in set (0.00 sec)
   
   3. Register a uefi template
   
   https://repo.almalinux.org/almalinux/8/cloud/x86_64/images/
   
   
   4. Try to deploy a vm
   
   -------------
   If you are still facing the issue, then please try with Centos 8 host/ 
instead of Ubuntu 22.04.2 as i think it could be a limitation
   
   
http://docs.cloudstack.apache.org/en/latest/installguide/hypervisor/kvm.html?highlight=uefi#uefi-legacy-secureboot
   
   Please refer the Limitations
   
   
https://cwiki.apache.org/confluence/display/CLOUDSTACK/Enable+UEFI+booting+for+Instance
   
   


-- 
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