rhel-osp-director: "Not enough l3 agents available to ensure HA. Minimum required 2, available 1." upon attempt to create a router on the overcloud. Environment: instack-undercloud-2.1.2-21.el7ost.noarch Steps to reproduce: 1. deploy the undercloud +SSL 2. Deploy the overcloud: 1 controller, 2 computes. 3. Connect to the overcloud and run 'neutron router-create r1" Result: Not enough l3 agents available to ensure HA. Minimum required 2, available 1. The router doesn't get created. Expected result: The router should be created with no errors.
The issues doesn't exist on HA setup with 3 controllers.
We seem to be passing NeutronL3HA=True when deploying single controller, while its default is False and it should only be set to True when controllers are > 1 See https://github.com/rdo-management/python-rdomanager-oscplugin/blob/master/rdomanager_oscplugin/v1/overcloud_deploy.py#L277
Changing to "l3_ha = False" in /etc/neutron/neutron.conf and restarting the neutron-server resolves this.
Fix: https://review.gerrithub.io/240668
Verified: Environment: instack-undercloud-2.1.2-22.el7ost.noarch python-rdomanager-oscplugin-0.0.8-43.el7ost.noarch Tried on a deployment with 1 controller +1 compute. Was able to create the router with no issues.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2015:1549