- 
    
Epic
 - 
    Resolution: Done
 - 
    
Major
 - 
    None
 - 
    None
 
- 
        VM SMBIOS serial number not populated in OCP-Virt VMs
 - 
        Product / Portfolio Work
 - 
        False
 - 
        
 - 
        True
 - 
        Not Selected
 - 
        Done
 - 
        0% To Do, 0% In Progress, 100% Done
 
Goal
Today we do not support VM SMBIOS serial number not populated in OCP-Virt VMs
After this epic we will populate the correct VM SMBIOS serial number in OCP-Virt VMs
Ref:
https://issues.redhat.com/browse/CNV-64582 - support VM SMBIOS serial number on CNV side - ( fixed on kubevirt 1.4 and 1.5 )
How to test:
A. Set the feature flag to "true":
yzamir@fedora:~$ oc get forkliftcontrollers -n openshift-mtv forklift-controller -o json | jq .spec
{
  "feature_ui_plugin": "true",
  "feature_validation": "true",
  "feature_volume_populator": "true"
}
yzamir@fedora:~$ oc patch forkliftcontroller forklift-controller -n openshift-mtv --type='merge' -p='{"spec":{"feature_vmware_system_serial_number":"true"}}' forkliftcontroller.forklift.konveyor.io/forklift-controller patched
yzamir@fedora:~$ oc get forkliftcontrollers -n openshift-mtv forklift-controller -o json | jq .spec
{
  "feature_ui_plugin": "true",
  "feature_validation": "true",
  "feature_vmware_system_serial_number": "true",
  "feature_volume_populator": "true"
}
B. Check the VM SMBIOS serial number in the source vm:
dmidecode -s system-serial-number
C. Run a migration, and check the serial in the target vm:
dmidecode -s system-serial-number
User Stories
- As a migration manager,
I want to get the same VM SMBIOS serial number in my migrated vms,
so that i can continue to use my automation. - <another user story>
 
Non-Requirements
- check if CNV support VM SMBIOS serial numbes with spaces and capital letters
 
Notes
- Currently under feature gate because not all CNV installation support VM SMBIOS serial numbes with spaces and capital letters