Skip to content

Instantly share code, notes, and snippets.

@fnaval
Last active May 9, 2016 22:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save fnaval/bfcd8be0773098b2fec1acf02fb95bc4 to your computer and use it in GitHub Desktop.
Save fnaval/bfcd8be0773098b2fec1acf02fb95bc4 to your computer and use it in GitHub Desktop.
session persistence to NONE
Captured traceback:
~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/opt/stack/neutron-lbaas/.tox/scenario/local/lib/python2.7/site-packages/tempest/test.py", line 113, in wrapper
return f(self, *func_args, **func_kwargs)
File "neutron_lbaas/tests/tempest/v2/scenario/test_session_persistence.py", line 54, in test_session_persistence
self._update_pool_session_persistence()
File "neutron_lbaas/tests/tempest/v2/scenario/base.py", line 577, in _update_pool_session_persistence
self.pools_client.update_pool(self.pool['id'], **update_data)
File "neutron_lbaas/tests/tempest/v2/clients/pools_client.py", line 59, in update_pool
resp, body = self.put(url, post_body)
File "/opt/stack/neutron-lbaas/.tox/scenario/local/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 322, in put
return self.request('PUT', url, extra_headers, headers, body)
File "/opt/stack/neutron-lbaas/.tox/scenario/local/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 642, in request
resp, resp_body)
File "/opt/stack/neutron-lbaas/.tox/scenario/local/lib/python2.7/site-packages/tempest/lib/common/rest_client.py", line 700, in _error_checker
raise exceptions.BadRequest(resp_body, resp=resp)
tempest.lib.exceptions.BadRequest: Bad request
Details: {u'detail': u'', u'message': u"Invalid input for session_persistence. Reason: 'None' is not in ('SOURCE_IP', 'HTTP_COOKIE', 'APP_COOKIE').", u'type': u'HTTPBadRequest'}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment