[OpenStack-I18n] [Bug 1671138] Re: network related command returning SSL Error

KATO Tomoyuki kato.tomoyuki at jp.fujitsu.com
Wed Mar 8 23:46:21 UTC 2017


** Project changed: openstack-i18n => openstack-manuals

-- 
You received this bug notification because you are a member of OpenStack
I18n Core Team, which is subscribed to openstack i18n.
https://bugs.launchpad.net/bugs/1671138

Title:
  network related command returning SSL Error

Status in openstack-manuals:
  New

Bug description:
  I'm currently installing openstack following the tutorial for ocata on ubuntu-server.
  After installing and configuring neutron on the controller and the first compute-node, any command related to the network that I tried failed and returned an SSL Error.

  openstack extension list --network, openstack network list and openstack network agent list all return :
  'unicode' object has no attribute 'get'

  openstack extension list works fine, same for openstack
  user/service/project list

  This is the tail of /var/log/neutron/neutron-server.log

  2017-03-08 15:59:40.863 3366 INFO neutron.wsgi [-] 10.0.4.10 - - [08/Mar/2017 15:59:40] "GET / HTTP/1.1" 200 272 0.000515
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors [-] An error occurred during processing the request: GET /v2.0/agents HTTP/1.0
  Accept: application/json
  Accept-Encoding: gzip, deflate
  Connection: keep-alive
  Content-Type: text/plain
  Host: cloudcontroller:9696
  User-Agent: openstacksdk/0.9.13 keystoneauth1/2.18.0 python-requests/2.12.4 CPython/2.7.12
  X-Auth-Token: *****
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors Traceback (most recent call last):
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/oslo_middleware/catch_errors.py", line 41, in __call__
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     response = req.get_response(self.application)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1299, in send
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     application, catch_exc_info=False)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1263, in call_application
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     app_iter = application(self.environ, start_response)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     resp = self.call_func(req, *args, **self.kwargs)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     return self.func(req, *args, **kwargs)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 332, in __call__
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     response = self.process_request(req)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 623, in process_request
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     resp = super(AuthProtocol, self).process_request(request)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 405, in process_request
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     allow_expired=allow_expired)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 435, in _do_fetch_token
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     data = self.fetch_token(token, **kwargs)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/__init__.py", line 762, in fetch_token
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     allow_expired=allow_expired)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/_identity.py", line 217, in verify_token
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     auth_ref = self._request_strategy.verify_token(
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/_identity.py", line 168, in _request_strategy
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     strategy_class = self._get_strategy_class()
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/_identity.py", line 190, in _get_strategy_class
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     if self._adapter.get_endpoint(version=klass.AUTH_VERSION):
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystoneauth1/adapter.py", line 176, in get_endpoint
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     return self.session.get_endpoint(auth or self.auth, **kwargs)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 856, in get_endpoint
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     return auth.get_endpoint(self, **kwargs)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystonemiddleware/auth_token/_auth.py", line 118, in get_endpoint
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     authenticated=False)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     return wrapped(*args, **kwargs)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystoneauth1/discover.py", line 140, in __init__
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     authenticated=authenticated)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     return wrapped(*args, **kwargs)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystoneauth1/discover.py", line 40, in get_version_data
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     resp = session.get(url, headers=headers, authenticated=authenticated)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 758, in get
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     return self.request(url, 'GET', **kwargs)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     return wrapped(*args, **kwargs)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 616, in request
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     resp = send(**kwargs)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors   File "/usr/lib/python2.7/dist-packages/keystoneauth1/session.py", line 678, in _send_request
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors     raise exceptions.SSLError(msg)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors SSLError: SSL exception connecting to https://127.0.0.1:35357: ("bad handshake: Error([('SSL routines', 'SSL23_GET_SERVER_HELLO', 'unknown protocol')],)",)
  2017-03-08 15:59:40.875 3366 ERROR oslo_middleware.catch_errors 
  2017-03-08 15:59:40.876 3366 INFO neutron.wsgi [-] 10.0.4.10 - - [08/Mar/2017 15:59:40] "GET /v2.0/agents HTTP/1.1" 500 419 0.010823

To manage notifications about this bug go to:
https://bugs.launchpad.net/openstack-manuals/+bug/1671138/+subscriptions



More information about the OpenStack-I18n mailing list