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

We use the deprecated field .spec.running in our code base

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Major Major
    • 2.8.1
    • 2.7.0
    • Controller

      Description of problem:

      Warning: spec.running is deprecated, please use spec.runStrategy instead.
      virtualmachine.kubevirt.io/vm-fedora created

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

       

      How reproducible:

      Always / N%
      

      Steps to Reproduce:

      1. Migrate a VM and look at the new VM spec
      2. Look for the new spec.RunStrategy
      3. Look for the deprecated spec.Running 

      Actual results:

      we see only spec.Running

      Expected results:

      we see only spec.RunStrategy

      Additional info:

      https://kubevirt.io/user-guide/compute/run_strategies/
      
      we also use this field to start and stop the VM in the target, we should use the he VirtualMachine subresource endpoints.

              rh-ee-ehazan Elad Hazan
              yzamir@redhat.com Yaacov Zamir
              Chenli Hu Chenli Hu
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: