← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1420117] [NEW] Create HA router shows successful when there is only one l3 agent is active.

 

Public bug reported:

When there is only one active l3 agent (others are stopped), HA router can still be successfully created 
 although it cannot be scheduled. There is error log showing scheduling failure:

HANotEnoughAvailableAgents: Not enough l3 agents available to ensure HA.
Minimum required 2, available 1.

$ neutron router-create router-ha --ha=True --distributed=False
Created a new router:
+-----------------------+--------------------------------------+
| Field                 | Value                                |
+-----------------------+--------------------------------------+
| admin_state_up        | True                                 |
| distributed           | False                                |
| external_gateway_info |                                      |
| ha                    | True                                 |
| id                    | 11f228a0-c10c-47e8-b636-ee93c302b266 |
| name                  | router-ha                    |
| routes                |                                      |
| status                | ACTIVE                               |
| tenant_id             | 9b06aec0cc8a42d1a233696bb69212c5     |
+-----------------------+--------------------------------------+

** Affects: neutron
     Importance: Undecided
     Assignee: Xu Han Peng (xuhanp)
         Status: New

** Changed in: neutron
     Assignee: (unassigned) => Xu Han Peng (xuhanp)

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

Title:
  Create HA router shows successful when there is only one l3 agent is
  active.

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  When there is only one active l3 agent (others are stopped), HA router can still be successfully created 
   although it cannot be scheduled. There is error log showing scheduling failure:

  HANotEnoughAvailableAgents: Not enough l3 agents available to ensure
  HA. Minimum required 2, available 1.

  $ neutron router-create router-ha --ha=True --distributed=False
  Created a new router:
  +-----------------------+--------------------------------------+
  | Field                 | Value                                |
  +-----------------------+--------------------------------------+
  | admin_state_up        | True                                 |
  | distributed           | False                                |
  | external_gateway_info |                                      |
  | ha                    | True                                 |
  | id                    | 11f228a0-c10c-47e8-b636-ee93c302b266 |
  | name                  | router-ha                    |
  | routes                |                                      |
  | status                | ACTIVE                               |
  | tenant_id             | 9b06aec0cc8a42d1a233696bb69212c5     |
  +-----------------------+--------------------------------------+

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


Follow ups

References