← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1749323] [NEW] Deleting the first of multiple HA routers munges HA network

 

Public bug reported:

Pike release, linuxbridge:

Deleting one ha router breaks all subsequent routers by munging the HA
network that keep alive uses.

Neutron server has these errors:
DEBUG neutron.plugins.ml2.managers [req-224baca3-954d-4daa-8ae8-3dac3aa66931 - - - - -] Network 82c3bca0-d04e-460a-993f-d95d3665c9d6 has no segments _extend_network_dict_provider /usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py:165

Example of how to reproduce:

:~# openstack router create --project 370ed91835cb4a90aa0830060ccf0a88 router
+-------------------------+--------------------------------------+
| Field                   | Value                                |
+-------------------------+--------------------------------------+
| admin_state_up          | UP                                   |
| availability_zone_hints |                                      |
| availability_zones      |                                      |
| created_at              | 2018-02-13T22:18:31Z                 |
| description             |                                      |
| distributed             | False                                |
| external_gateway_info   | None                                 |
| flavor_id               | None                                 |
| ha                      | True                                 |
| id                      | 1ded1e23-fcad-40f4-9369-422cbe5fa7ed |
| name                    | router                               |
| project_id              | 370ed91835cb4a90aa0830060ccf0a88     |
| revision_number         | None                                 |
| routes                  |                                      |
| status                  | ACTIVE                               |
| tags                    |                                      |
| updated_at              | 2018-02-13T22:18:31Z                 |
+-------------------------+--------------------------------------+
:~# openstack router create --project 370ed91835cb4a90aa0830060ccf0a88 router-deleteme
+-------------------------+--------------------------------------+
| Field                   | Value                                |
+-------------------------+--------------------------------------+
| admin_state_up          | UP                                   |
| availability_zone_hints |                                      |
| availability_zones      |                                      |
| created_at              | 2018-02-13T22:19:08Z                 |
| description             |                                      |
| distributed             | False                                |
| external_gateway_info   | None                                 |
| flavor_id               | None                                 |
| ha                      | True                                 |
| id                      | fc9d0b95-081a-4fce-9acb-0a9f8040e444 |
| name                    | router-deleteme                      |
| project_id              | 370ed91835cb4a90aa0830060ccf0a88     |
| revision_number         | None                                 |
| routes                  |                                      |
| status                  | ACTIVE                               |
| tags                    |                                      |
| updated_at              | 2018-02-13T22:19:08Z                 |
+-------------------------+--------------------------------------+
:~# openstack network show 22a84484-7b34-4a16-bba7-f5e6861198bd
+---------------------------+----------------------------------------------------+
| Field                     | Value                                              |
+---------------------------+----------------------------------------------------+
| admin_state_up            | UP                                                 |
| availability_zone_hints   |                                                    |
| availability_zones        | nova                                               |
| created_at                | 2018-02-13T22:18:30Z                               |
| description               |                                                    |
| dns_domain                |                                                    |
| id                        | 22a84484-7b34-4a16-bba7-f5e6861198bd               |
| ipv4_address_scope        | None                                               |
| ipv6_address_scope        | None                                               |
| is_default                | None                                               |
| is_vlan_transparent       | None                                               |
| mtu                       | 9000                                               |
| name                      | HA network tenant 370ed91835cb4a90aa0830060ccf0a88 |
| port_security_enabled     | False                                              |
| project_id                |                                                    |
| provider:network_type     | vxlan                                              |
| provider:physical_network | None                                               |
| provider:segmentation_id  | 1077                                               |
| qos_policy_id             | None                                               |
| revision_number           | 2                                                  |
| router:external           | Internal                                           |
| segments                  | None                                               |
| shared                    | False                                              |
| status                    | ACTIVE                                             |
| subnets                   | bd2f4717-f61e-4706-ab2c-c9cfcec35106               |
| tags                      |                                                    |
| updated_at                | 2018-02-13T22:18:31Z                               |
+---------------------------+----------------------------------------------------+
:~# openstack router delete fc9d0b95-081a-4fce-9acb-0a9f8040e444
:~# openstack network show 22a84484-7b34-4a16-bba7-f5e6861198bd
+---------------------------+----------------------------------------------------+
| Field                     | Value                                              |
+---------------------------+----------------------------------------------------+
| admin_state_up            | UP                                                 |
| availability_zone_hints   |                                                    |
| availability_zones        | nova                                               |
| created_at                | 2018-02-13T22:18:30Z                               |
| description               |                                                    |
| dns_domain                |                                                    |
| id                        | 22a84484-7b34-4a16-bba7-f5e6861198bd               |
| ipv4_address_scope        | None                                               |
| ipv6_address_scope        | None                                               |
| is_default                | None                                               |
| is_vlan_transparent       | None                                               |
| mtu                       | 9000                                               |
| name                      | HA network tenant 370ed91835cb4a90aa0830060ccf0a88 |
| port_security_enabled     | False                                              |
| project_id                |                                                    |
| provider:network_type     | None                                               |
| provider:physical_network | None                                               |
| provider:segmentation_id  | None                                               |
| qos_policy_id             | None                                               |
| revision_number           | 4                                                  |
| router:external           | Internal                                           |
| segments                  | None                                               |
| shared                    | False                                              |
| status                    | ACTIVE                                             |
| subnets                   | bd2f4717-f61e-4706-ab2c-c9cfcec35106               |
| tags                      |                                                    |
| updated_at                | 2018-02-13T22:19:53Z                               |
+---------------------------+----------------------------------------------------+

Note that following the deletion of a router the HA network looses its
type and segment id, no subsequent router can become active after the HA
network has been broken in this way.

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

Title:
  Deleting the first of multiple HA routers munges HA network

Status in neutron:
  New

Bug description:
  Pike release, linuxbridge:

  Deleting one ha router breaks all subsequent routers by munging the HA
  network that keep alive uses.

  Neutron server has these errors:
  DEBUG neutron.plugins.ml2.managers [req-224baca3-954d-4daa-8ae8-3dac3aa66931 - - - - -] Network 82c3bca0-d04e-460a-993f-d95d3665c9d6 has no segments _extend_network_dict_provider /usr/lib/python2.7/site-packages/neutron/plugins/ml2/managers.py:165

  Example of how to reproduce:

  :~# openstack router create --project 370ed91835cb4a90aa0830060ccf0a88 router
  +-------------------------+--------------------------------------+
  | Field                   | Value                                |
  +-------------------------+--------------------------------------+
  | admin_state_up          | UP                                   |
  | availability_zone_hints |                                      |
  | availability_zones      |                                      |
  | created_at              | 2018-02-13T22:18:31Z                 |
  | description             |                                      |
  | distributed             | False                                |
  | external_gateway_info   | None                                 |
  | flavor_id               | None                                 |
  | ha                      | True                                 |
  | id                      | 1ded1e23-fcad-40f4-9369-422cbe5fa7ed |
  | name                    | router                               |
  | project_id              | 370ed91835cb4a90aa0830060ccf0a88     |
  | revision_number         | None                                 |
  | routes                  |                                      |
  | status                  | ACTIVE                               |
  | tags                    |                                      |
  | updated_at              | 2018-02-13T22:18:31Z                 |
  +-------------------------+--------------------------------------+
  :~# openstack router create --project 370ed91835cb4a90aa0830060ccf0a88 router-deleteme
  +-------------------------+--------------------------------------+
  | Field                   | Value                                |
  +-------------------------+--------------------------------------+
  | admin_state_up          | UP                                   |
  | availability_zone_hints |                                      |
  | availability_zones      |                                      |
  | created_at              | 2018-02-13T22:19:08Z                 |
  | description             |                                      |
  | distributed             | False                                |
  | external_gateway_info   | None                                 |
  | flavor_id               | None                                 |
  | ha                      | True                                 |
  | id                      | fc9d0b95-081a-4fce-9acb-0a9f8040e444 |
  | name                    | router-deleteme                      |
  | project_id              | 370ed91835cb4a90aa0830060ccf0a88     |
  | revision_number         | None                                 |
  | routes                  |                                      |
  | status                  | ACTIVE                               |
  | tags                    |                                      |
  | updated_at              | 2018-02-13T22:19:08Z                 |
  +-------------------------+--------------------------------------+
  :~# openstack network show 22a84484-7b34-4a16-bba7-f5e6861198bd
  +---------------------------+----------------------------------------------------+
  | Field                     | Value                                              |
  +---------------------------+----------------------------------------------------+
  | admin_state_up            | UP                                                 |
  | availability_zone_hints   |                                                    |
  | availability_zones        | nova                                               |
  | created_at                | 2018-02-13T22:18:30Z                               |
  | description               |                                                    |
  | dns_domain                |                                                    |
  | id                        | 22a84484-7b34-4a16-bba7-f5e6861198bd               |
  | ipv4_address_scope        | None                                               |
  | ipv6_address_scope        | None                                               |
  | is_default                | None                                               |
  | is_vlan_transparent       | None                                               |
  | mtu                       | 9000                                               |
  | name                      | HA network tenant 370ed91835cb4a90aa0830060ccf0a88 |
  | port_security_enabled     | False                                              |
  | project_id                |                                                    |
  | provider:network_type     | vxlan                                              |
  | provider:physical_network | None                                               |
  | provider:segmentation_id  | 1077                                               |
  | qos_policy_id             | None                                               |
  | revision_number           | 2                                                  |
  | router:external           | Internal                                           |
  | segments                  | None                                               |
  | shared                    | False                                              |
  | status                    | ACTIVE                                             |
  | subnets                   | bd2f4717-f61e-4706-ab2c-c9cfcec35106               |
  | tags                      |                                                    |
  | updated_at                | 2018-02-13T22:18:31Z                               |
  +---------------------------+----------------------------------------------------+
  :~# openstack router delete fc9d0b95-081a-4fce-9acb-0a9f8040e444
  :~# openstack network show 22a84484-7b34-4a16-bba7-f5e6861198bd
  +---------------------------+----------------------------------------------------+
  | Field                     | Value                                              |
  +---------------------------+----------------------------------------------------+
  | admin_state_up            | UP                                                 |
  | availability_zone_hints   |                                                    |
  | availability_zones        | nova                                               |
  | created_at                | 2018-02-13T22:18:30Z                               |
  | description               |                                                    |
  | dns_domain                |                                                    |
  | id                        | 22a84484-7b34-4a16-bba7-f5e6861198bd               |
  | ipv4_address_scope        | None                                               |
  | ipv6_address_scope        | None                                               |
  | is_default                | None                                               |
  | is_vlan_transparent       | None                                               |
  | mtu                       | 9000                                               |
  | name                      | HA network tenant 370ed91835cb4a90aa0830060ccf0a88 |
  | port_security_enabled     | False                                              |
  | project_id                |                                                    |
  | provider:network_type     | None                                               |
  | provider:physical_network | None                                               |
  | provider:segmentation_id  | None                                               |
  | qos_policy_id             | None                                               |
  | revision_number           | 4                                                  |
  | router:external           | Internal                                           |
  | segments                  | None                                               |
  | shared                    | False                                              |
  | status                    | ACTIVE                                             |
  | subnets                   | bd2f4717-f61e-4706-ab2c-c9cfcec35106               |
  | tags                      |                                                    |
  | updated_at                | 2018-02-13T22:19:53Z                               |
  +---------------------------+----------------------------------------------------+

  Note that following the deletion of a router the HA network looses its
  type and segment id, no subsequent router can become active after the
  HA network has been broken in this way.

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


Follow ups