Skip to content

Instantly share code, notes, and snippets.

@fnaval
Created May 9, 2016 23:18
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/1f526c584be70abd77c1f3dd5dcb9d7d to your computer and use it in GitHub Desktop.
Save fnaval/1f526c584be70abd77c1f3dd5dcb9d7d to your computer and use it in GitHub Desktop.
session persistence request response
2016-05-09 22:58:02,240 12573 INFO [tempest.lib.common.rest_client] Request (TestSessionPersistence:test_session_persistence): 400 PUT http://127.0.0.1:9696/v2.0/lbaas/pools/aeefced4-5617-45ea-a8f7-406d6abc2163 0.009s
2016-05-09 22:58:02,241 12573 DEBUG [tempest.lib.common.rest_client] Request - Headers: {'Content-Type': 'application/json', 'Accept': 'application/json', 'X-Auth-Token': '<omitted>'}
Body: {"pool": {"session_persistence": {"type": null}}}
Response - Headers: {'connection': 'close', 'content-type': 'application/json; charset=UTF-8', 'x-openstack-request-id': 'req-272bde26-88b3-4a43-b800-86a940275890', 'date': 'Mon, 09 May 2016 22:58:02 GMT', 'status': '400', 'content-length': '180'}
Body: {"NeutronError": {"message": "Invalid input for session_persistence. Reason: 'None' is not in ('SOURCE_IP', 'HTTP_COOKIE', 'APP_COOKIE').", "type": "HTTPBadRequest", "detail": ""}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment