Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1562599

Summary: Tracker: openstack FIP set without router fails with "Unknown error"
Product: Red Hat OpenStack Reporter: Alexander Stafeyev <astafeye>
Component: openstack-neutronAssignee: Assaf Muller <amuller>
Status: CLOSED ERRATA QA Contact: Toni Freger <tfreger>
Severity: medium Docs Contact:
Priority: medium    
Version: 13.0 (Queens)CC: amuller, chrisw, nyechiel, srevivo
Target Milestone: Upstream M3Keywords: Triaged
Target Release: 14.0 (Rocky)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-neutron-13.0.0-0.20180710125920.5db3979.el7ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-01-11 11:49:20 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexander Stafeyev 2018-04-01 10:40:05 UTC
Assiging FIP when there is nor router between the external and internal networks show " unknown error" instead of

"External network b6093932-a55d-4f9a-8af0-f6f953c3a443 is not reachable from subnet 535a9a47-6797-454f-a1dc-eeda6ace87d8. Therefore, cannot associate Port 8af20b95-fbf3-4116-b630-68cc7b468060 with a Floating IP.
Neutron server returns request_ids: ['req-73ab75d2-5b3b-42ef-9604-37cc539ef0cc']" as with neutron client.

Case:
(.venv) (overcloud) [stack@c09-h04-r630 octavia-tempest-plugin]$
(.venv) (overcloud) [stack@c09-h04-r630 octavia-tempest-plugin]$ openstack floating ip set 172.168.30.221 --port 8af20b95-fbf3-4116-b630-68cc7b468060
NotFoundException: Unknown error
(.venv) (overcloud) [stack@c09-h04-r630 octavia-tempest-plugin]$ neutron router-create Router_eNet
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Created a new router:
+-------------------------+--------------------------------------+
| Field | Value |
+-------------------------+--------------------------------------+
| admin_state_up | True |
| availability_zone_hints | |
| availability_zones | |
| created_at | 2018-04-01T10:30:47Z |
| description | |
| external_gateway_info | |
| flavor_id | |
| ha | True |
| id | b7364546-0227-4de9-beaa-ef5ea848ec0b |
| name | Router_eNet |
| project_id | a4c33cca12ea4b7e892f80f1009a2363 |
| revision_number | 2 |
| routes | |
| status | ACTIVE |
| tags | |
| tenant_id | a4c33cca12ea4b7e892f80f1009a2363 |
| updated_at | 2018-04-01T10:30:47Z |
+-------------------------+--------------------------------------+
(.venv) (overcloud) [stack@c09-h04-r630 octavia-tempest-plugin]$ neutron router-list
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
+--------------------------------------+-------------+----------------------------------+-----------------------+------+
| id | name | tenant_id | external_gateway_info | ha |
+--------------------------------------+-------------+----------------------------------+-----------------------+------+
| b7364546-0227-4de9-beaa-ef5ea848ec0b | Router_eNet | a4c33cca12ea4b7e892f80f1009a2363 | null | True |
+--------------------------------------+-------------+----------------------------------+-----------------------+------+
(.venv) (overcloud) [stack@c09-h04-r630 octavia-tempest-plugin]$ neutron router-interface-add Router_eNet subnet=int_sub
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Added interface 78ecc2d2-769e-4746-ac59-449b620cdec6 to router Router_eNet.
(.venv) (overcloud) [stack@c09-h04-r630 octavia-tempest-plugin]$ neutron router-gateway-set Router_eNet admin-ext
neutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.
Set gateway for router Router_eNet
(.venv) (overcloud) [stack@c09-h04-r630 octavia-tempest-plugin]$ openstack floating ip set 172.168.30.221 --port 8af20b95-fbf3-4116-b630-68cc7b468060
(.venv) (overcloud) [stack@c09-h04-r630 octavia-tempest-plugin]$

Comment 8 errata-xmlrpc 2019-01-11 11:49:20 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2019:0045