Ask Your Question

Neutron Setup invalid IPv4 or IPv6 address oslo_config

asked 2019-10-04 12:18:39 -0500

Behzad_1992 gravatar image

Hi all

I am following the instruction of official openstack doc in order to install Neutron. When I am trying to populate the Neutron databases which is already created, the following message is show. the command and output is echoed into the paste of Openstack which is as follow:

The output of /etc/neutron/neutron.conf

the output of ML2 file:

Here are the document that I have followed: ( (

the summary of the error is as follow: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/oslo_config/", line 844, in __call__ value = self.ip_address(value) File "/usr/lib/python3/dist-packages/oslo_config/", line 730, in __call__ self.version_checker(value) File "/usr/lib/python3/dist-packages/oslo_config/", line 750, in _check_both_versions raise ValueError("%s is not IPv4 or IPv6 address" % address)

ValueError: controller_1 is not IPv4 or IPv6 address

any help is much appreciated.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2019-10-05 01:01:59 -0500

updated 2019-10-05 01:06:04 -0500

The underscore in controller_1is illegal. See

Consists only of allowed characters: letters (A-Z and a-z), digits (0-9), and hyphen (-)


I didn't know that either :)

edit flag offensive delete link more


Thank you Bernd. The illegal hostaname (underscore in my case) was the root cause. As I'd changed it, it works like a charm. Thanks for your response.

Behzad_1992 gravatar imageBehzad_1992 ( 2019-10-05 14:41:15 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2019-10-04 12:13:01 -0500

Seen: 111 times

Last updated: Oct 05 '19