Route JSON objects require 'next_hop' to be configure
Issue
Feb 08 10:23:42 overcloud-compute-1 os-collect-config[3428]: File "/usr/lib/python2.7/site-packages/os_net_config/objects.py", line 78, in _get_required_field
Feb 08 10:23:42 overcloud-compute-1 os-collect-config[3428]: raise InvalidConfigException(msg)
Feb 08 10:23:42 overcloud-compute-1 os-collect-config[3428]: os_net_config.objects.InvalidConfigException: Route JSON objects require 'next_hop' to be configure
Feb 08 10:23:42 overcloud-compute-1 os-collect-config[3428]: + RETVAL=1
Feb 08 10:23:42 overcloud-compute-1 os-collect-config[3428]: + [[ 1 == 2 ]]
Feb 08 10:23:42 overcloud-compute-1 os-collect-config[3428]: + [[ 1 != 0 ]]
Feb 08 10:23:42 overcloud-compute-1 os-collect-config[3428]: + echo 'ERROR: os-net-config configuration failed.'
Feb 08 10:23:42 overcloud-compute-1 os-collect-config[3428]: ERROR: os-net-config configuration failed.
Feb 08 10:23:42 overcloud-compute-1 os-collect-config[3428]: + exit 1
Environment
Red Hat OpenStack Platform 12
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
