Skip to content

Instantly share code, notes, and snippets.

@jtaleric
Created March 5, 2015 21:43
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 jtaleric/dfede38fb32f561ae79f to your computer and use it in GitHub Desktop.
Save jtaleric/dfede38fb32f561ae79f to your computer and use it in GitHub Desktop.
"atomic_actions": {
"nova.boot_server": null
},
"duration": 30.631841897964478,
"error": [
"ConnectionError",
"HTTPConnectionPool(host='20.0.0.39', port=8774): Max retries exceeded with url: /v2/c3bce63cba464ed09a87e15998d1157c/servers (Caused by <class 'httplib.BadStatusLine'>: '')",
"Traceback (most recent call last):\n File \"/usr/lib/python2.7/site-packages/rally/benchmark/runners/base.py\", line 78, in _run_scenario_once\n method_name)(**kwargs) or scenario_output\n File \"/usr/lib/python2.7/site-packages/rally/benchmark/scenarios/vm/vmtasks.py\", line 88, in boot_runcommand_delete\n **kwargs)\n File \"/usr/lib/python2.7/site-packages/rally/benchmark/scenarios/base.py\", line 254, in func_atomic_actions\n f = func(self, *args, **kwargs)\n File \"/usr/lib/python2.7/site-packages/rally/benchmark/scenarios/nova/utils.py\", line 119, in _boot_server\n server_name, image_id, flavor_id, **kwargs)\n File \"/usr/lib/python2.7/site-packages/novaclient/v1_1/servers.py\", line 902, in create\n **boot_kwargs)\n File \"/usr/lib/python2.7/site-packages/novaclient/v1_1/servers.py\", line 554, in _boot\n return_raw=return_raw, **kwargs)\n File \"/usr/lib/python2.7/site-packages/novaclient/base.py\", line 100, in _create\n _resp, body = self.api.client.post(url, body=body)\n File \"/usr/lib/python2.7/site-packages/novaclient/client.py\", line 490, in post\n return self._cs_request(url, 'POST', **kwargs)\n File \"/usr/lib/python2.7/site-packages/novaclient/client.py\", line 465, in _cs_request\n resp, body = self._time_request(url, method, **kwargs)\n File \"/usr/lib/python2.7/site-packages/novaclient/client.py\", line 439, in _time_request\n resp, body = self.request(url, method, **kwargs)\n File \"/usr/lib/python2.7/site-packages/novaclient/client.py\", line 410, in request\n **kwargs)\n File \"/usr/lib/python2.7/site-packages/requests/api.py\", line 44, in request\n return session.request(method=method, url=url, **kwargs)\n File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 456, in request\n resp = self.send(prep, **send_kwargs)\n File \"/usr/lib/python2.7/site-packages/requests/sessions.py\", line 559, in send\n r = adapter.send(request, **kwargs)\n File \"/usr/lib/python2.7/site-packages/requests/adapters.py\", line 375, in send\n raise ConnectionError(e, request=request)\nConnectionError: HTTPConnectionPool(host='20.0.0.39', port=8774): Max retries exceeded with url: /v2/c3bce63cba464ed09a87e15998d1157c/servers (Caused by <class 'httplib.BadStatusLine'>: '')\n"
],
"idle_duration": 0,
"scenario_output": {
"data": {},
"errors": ""
},
"timestamp": 1425588909.731724
},
{
"atomic_actions": {
"nova.boot_server": 39.27176213264465,
"nova.delete_server": 2.406655788421631,
"vm.run_command": 2.0951149463653564,
"vm.wait_for_ssh": 25.049857139587402
},
"duration": 68.93834710121155,
"error": [],
"idle_duration": 0,
"scenario_output": {
"data": {
"nover": 1
},
"errors": ""
},
"timestamp": 1425588909.732462
}
],
"sla": []
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment