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

[openstackclient] Router can't be created with QoS policy

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Normal Normal
    • None
    • rhos-18.0.6, rhos-18.0.7
    • openstack-neutron
    • None
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • ?
    • None
    • Neutron Sprint 10
    • 1
    • Moderate

      On `component-network-edpm-rhel9-rhoso18.0-crc` autohold with openstackclient version [1].

      It isn't possible to create router with QoS policy `openstack router create ... --qos-policy <qos-policy> ...` as seen in command output [2].

      This can already be done using openstack commands for other resources created with QoS policy such as port and network.

      This limitation can be worked around by creating router without attached QoS policy, then using router set command to attach it.

      [1]

      sh-5.1$ rpm -qa | grep openstackclient
      python-openstackclient-lang-6.2.1-18.0.20250227154745.0217295.el9osttrunk.noarch
      python3-openstackclient-6.2.1-18.0.20250227154745.0217295.el9osttrunk.noarch

      [2]

      sh-5.1$ openstack router create --qos-policy p1 r1
      usage: openstack router create [-h] [-f {json,shell,table,value,yaml}] [-c COLUMN] [--noindent] [--prefix PREFIX] [--max-width <integer>] [--fit-width] [--print-empty]
                                     [--extra-property type=<property_type>,name=<property_name>,value=<property_value>] [--enable | --disable] [--distributed | --centralized] [--ha | --no-ha]
                                     [--description <description>] [--project <project>] [--project-domain <project-domain>] [--availability-zone-hint <availability-zone>]
                                     [--tag <tag> | --no-tag] [--external-gateway <network>] [--fixed-ip subnet=<subnet>,ip-address=<ip-address>] [--enable-snat | --disable-snat]
                                     [--enable-ndp-proxy | --disable-ndp-proxy] [--flavor <flavor-id>]
                                     <name>
      openstack router create: error: unrecognized arguments: --qos-policy r1
      

              rodolfo_alonso Rodolfo Alonso
              rhn-support-mblue Maor Blaustein
              rhos-dfg-networking-squad-neutron
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: