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

python-openstackclient should drop force option if cinder api version > 3.66

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • rhos.18.0.z
    • python-openstackclient
    • None
    • Moderate

      To Reproduce Steps to reproduce the behavior:

      1. Deploy RHOSO18
      2. Create a bootable volume
      3. Create an instance with the bootable volume
      4. Take a snapshot with openstackclient

      Expected behavior

      • openstackclient should succeeed without force option

      Bug impact

      • This doesn't align with the APi > 3.66.

      Known workaround

      • Add --force option always.

      Additional context

      • From 3.66 or later, force option doesn't need.
        ~~~
        Volume snapshots of in-use volumes can be created without the ‘force’ flag. Although the ‘force’ flag is now considered invalid when passed in a volume snapshot request, for backward compatibility, the ‘force’ flag with a value evaluating to True is silently ignored.
        ~~~
        However, the current implementation always passes force option(which is false by default).

              Unassigned Unassigned
              rhn-support-knoha Keigo Noha
              rhos-storage-cinder
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: