Uploaded image for project: 'Migration Toolkit for Virtualization'
  1. Migration Toolkit for Virtualization
  2. MTV-2987

VM SMBIOS serial number not populated in OCP-Virt VMs

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Unresolved
    • Icon: Major Major
    • 2.10.0
    • None
    • Controller
    • None
    • VM SMBIOS serial number not populated in OCP-Virt VMs
    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • True
    • Not Selected
    • In Progress
    • 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

              yzamir@redhat.com Yaacov Zamir
              yzamir@redhat.com Yaacov Zamir
              Chenli Hu Chenli Hu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: