Uploaded image for project: 'Red Hat OpenStack Services on OpenShift'
  1. Red Hat OpenStack Services on OpenShift
  2. OSPRH-5368

Fix wrong parsing of flavour name and disk_over_commit parameter

XMLWordPrintable

    • Icon: Epic Epic
    • Resolution: Done-Errata
    • Icon: Normal Normal
    • rhos-18.0.0
    • None
    • openstack-tempest
    • None
    • Fix wrong parsing of flavour name and disk_over_commit parameter
    • False
    • Hide

      None

      Show
      None
    • False
    • Not Selected
    • Committed
    • No Docs Impact
    • Done
    • openstack-tempest-39.0.0-18.0.20240620213254.5b9b80e.el9ost
    • Committed
    • Committed
    • 0% To Do, 0% In Progress, 100% Done
    • Automated

      The test in question: tempest/scenario/test_network_advanced_server_ops.py

      In assertion of names of flavors there was wrongly used parameter
      of name. Instead of server['original_name'] we should use
      server['flavor']['original_name'].

      Also parameter disk_over_commit in function live_migrate_server
      is available until version 2.25[1], so we should check microversion
      before using this parameter.

      [1] https://docs.openstack.org/api-ref/compute/#live-migrate-server-os-migratelive-action

       

      Reviews:

            rh-ee-jskunda Jakub Skunda
            kopecmartin Martin Kopec
            rhos-tempest
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: