Comment 0 for bug 1653137

Revision history for this message
Dean Troyer (dtroyer) wrote :

The functional test test_qos_rule_type_list is broken for all current OpenStack SDK releases (>= 0.9.10).

openstack --debug network qos rule type list
...
Network client initialized using OpenStack SDK: <openstack.network.v2._proxy.Proxy object at 0x109477510>
'Proxy' object has no attribute 'qos_rule_types'
Traceback (most recent call last):
  File "/Users/dtroyer/src/openstack/python-openstackclient/.tox/functional/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/Users/dtroyer/src/openstack/python-openstackclient/.tox/functional/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/Users/dtroyer/src/openstack/python-openstackclient/.tox/functional/lib/python2.7/site-packages/cliff/display.py", line 112, in run
    column_names, data = self.take_action(parsed_args)
  File "/Users/dtroyer/src/openstack/python-openstackclient/openstackclient/network/v2/network_qos_rule_type.py", line 36, in take_action
    data = client.qos_rule_types()
AttributeError: 'Proxy' object has no attribute 'qos_rule_types'
clean_up ListNetworkQosRuleType: 'Proxy' object has no attribute 'qos_rule_types'
Traceback (most recent call last):
  File "/Users/dtroyer/src/openstack/python-openstackclient/.tox/functional/lib/python2.7/site-packages/osc_lib/shell.py", line 135, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/Users/dtroyer/src/openstack/python-openstackclient/.tox/functional/lib/python2.7/site-packages/cliff/app.py", line 279, in run
    result = self.run_subcommand(remainder)
  File "/Users/dtroyer/src/openstack/python-openstackclient/.tox/functional/lib/python2.7/site-packages/osc_lib/shell.py", line 180, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File "/Users/dtroyer/src/openstack/python-openstackclient/.tox/functional/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/Users/dtroyer/src/openstack/python-openstackclient/.tox/functional/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/Users/dtroyer/src/openstack/python-openstackclient/.tox/functional/lib/python2.7/site-packages/cliff/display.py", line 112, in run
    column_names, data = self.take_action(parsed_args)
  File "/Users/dtroyer/src/openstack/python-openstackclient/openstackclient/network/v2/network_qos_rule_type.py", line 36, in take_action
    data = client.qos_rule_types()
AttributeError: 'Proxy' object has no attribute 'qos_rule_types'

Original review: https://review.openstack.org/#/c/355376/

Verified not working with OpenStack SDK 0.9.10, 09.11