← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1642204] Re: [stable/newton] Getting keystone connection error on neutron port creation with 100 concurrency

 

Removing neutron since this appears to be a concurrency setting issue
with keystone.

** No longer affects: neutron

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1642204

Title:
  [stable/newton] Getting keystone connection error on neutron port
  creation with 100 concurrency

Status in OpenStack Identity (keystone):
  Incomplete

Bug description:
  [stable/newton] Getting keystone connection error on neutron port
  creation with 100 concurrency

  With stable/newton,executed below scenario with 100 concurrency and
  500 iterations:

   -Create network, subnet
   -Create port (device_owner->compute:None)

  For about 61 iterations, the rally scenario is failing with below
  error

  "ConnectFailure: Unable to establish connection to
  http://172.17.2.167/identity_v2_admin/v2.0/tokens: ('Connection
  aborted.', BadStatusLine("''",))"

  Rally Logs:

  Traceback (most recent call last):
    File "/usr/local/lib/python2.7/dist-packages/rally/task/runner.py", line 68, in _run_scenario_once
      getattr(scenario_inst, method_name)(**scenario_kwargs)
    File "/usr/local/lib/python2.7/dist-packages/rally/plugins/openstack/scenarios/neutron/network.py", line 431, in create_and_delete_ports_with_subnet
      port = self._create_port(network, port_create_args or {})
    File "/usr/local/lib/python2.7/dist-packages/rally/task/atomic.py", line 84, in func_atomic_actions
      f = func(self, *args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/rally/plugins/openstack/scenarios/neutron/utils.py", line 211, in _create_port
      return self.clients("neutron").create_port({"port": port_create_args})
    File "/usr/local/lib/python2.7/dist-packages/rally/plugins/openstack/scenario.py", line 71, in clients
      return client(version) if version is not None else client()
    File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 242, in __call__
      self.cache[key] = self.create_client(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 352, in create_client
      kc = self.keystone()
    File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 149, in keystone
      return keystone(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 242, in __call__
      self.cache[key] = self.create_client(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/rally/osclients.py", line 301, in create_client
      auth_ref = plugin.get_access(sess)
    File "/usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/base.py", line 254, in get_access
      self.auth_ref = self.get_auth_ref(session)
    File "/usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/generic/base.py", line 186, in get_auth_ref
      return self._plugin.get_auth_ref(session, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/keystoneclient/auth/identity/v2.py", line 89, in get_auth_ref
      authenticated=False, log=False)
    File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 718, in post
      return self.request(url, 'POST', **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/positional/__init__.py", line 101, in inner
      return wrapped(*args, **kwargs)
    File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 592, in request
      resp = send(**kwargs)
    File "/usr/local/lib/python2.7/dist-packages/keystoneauth1/session.py", line 642, in _send_request
      raise exceptions.ConnectFailure(msg)
  ConnectFailure: Unable to establish connection to http://172.17.2.167/identity_v2_admin/v2.0/tokens: ('Connection aborted.', BadStatusLine("''",))

  Please fix it.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1642204/+subscriptions


References