OpenNebula / one

The open source Cloud & Edge Computing Platform bringing real freedom to your Enterprise Cloud 🚀
http://opennebula.io
Apache License 2.0
1.19k stars 473 forks source link

Inconsistent CPU pining after cold migrating pinned VM #6596

Open OpenNebulaSupport opened 1 month ago

OpenNebulaSupport commented 1 month ago

Description We observed that CPU pinning is maintained in old host after cold migrating a VM that has NUMA pinning configured. This issue is not happening every time that a cold migration is performed, the steps to reproduce should be carefully followed.

To Reproduce Scenario:

Steps:

  1. Run a VM (VM 1) with 11 vCPUs on Host 1
  2. Run a VM (VM 2) with 1 vCPU on Host 1
  3. Check that all the CPUs of Host 1 are pinned
  4. Migrate VM 2 to Host 2 (no live migration)
  5. Check that the pinning has not disappeared in Host 1

Currently, the only way found to fix this inconsistency is through the use of onedb update-body host --id <host-id>.

Expected behavior The CPU pinning is removed from Host 1.

Details

Progress Status