← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1943508] [NEW] Victoria: router gw ip duplicate in ovn nbctl show

 

Public bug reported:

Hi,

OVN Northbound resources are created by neutron OVN mechanism driver.

Reporting this to the neutron mailing list would probably get you some
reply.

Thanks
Numan


>
> hi:
>
> i use openstack victoria ovn DVR to provide vpc network,and use octavia to provide LB。
>
> At first(20210704),  my LB worked fine,and the nbctl show info is:
>
> (py3env) [root@control01 ~]# openstack port show f53b6a55-6feb-4f98-bb28-875999cf577a
> +-------------------------+------------------------------------------------------------------------------+
> | Field                   | Value                                                                        |
> +-------------------------+------------------------------------------------------------------------------+
> | admin_state_up          | UP                                                                           |
> | allowed_address_pairs   |                                                                              |
> | binding_host_id         | control03                                                                    |
> | binding_profile         |                                                                              |
> | binding_vif_details     | port_filter='True'                                                           |
> | binding_vif_type        | ovs                                                                          |
> | binding_vnic_type       | normal                                                                       |
> | created_at              | 2020-12-20T12:26:01Z                                                         |
> | data_plane_status       | None                                                                         |
> | description             |                                                                              |
> | device_id               | 18f83463-1f11-4905-ab44-92fd9364c8d4                                         |
> | device_owner            | network:router_gateway                                                       |
> | dns_assignment          | None                                                                         |
> | dns_domain              | None                                                                         |
> | dns_name                | None                                                                         |
> | extra_dhcp_opts         |                                                                              |
> | fixed_ips               | ip_address='10.120.25.133', subnet_id='e10a8459-5668-40f4-9ee7-8fb228201eb8' |
> | id                      | f53b6a55-6feb-4f98-bb28-875999cf577a                                         |
> | ip_allocation           | None                                                                         |
> | mac_address             | fa:16:3e:90:1f:56                                                            |
> | name                    |                                                                              |
> | network_id              | 9989ffbf-6c71-47c9-b4bf-a747bc74f734                                         |
> | port_security_enabled   | False                                                                        |
> | project_id              |                                                                              |
> | propagate_uplink_status | None                                                                         |
> | qos_network_policy_id   | None                                                                         |
> | qos_policy_id           | None                                                                         |
> | resource_request        | None                                                                         |
> | revision_number         | 542                                                                          |
> | security_group_ids      |                                                                              |
> | status                  | DOWN                                                                         |
> | tags                    |                                                                              |
> | trunk_details           | None                                                                         |
> | updated_at              | 2021-07-27T13:02:57Z                                                         |
> +-------------------------+------------------------------------------------------------------------------+
>
>
> router 0a38aa37-6b88-4871-add0-dee277c0e54f (neutron-18f83463-1f11-4905-ab44-92fd9364c8d4) (aka cn-shanghai-on-prem-router)
> ...
> --
>     nat 02d4cbf8-35e6-4842-8866-0331b025ca01
>         external ip: "10.120.25.133"
>         logical ip: "10.118.0.0/19"
>         type: "snat"
> ...
>
>
> and now the nbctl show info is:
>
>
>
> router 0a38aa37-6b88-4871-add0-dee277c0e54f (neutron-18f83463-1f11-4905-ab44-92fd9364c8d4) (aka cn-shanghai-on-prem-router)
>     port lrp-53355fc7-002d-4a32-8ca9-f5f244c6fafd
>         mac: "fa:16:3e:be:04:68"
> --
>     nat 02d4cbf8-35e6-4842-8866-0331b025ca01
>         external ip: "10.120.25.133"
>         logical ip: "10.118.0.0/19"
>         type: "snat"
>     nat 0a8bbdca-8af0-4f8f-a8c1-e2b76b091f8c
> --
>     nat 8a28dcc8-34f2-4cca-b78f-d3b9ae9dee2e
>         external ip: "10.120.25.133"
>         logical ip: "10.118.0.0/19"
>         type: "snat"
>
>
>
> as you can see,  10.120.25.133 :  10.118.0.0/19 its duplicate
>
>
> thanks for your help
>

** 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/1943508

Title:
  Victoria: router gw ip duplicate in ovn nbctl show

Status in neutron:
  New

Bug description:
  Hi,

  OVN Northbound resources are created by neutron OVN mechanism driver.

  Reporting this to the neutron mailing list would probably get you some
  reply.

  Thanks
  Numan


  >
  > hi:
  >
  > i use openstack victoria ovn DVR to provide vpc network,and use octavia to provide LB。
  >
  > At first(20210704),  my LB worked fine,and the nbctl show info is:
  >
  > (py3env) [root@control01 ~]# openstack port show f53b6a55-6feb-4f98-bb28-875999cf577a
  > +-------------------------+------------------------------------------------------------------------------+
  > | Field                   | Value                                                                        |
  > +-------------------------+------------------------------------------------------------------------------+
  > | admin_state_up          | UP                                                                           |
  > | allowed_address_pairs   |                                                                              |
  > | binding_host_id         | control03                                                                    |
  > | binding_profile         |                                                                              |
  > | binding_vif_details     | port_filter='True'                                                           |
  > | binding_vif_type        | ovs                                                                          |
  > | binding_vnic_type       | normal                                                                       |
  > | created_at              | 2020-12-20T12:26:01Z                                                         |
  > | data_plane_status       | None                                                                         |
  > | description             |                                                                              |
  > | device_id               | 18f83463-1f11-4905-ab44-92fd9364c8d4                                         |
  > | device_owner            | network:router_gateway                                                       |
  > | dns_assignment          | None                                                                         |
  > | dns_domain              | None                                                                         |
  > | dns_name                | None                                                                         |
  > | extra_dhcp_opts         |                                                                              |
  > | fixed_ips               | ip_address='10.120.25.133', subnet_id='e10a8459-5668-40f4-9ee7-8fb228201eb8' |
  > | id                      | f53b6a55-6feb-4f98-bb28-875999cf577a                                         |
  > | ip_allocation           | None                                                                         |
  > | mac_address             | fa:16:3e:90:1f:56                                                            |
  > | name                    |                                                                              |
  > | network_id              | 9989ffbf-6c71-47c9-b4bf-a747bc74f734                                         |
  > | port_security_enabled   | False                                                                        |
  > | project_id              |                                                                              |
  > | propagate_uplink_status | None                                                                         |
  > | qos_network_policy_id   | None                                                                         |
  > | qos_policy_id           | None                                                                         |
  > | resource_request        | None                                                                         |
  > | revision_number         | 542                                                                          |
  > | security_group_ids      |                                                                              |
  > | status                  | DOWN                                                                         |
  > | tags                    |                                                                              |
  > | trunk_details           | None                                                                         |
  > | updated_at              | 2021-07-27T13:02:57Z                                                         |
  > +-------------------------+------------------------------------------------------------------------------+
  >
  >
  > router 0a38aa37-6b88-4871-add0-dee277c0e54f (neutron-18f83463-1f11-4905-ab44-92fd9364c8d4) (aka cn-shanghai-on-prem-router)
  > ...
  > --
  >     nat 02d4cbf8-35e6-4842-8866-0331b025ca01
  >         external ip: "10.120.25.133"
  >         logical ip: "10.118.0.0/19"
  >         type: "snat"
  > ...
  >
  >
  > and now the nbctl show info is:
  >
  >
  >
  > router 0a38aa37-6b88-4871-add0-dee277c0e54f (neutron-18f83463-1f11-4905-ab44-92fd9364c8d4) (aka cn-shanghai-on-prem-router)
  >     port lrp-53355fc7-002d-4a32-8ca9-f5f244c6fafd
  >         mac: "fa:16:3e:be:04:68"
  > --
  >     nat 02d4cbf8-35e6-4842-8866-0331b025ca01
  >         external ip: "10.120.25.133"
  >         logical ip: "10.118.0.0/19"
  >         type: "snat"
  >     nat 0a8bbdca-8af0-4f8f-a8c1-e2b76b091f8c
  > --
  >     nat 8a28dcc8-34f2-4cca-b78f-d3b9ae9dee2e
  >         external ip: "10.120.25.133"
  >         logical ip: "10.118.0.0/19"
  >         type: "snat"
  >
  >
  >
  > as you can see,  10.120.25.133 :  10.118.0.0/19 its duplicate
  >
  >
  > thanks for your help
  >

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