Ask Your Question
0

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: http://paste.openstack.org/show/781094/

The output of /etc/neutron/neutron.conf http://paste.openstack.org/show/781095/

the output of ML2 file: http://paste.openstack.org/show/781096/

Here are the document that I have followed: https://docs.openstack.org/neutron/stein/install/controller-install-ubuntu.html (https://docs.openstack.org/neutron/st...) https://docs.openstack.org/neutron/stein/install/controller-install-option2-ubuntu.html (https://docs.openstack.org/neutron/st...)

the summary of the error is as follow: Traceback (most recent call last): File "/usr/lib/python3/dist-packages/oslo_config/types.py", line 844, in __call__ value = self.ip_address(value) File "/usr/lib/python3/dist-packages/oslo_config/types.py", line 730, in __call__ self.version_checker(value) File "/usr/lib/python3/dist-packages/oslo_config/types.py", 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
0

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

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

The underscore in controller_1is illegal. See https://opendev.org/openstack/oslo.co...:

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

or https://en.m.wikipedia.org/wiki/Hostn....

I didn't know that either :)

edit flag offensive delete link more

Comments

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 10 times

Last updated: Oct 05