Bug 1765497 - [RHOS-13] NotFoundException: Unknown error when listing floating ips
Summary: [RHOS-13] NotFoundException: Unknown error when listing floating ips
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-openstackclient
Version: 13.0 (Queens)
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ---
: ---
Assignee: Nate Johnston
QA Contact: nlevinki
URL:
Whiteboard:
Depends On:
Blocks: 1760918
TreeView+ depends on / blocked
 
Reported: 2019-10-25 09:16 UTC by Martin Kopec
Modified: 2020-04-27 14:15 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-04-27 14:15:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1760405 0 None None None 2020-04-27 13:10:10 UTC
Launchpad 1852760 0 None None None 2019-11-15 15:21:20 UTC
OpenStack gerrit 694571 0 'None' NEW Handle NotFoundException when listing floating IPs 2020-09-23 07:48:58 UTC

Description Martin Kopec 2019-10-25 09:16:35 UTC
Description of problem:
python-openstackclient is returning NotFoundException: Unknown error when listing floating ips on undercloud.

Version-Release number of selected component (if applicable):
core_puddle=2019-10-23.1

python2-openstackclient-3.14.3-4.el7ost.noarch
python-openstackclient-lang-3.14.3-4.el7ost.noarch
python2-neutronclient-6.7.0-1.el7ost.noarch

How reproducible:
Source stackrc and list floating ips

Steps to Reproduce:
1. [stack@undercloud-0 ~]$ source stackrc 
2. (undercloud) [stack@undercloud-0 ~]$ openstack floating ip list
NotFoundException: Unknown error

Actual results:
(undercloud) [stack@undercloud-0 ~]$ openstack floating ip list --debug
<some output omitted>
NotFoundException: Unknown error
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 119, in run
    self.produce_output(parsed_args, column_names, data)
  File "/usr/lib/python2.7/site-packages/cliff/lister.py", line 82, in produce_output
    parsed_args,
  File "/usr/lib/python2.7/site-packages/cliff/formatters/table.py", line 101, in emit_list
    self.add_rows(x, column_names, data)
  File "/usr/lib/python2.7/site-packages/cliff/formatters/table.py", line 80, in add_rows
    first_row = next(data_iter)
  File "/usr/lib/python2.7/site-packages/openstackclient/network/v2/floating_ip.py", line 399, in <genexpr>
    (utils.get_item_properties(
  File "/usr/lib/python2.7/site-packages/openstack/resource.py", line 898, in list
    exceptions.raise_from_response(response)
  File "/usr/lib/python2.7/site-packages/openstack/exceptions.py", line 205, in raise_from_response
    http_status=http_status, request_id=request_id
NotFoundException: NotFoundException: Unknown error
clean_up ListFloatingIP: NotFoundException: Unknown error
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 134, in run
    ret_val = super(OpenStackShell, self).run(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 279, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/site-packages/osc_lib/shell.py", line 169, in run_subcommand
    ret_value = super(OpenStackShell, self).run_subcommand(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 400, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/osc_lib/command/command.py", line 41, in run
    return super(Command, self).run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/display.py", line 119, in run
    self.produce_output(parsed_args, column_names, data)
  File "/usr/lib/python2.7/site-packages/cliff/lister.py", line 82, in produce_output
    parsed_args,
  File "/usr/lib/python2.7/site-packages/cliff/formatters/table.py", line 101, in emit_list
    self.add_rows(x, column_names, data)
  File "/usr/lib/python2.7/site-packages/cliff/formatters/table.py", line 80, in add_rows
    first_row = next(data_iter)
  File "/usr/lib/python2.7/site-packages/openstackclient/network/v2/floating_ip.py", line 399, in <genexpr>
    (utils.get_item_properties(
  File "/usr/lib/python2.7/site-packages/openstack/resource.py", line 898, in list
    exceptions.raise_from_response(response)
  File "/usr/lib/python2.7/site-packages/openstack/exceptions.py", line 205, in raise_from_response
    http_status=http_status, request_id=request_id
NotFoundException: NotFoundException: Unknown error

END return value: 1

Expected results:
(undercloud) [stack@undercloud-0 ~]$ openstack floating ip list

(undercloud) [stack@undercloud-0 ~]$ echo $?
0

Additional info:
I was able reproduce this only on RHOS-13, the newer releases behave as expected.


Note You need to log in before you can comment on or make changes to this bug.