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

Creating an audit with the Zone migration strategy without compute_nodes parameter crashes

XMLWordPrintable

    • 1
    • False
    • Hide

      None

      Show
      None
    • False
    • No Docs Impact
    • openstack-watcher-10.0.1-18.0.20250923154706.c014f81.el9ost
    • rhos-workloads-evolution
    • None
    • Release Note Not Required
    • Workload Evolution Sprint 10
    • 1
    • Important

      To Reproduce Steps to reproduce the behavior:

      1. Creae an audit with the Zone migration strategy with storage_pools defined, but no compute_nodes and with_attached_volume=True crahses. Here is an example audit:

         openstack optimize audit create -a zm_test -p storage_pools='[\{"src_pool": "jgilaber-watcher-2@lvmdriver-1#lvmdriver-1", "src_type": "lvmdriver-1", "dst_type": "lvmdriver-1", "dst_pool": "jgilaber-watcher-3@lvmdriver-1#lvmdriver-1}]' -p with_attached_volume=True

      Expected behavior

      • The audit produces an action plan with the volume migrations that match the input. Instead the audit fails because of the misssing compute_nodes in the input

      Bug impact

      • A valid audit is failed because of an unnecessary parameter.

      Known workaround

      • If the user has a preferred destination node for the migrated instances, the parameter can be specified.

              jgilaber@redhat.com Joan Francesc Gilabert Navarro
              jgilaber@redhat.com Joan Francesc Gilabert Navarro
              rhos-workloads-evolution
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: