Ask Your Question
0

kuryr-libnetwork installation fails

asked 2019-10-31 15:06:29 -0600

hudac gravatar image

I'm trying to install https://docs.openstack.org/zun/rocky/install/compute-install-ubuntu.html (zun) in order to be able to run docker containers in openstack.
A prerequisite of that is to install https://docs.openstack.org/kuryr-libnetwork/rocky/install/controller-install.html (kuryr-libnetwork).
I followed the quite simple installations instructions in controller and compute nodes, but after all, kuryr isn't installed properly. Issuing systemctl status kuryr-libnetwork.service gives the error:

# systemctl status kuryr-libnetwork.service --no-pager -l
● kuryr-libnetwork.service - Kuryr-libnetwork - Docker network plugin for Neutron
   Loaded: loaded (/etc/systemd/system/kuryr-libnetwork.service; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Thu 2019-10-31 14:41:45 UTC; 5h 20min ago
  Process: 17213 ExecStart=/usr/local/bin/kuryr-server --config-file /etc/kuryr/kuryr.conf (code=exited, status=1/FAILURE)
 Main PID: 17213 (code=exited, status=1/FAILURE)

Oct 31 14:41:45 openstack kuryr-server[17213]: 2019-10-31 14:41:45.427 17213 ERROR kuryr   File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 134, in get_access
Oct 31 14:41:45 openstack kuryr-server[17213]: 2019-10-31 14:41:45.427 17213 ERROR kuryr     self.auth_ref = self.get_auth_ref(session)
Oct 31 14:41:45 openstack kuryr-server[17213]: 2019-10-31 14:41:45.427 17213 ERROR kuryr   File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 206, in get_auth_ref
Oct 31 14:41:45 openstack kuryr-server[17213]: 2019-10-31 14:41:45.427 17213 ERROR kuryr     self._plugin = self._do_create_plugin(session)
Oct 31 14:41:45 openstack kuryr-server[17213]: 2019-10-31 14:41:45.427 17213 ERROR kuryr   File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 161, in _do_create_plugin
Oct 31 14:41:45 openstack kuryr-server[17213]: 2019-10-31 14:41:45.427 17213 ERROR kuryr     'auth_url is correct. %s' % e)
Oct 31 14:41:45 openstack kuryr-server[17213]: 2019-10-31 14:41:45.427 17213 ERROR kuryr DiscoveryFailure: Could not find versioned identity endpoints when attempting to authenticate. Please check that your auth_url is correct. Unable to establish connection to http://controller:35357: HTTPConnectionPool(host='controller', port=35357): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f65331b4a50>: Failed to establish a new connection: [Errno 111] Connection refused',))
Oct 31 14:41:45 openstack kuryr-server[17213]: 2019-10-31 14:41:45.427 17213 ERROR kuryr 
Oct 31 14:41:45 openstack systemd[1]: kuryr-libnetwork.service: Main process exited, code=exited, status=1/FAILURE
Oct 31 14:41:45 openstack systemd[1]: kuryr-libnetwork.service: Failed with result 'exit-code'.

The most suspicious line is DiscoveryFailure: Could not find versioned identity endpoints when attempting to authenticate because in kuryr installation on controller node, there's no something like openstack endpoint create.

/etc/kuryr/kuryr.conf has this part as well:

[neutron]
www_authenticate_uri = http://controller:5000
auth_url = http://controller:35357
...

Please help

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2019-11-05 07:20:04 -0600

hudac gravatar image

I've changed auth_url to

auth_url = http://controller:5000/v3

Now it somehow works, though I'm not sure that's the appropriate solution.

edit flag offensive delete link more

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-31 15:06:29 -0600

Seen: 19 times

Last updated: Nov 05