You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by "yashi4engg (via GitHub)" <gi...@apache.org> on 2024/04/29 15:26:10 UTC

[I] VMs not loading kvm and kvm-intel module at boot once if useing custom cpu [cloudstack]

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

   <!--
   VMs not loading kvm and kvm-intel module at boot once we use custom cpu
   -->
   
   ##### ISSUE TYPE
   
   VMs not loading kvm and kvm-intel module at boot once we use custom cpu as below - 
   guest.cpu.model=SandyBridge
   guest.cpu.mode=custom
   
   ##### COMPONENT NAME
   <!--
   VMs not loading module kvm and kvm-intel  
   -->
   ~~~
   
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   4.19
   -->
   
   ~~~
   
   ~~~
   
   ##### CONFIGURATION
   <!--
   We tried to use custom cpu in agent.properties . When using below cpu models we are getting issue that VMs not coming up with kvm module installed. even if we install it at time of boot at next reboot it again went. 
   
   we are using below config in agent.properties - 
   guest.cpu.model=SandyBridge
   guest.cpu.mode=custom
   
   we need kvm module to be loaded on vm so that we can use below properties in our automation :- 
   
   "ansible_virtualization_type": "kvm", 
   -->
   
   
   ##### OS / ENVIRONMENT
   <!--
   hypervisors - OEL9
   -->
   
   
   ##### SUMMARY
   we are using below config in agent.properties - 
   guest.cpu.model=SandyBridge
   guest.cpu.mode=custom
   
   we need kvm module to be loaded on vm so that we can use below properties in our automation :- 
   
   "ansible_virtualization_type": "kvm", 
   
   If we use guest.cpu.mode=host-model it come by default. 
   
   
   ##### EXPECTED RESULTS
   kvm module should be present after vm reboot and must be install as part of VM creation. 
   
   ~~~
   
   ~~~
   
   


-- 
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: commits-unsubscribe@cloudstack.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VMs not loading kvm and kvm-intel module at boot once if useing custom cpu [cloudstack]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud commented on issue #9005:
URL: https://github.com/apache/cloudstack/issues/9005#issuecomment-2085365278

   Resolved as closed, question has been answered. Pl re-open if you're still stuck or log a new issue. Thanks.


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VMs not loading kvm and kvm-intel module at boot once if useing custom cpu [cloudstack]

Posted by "rohityadavcloud (via GitHub)" <gi...@apache.org>.
rohityadavcloud closed issue #9005: VMs not loading kvm and kvm-intel module at boot once if useing custom cpu
URL: https://github.com/apache/cloudstack/issues/9005


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] VMs not loading kvm and kvm-intel module at boot once if useing custom cpu [cloudstack]

Posted by "weizhouapache (via GitHub)" <gi...@apache.org>.
weizhouapache commented on issue #9005:
URL: https://github.com/apache/cloudstack/issues/9005#issuecomment-2083106401

   @yashi4engg 
   you need to add the following to agent.properties
   ```
   guest.cpu.features=vmx
   ```
   


-- 
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: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org