Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Hello Bernd ,

root@controller:/home/controller# curl http://controller:5000

{"versions": {"values": [{"status": "stable", "updated": "2018-02-28T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v3+json"}], "id": "v3.10", "links": [{"href": "http://controller:5000/v3/", "rel": "self"}]}, {"status": "deprecated", "updated": "2016-08-04T00:00:00Z", "media-types": [{"base": "application/json", "type": "application/vnd.openstack.identity-v2.0+json"}], "id": "v2.0", "links": [{"href": "http://controller:5000/v2.0/", "rel": "self"}, {"href": "https://docs.openstack.org/", "type": "text/html", "rel": "describedby"}]}]}}

root@controller:/home/controller# curl http://controller:35357

curl: (7) Failed to connect to controller port 35357: Connection refused

Below the log file:

2018-06-29 10:35:14.049 2631 INFO neutron.wsgi [-] 192.168.2.116 "GET / HTTP/1.1" status: 200 len: 252 time: 0.0007980 2018-06-29 10:35:14.054 2631 WARNING keystoneauth.identity.generic.base [-] Failed to discover available identity versions when contacting http://controller:35357. Attempting to parse version from URL.: ConnectFailure: 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="" 0x7f0ca20cd0d0="">: Failed to establish a new connection: [Errno 111] ECONNREFUSED',)) 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors [-] An error occurred during processing the request: GET /v2.0/extensions HTTP/1.0 Accept: application/json Accept-Encoding: gzip, deflate Connection: keep-alive Content-Type: text/plain Host: 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-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors Traceback (most recent call last): 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/oslo_middleware/catch_errors.py", line 40, in __call__ 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors response = req.get_response(self.application) 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1316, in send 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors application, catch_exc_info=False) 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1280, in call_application 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors app_iter = application(self.environ, start_response) 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 131, in __call__ 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors resp = self.call_func(req, *args, *self.kwargs) 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 196, in call_func 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors return self.func(req, args, *kwargs) 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 334, in __call__ 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors response = self.process_request(req) 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 633, in process_request 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors resp = super(AuthProtocol, self).process_request(request) 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 407, in process_request 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors allow_expired=allow_expired) 2018-06-29 10:35:14.054 2631 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-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors data = self.fetch_token(token, *kwargs) 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 772, in fetch_token 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors allow_expired=allow_expired) 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/_identity.py", line 219, in verify_token 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors auth_ref = self._request_strategy.verify_token( 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/_identity.py", line 170, in _request_strategy 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors strategy_class = self._get_strategy_class() 2018-06-29 10:35:14.054 2631 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-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors if self._adapter.get_endpoint(version=klass.AUTH_VERSION): 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 223, in get_endpoint 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors return self.session.get_endpoint(auth or self.auth, *kwargs) 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 942, in get_endpoint 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors return auth.get_endpoint(self, *kwargs) 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 379, in get_endpoint 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors allow_version_hack=allow_version_hack, *kwargs) 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 270, in get_endpoint_data 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors service_catalog = self.get_access(session).service_catalog 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors File "/usr/lib/python2.7/dist-packages/keystoneauth1/identity/base.py", line 134, in get_access 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors self.auth_ref = self.get_auth_ref(session) 2018-06-29 10:35:14.054 2631 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-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors self._plugin = self._do_create_plugin(session) 2018-06-29 10:35:14.054 2631 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-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors raise exceptions.DiscoveryFailure('Could not determine a suitable URL ' 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors DiscoveryFailure: Could not determine a suitable URL for the plugin 2018-06-29 10:35:14.054 2631 ERROR oslo_middleware.catch_errors 2018-06-29 10:35:14.056 2631 INFO neutron.wsgi [-] 192.168.2.116 "GET /v2.0/extensions HTTP/1.1" status: 500 len: 404 time: 0.0046458