Skip to content

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

@hmadra

Description

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions