Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-72106

[Tracker] hotplug on rhel 9/10 guests show wrong cpu

XMLWordPrintable

    • Quality / Stability / Reliability
    • 0.42
    • False
    • Hide

      None

      Show
      None
    • False
    • None
    • Important
    • None

      Description of problem:

      When running a VM with a rhel10/rhel9 image the CPU cores shown on the guest OS using the command "nproc" show wrong CPU number.
      The VMI status field and the VM spec do show the correct number.

      Version-Release number of selected component (if applicable):

      4.20/4.21

      How reproducible:

      100%

      Steps to Reproduce:

      1. Create a VM with 4 CPU threads and 8 maxSockets CPU
      2. Change the spec to 6 CPU threads
      3. Wait for migration to finish
      

      Actual results:

      The VM status and spec show 6 CPU while the command inside the guest "nproc" show 4, and "nproc --all" show 8.

      Expected results:

      The guest OS command "nproc" should show 6

      Additional info:

      This does work for rhel8, indicating the bug is a result of recent Kernel changes

              sgott@redhat.com Stuart Gott
              rhn-support-rkishner Roni Kishner
              Roni Kishner
              Denys Shchedrivyi Denys Shchedrivyi
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: