Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

kuryr-libnetwork installation fails

I'm trying to install zun in order to be able to run docker containers in openstack.
A prerequisite of that is to install 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