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

RHOSP 17.1 deprecationWarning in openstackclient for volume list

XMLWordPrintable

    • Low

      Is there a way to fix this deprecation warning ?

      It is also happening in 17.1.4.

      (overcloud) [stack@undercloud ~]$ cat /etc/rhosp-release 
      Red Hat OpenStack Platform release 17.1.3 (Wallaby)
      
      
      (overcloud) [stack@undercloud ~]$ openstack volume list --project admin
      /usr/lib/python3.9/site-packages/osc_lib/utils/__init__.py:515: DeprecationWarning: The usage of formatter functions is now discouraged. Consider using cliff.columns.FormattableColumn instead. See reviews linked with bug 1687955 for more detail.
        warnings.warn(
      +--------------------------------------+------+----------+------+-------------+
      | ID                                   | Name | Status   | Size | Attached to |
      +--------------------------------------+------+----------+------+-------------+
      | 1ff5b777-8471-4cf2-9e91-a7fc7abb9212 | test | creating |   10 |             |
      +--------------------------------------+------+----------+------+-------------+
      
      (overcloud) [stack@undercloud ~]$ openstack volume list 
      /usr/lib/python3.9/site-packages/osc_lib/utils/__init__.py:515: DeprecationWarning: The usage of formatter functions is now discouraged. Consider using cliff.columns.FormattableColumn instead. See reviews linked with bug 1687955 for more detail.
        warnings.warn(
      +--------------------------------------+------+-----------+------+-------------+
      | ID                                   | Name | Status    | Size | Attached to |
      +--------------------------------------+------+-----------+------+-------------+
      | 1ff5b777-8471-4cf2-9e91-a7fc7abb9212 | test | available |   10 |             |
      +--------------------------------------+------+-----------+------+-------------+
      

              brosmait@redhat.com Brian Rosmaita
              rhn-support-camorris Carl Morris
              Yosi Ben Shimon
              Yosi Ben Shimon Yosi Ben Shimon
              rhos-storage-cinder
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: