Comment 7 for bug 1657195

Revision history for this message
David Ames (thedac) wrote :

See "Disabling L3 HA, l2-population must be disabled with L3 HA" in the log.

Having l2-population set to ture will cause this code block to return false which leads to the "Cannot disable Router HA while ha enabled routers exist. Please remove any ha routers" error.

def get_l3ha():
    if config('enable-l3ha'):
        if os_release('neutron-server') < 'juno':
            log('Disabling L3 HA, enable-l3ha is not valid before Juno')
            return False
        if get_l2population():
            log('Disabling L3 HA, l2-population must be disabled with L3 HA')
            return False
        return True
    else:
        return False

Please set l2-population to False.

This bug should be changed to better report to the end user what configuration problems may exist.