Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to migrate VM between new host and older hosts , running same versions #9768

Open
hmadra opened this issue Oct 4, 2024 · 1 comment

Comments

@hmadra
Copy link

hmadra commented Oct 4, 2024

ISSUE TYPE
  • Bug Report
COMPONENT NAME
 Agent , KVM
CLOUDSTACK VERSION
4.18.1 , 4.18.2
CONFIGURATION
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
@weizhouapache
Copy link
Member

weizhouapache commented Oct 10, 2024

@hmadra
what's the output of command stat -fc %T /sys/fs/cgroup/ ?

also, what's the error message in agent.log on source host ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants