Public bug reported:

Queen
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]$

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1760405

Title:
  openstack FIP set without router fails with "Unknown error"

Status in neutron:
  New

Bug description:
  Queen
  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]$

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1760405/+subscriptions

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to