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 |
+-----------------------+--------------------------------------+
Fix proposed to branch: master /review. openstack. org/154374
Review: https:/