Description of problem: Usage of abbreviated CIDR cause keepalived to segfault upon startup. This is fixed in later releases of OpenStack but not in RHOSP 8. Here is a quick patch designed by the customer that fixes it in RHOSP 8. --- /usr/lib/python2.7/site-packages/neutron/api/v2/attributes.py.rpm 2016-09-23 14:02:40.000000000 +0000 +++ /usr/lib/python2.7/site-packages/neutron/api/v2/attributes.py 2017-08-01 18:03:59.864409739 +0000 @@ -318,11 +318,11 @@ def _validate_subnet(data, valid_values=None): msg = None try: net = netaddr.IPNetwork(_validate_no_whitespace(data)) - if '/' not in data: + if '/' not in data or (net.version == 4 and str(net) != data): msg = _("'%(data)s' isn't a recognized IP subnet cidr," " '%(cidr)s' is recommended") % {"data": data, "cidr": net.cidr} else: return Version-Release number of selected component (if applicable): How reproducible: Always Steps to Reproduce: 1. Create a router using abbreviated CIDR such as 10/8 or 172.16/12 2. 3. Actual results: keepalived will segfault but also affects non-HA routers Expected results: Should not segfaults the underlying services Additional info: This is fixed in later release of openstack.
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/RHBA-2017:2690