[Openstack] OpenStack Queens Manual Installation

Slawomir Kaplonski skaplons at redhat.com
Sat Jun 16 19:51:53 UTC 2018


Hi,

> Wiadomość napisana przez pablo brunetti <pablobrunetti at hotmail.com> w dniu 16.06.2018, o godz. 17:22:
> 
> Hello Kevin,
> 
> In installation of the Keystone OpenStack Queens the port 35357 is deprecated and should be replaced by port 5000.
> 
> ConnectFailure: Unable to establish connection to http://OpenStack-Controller:35357
> 
> Review the entire Neutron installation, replacing port 35357 with 5000. I suggest deleting the database and popular again.

In Neutron DB there is nothing about connection to keystone, so deleting db shouldn’t be necessary.
I think that fixing Neutron’s config files should be enough.

> 
> I made a notification on bugs.launchpad, but was flagged as invalid, stating that the problem has already been fixed.
> 
> https://bugs.launchpad.net/neutron/+bug/1773585
> 
> 
> Best Regards.
> 
> 
> De: Kevin Kwon <poby1972 at gmail.com>
> Enviado: sábado, 16 de junho de 2018 11:30
> Para: openstack at lists.openstack.org
> Assunto: [Openstack] OpenStack Queens Manual Installation
>  
> Dear All!
> 
> Hi.. Would you please help to install the Openstack on Ubunto 16.04.4 Server manually.
> 
> I have installed the Keystone, Glance and Nova with One Controller Node and One Compute node with Installation guide on OpenStack.org.
> 
> after installed the Neutron and ran the "openstack network" command, i got below errors.
> 
> Would you please let me know know how can solve this problem?
> 
> 
> root at OpenStack-Controller:~#
> root at OpenStack-Controller:~# openstack network list
> HttpException: Unknown error
> root at OpenStack-Controller:~#
> 
> 
> 2018-06-16 23:25:23.187 10706 INFO neutron.wsgi [-] 192.168.56.101 "GET / HTTP/1.1" status: 200  len: 262 time: 0.0008469
> 2018-06-16 23:25:23.192 10706 WARNING keystoneauth.identity.generic.base [-] Failed to discover available identity versions when contacting http://OpenStack-Controller:35357. Attempting to parse version from URL.: ConnectFailure: Unable to establish connection to http://OpenStack-Controller:35357: HTTPConnectionPool(host='openstack-controller', port=35357): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7ffa93656d50>: Failed to establish a new connection: [Errno 111] ECONNREFUSED',))
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors [-] An error occurred during processing the request: GET /v2.0/networks HTTP/1.0
> Accept: application/json
> Accept-Encoding: gzip, deflate
> Connection: keep-alive
> Content-Type: text/plain
> Host: openstack-controller:9696
> User-Agent: osc-lib/1.9.0 keystoneauth1/3.4.0 python-requests/2.18.4 CPython/2.7.12
> X-Auth-Token: *****: DiscoveryFailure: Could not determine a suitable URL for the plugin
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors Traceback (most recent call last):
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/oslo_middleware/catch_errors.py", line 40, in __call__
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     response = req.get_response(self.application)
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1316, in send
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     application, catch_exc_info=False)
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1280, in call_application
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     app_iter = application(self.environ, start_response)
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 131, in __call__
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     resp = self.call_func(req, *args, **self.kwargs)
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 196, in call_func
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     return self.func(req, *args, **kwargs)
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 334, in __call__
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     response = self.process_request(req)
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 633, in process_request
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     resp = super(AuthProtocol, self).process_request(request)
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 407, in process_request
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     allow_expired=allow_expired)
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 440, in _do_fetch_token
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     data = self.fetch_token(token, **kwargs)
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 772, in fetch_token
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     allow_expired=allow_expired)
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/_identity.py", line 219, in verify_token
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     auth_ref = self._request_strategy.verify_token(
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/_identity.py", line 170, in _request_strategy
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     strategy_class = self._get_strategy_class()
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/_identity.py", line 192, in _get_strategy_class
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     if self._adapter.get_endpoint(version=klass.AUTH_VERSION):
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 223, in get_endpoint
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     return self.session.get_endpoint(auth or self.auth, **kwargs)
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 942, in get_endpoint
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     return auth.get_endpoint(self, **kwargs)
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 379, in get_endpoint
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     allow_version_hack=allow_version_hack, **kwargs)
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 270, in get_endpoint_data
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     service_catalog = self.get_access(session).service_catalog
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 134, in get_access
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     self.auth_ref = self.get_auth_ref(session)
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 199, in get_auth_ref
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     self._plugin = self._do_create_plugin(session)
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/generic/base.py", line 194, in _do_create_plugin
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors     raise exceptions.DiscoveryFailure('Could not determine a suitable URL '
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors DiscoveryFailure: Could not determine a suitable URL for the plugin
> 2018-06-16 23:25:23.192 10706 ERROR oslo_middleware.catch_errors
> 2018-06-16 23:25:23.194 10706 INFO neutron.wsgi [-] 192.168.56.101 "GET /v2.0/networks HTTP/1.1" status: 500  len: 404 time: 0.0042169
> 
> Thank you!
> Kevin
> _______________________________________________
> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

— 
Slawek Kaplonski
Senior software engineer
Red Hat




More information about the Openstack mailing list