Bug 2228103 - virt-launcher does not start with isolateEmulator thread and an even CPU count
Summary: virt-launcher does not start with isolateEmulator thread and an even CPU count
Keywords:
Status: NEW
Alias: None
Product: Container Native Virtualization (CNV)
Classification: Red Hat
Component: Virtualization
Version: 4.14.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: 4.14.0
Assignee: Itamar Holder
QA Contact: Kedar Bidarkar
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-08-01 12:12 UTC by Orel Misan
Modified: 2023-08-02 13:01 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker CNV-31584 0 None None None 2023-08-01 13:06:08 UTC

Description Orel Misan 2023-08-01 12:12:00 UTC
Description of problem:


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


How reproducible:
100%

Steps to Reproduce:
Create the following VMI:
```
apiVersion: kubevirt.io/v1
kind: VirtualMachineInstance
metadata:
  annotations:
    cpu-load-balancing.crio.io: disable
    cpu-quota.crio.io: disable
    irq-load-balancing.crio.io: disable
  name: dpdk-vmi
spec:
  domain:
    cpu:
      cores: 8
      dedicatedCpuPlacement: true
      isolateEmulatorThread: true
      model: host-model
      sockets: 1
      threads: 1
    devices:
      disks:
        - disk:
            bus: virtio
          name: rootdisk
        - disk:
            bus: virtio
          name: cloudinitdisk
      networkInterfaceMultiqueue: true
      rng: {}
    memory:
      guest: 4Gi
      hugepages:
        pageSize: 1Gi
  terminationGracePeriodSeconds: 0
  volumes:
    - containerDisk:
        image: 'quay.io/kiagnose/kubevirt-dpdk-checkup-vm:main'
        imagePullPolicy: Always
      name: rootdisk
    - cloudInitNoCloud:
        userData: |
          #cloud-config
          user: cloud-user
          password: 0tli-pxem-xknu
          chpasswd:
            expire: false
      name: cloudinitdisk
```

Actual results:
virt-launcher pod does not start.
kubelet emits the following event:
```
SMT Alignment Error: requested 9 cpus not multiple cpus per core = 2
```


Expected results:
The VMI should start.

Additional info:


Note You need to log in before you can comment on or make changes to this bug.