GitHub user hmadra closed a discussion: Unable to migrate VM between new host 
and older hosts , running same versions

<!--
Verify first that your issue/request is not already reported on GitHub.
Also test if the latest release and main branch are affected too.
Always add information AFTER of these HTML comments, but no need to delete the 
comments.
-->

##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
 * Bug Report
 

##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
 Agent , KVM
~~~

##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main 
branch.
-->

~~~
4.18.1 , 4.18.2
~~~

##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network, advanced 
networking, etc.  N/A otherwise
-->


##### OS / ENVIRONMENT
AlmaLinux 9.3 - 9.4


##### SUMMARY
I'm running 10 Host Almalinux 9.3 Cluster witout issues.
However , on adding a new host , I cannot migrate an VM away from the new host.
I can Migrate to the new host , but not away from it.

All Machines are 100% identical , running same libvirt 9.5 

Here is the Log I Get

2024-10-04 00:06:51,927 DEBUG [kvm.resource.LibvirtComputingResource] 
(agentRequest-Handler-2:null) (logid:50b23ae4) This host utilizes cgroupv2 (as 
the max shares value is [145600]), thus, the VM requested shares of [4000] will 
be converted to consider the host limits; the new CPU shares value is [275].
2024-10-04 00:06:51,931 INFO  [resource.wrapper.LibvirtMigrateCommandWrapper] 
(agentRequest-Handler-2:null) (logid:50b23ae4) VM [i-2-76-VM] will have CPU 
shares altered from [4000] to [0] as part of migration because the cgroups 
version differs between hosts.

All Nodes have cgroup2 

grep cgroup /proc/filesystems
nodev   cgroup
nodev   cgroup2




##### EXPECTED RESULTS
Should be able to migrate between hosts without issues.

##### ACTUAL RESULTS
~~~
Unable to migrate VMs
~~~


GitHub link: https://github.com/apache/cloudstack/discussions/10511

----
This is an automatically sent email for users@cloudstack.apache.org.
To unsubscribe, please send an email to: users-unsubscr...@cloudstack.apache.org

Reply via email to