Project

General

Profile

traceback.txt

Zackary Welch, 06/26/2018 03:56 PM

 
1
curl -L -i -X POST http://10.20.21.242/api/v2.0/vm/id/1/start -u root:abcd1234 -H "Content-Type: application/json" -d "{}"
2

    
3
HTTP/1.1 500 Internal Server Error
4
Server: nginx
5
Date: Tue, 26 Jun 2018 22:55:56 GMT
6
Content-Type: text/html; charset=utf-8
7
Content-Length: 2603
8
Connection: keep-alive
9

    
10
<h1>500 Internal Server Error</h1><br><h2>Traceback:</h2>
11
<pre>Traceback (most recent call last):
12
  File &quot;/usr/local/lib/python3.6/site-packages/aiohttp/web_protocol.py&quot;, line 381, in start
13
    resp = await self._request_handler(request)
14
  File &quot;/usr/local/lib/python3.6/asyncio/coroutines.py&quot;, line 110, in __next__
15
    return self.gen.send(None)
16
  File &quot;/usr/local/lib/python3.6/site-packages/aiohttp/web_app.py&quot;, line 322, in _handle
17
    resp = await handler(request)
18
  File &quot;/usr/local/lib/python3.6/asyncio/coroutines.py&quot;, line 110, in __next__
19
    return self.gen.send(None)
20
  File &quot;/usr/local/lib/python3.6/site-packages/aiohttp/web_middlewares.py&quot;, line 88, in impl
21
    return await handler(request)
22
  File &quot;/usr/local/lib/python3.6/asyncio/coroutines.py&quot;, line 110, in __next__
23
    return self.gen.send(None)
24
  File &quot;/usr/local/lib/python3.6/site-packages/aiohttp/web_middlewares.py&quot;, line 78, in impl
25
    return await handler(request)
26
  File &quot;/usr/local/lib/python3.6/asyncio/coroutines.py&quot;, line 110, in __next__
27
    return self.gen.send(None)
28
  File &quot;/usr/local/lib/python3.6/site-packages/middlewared/restful.py&quot;, line 379, in on_method
29
    return await do(method, req, resp, *args, **kwargs)
30
  File &quot;/usr/local/lib/python3.6/asyncio/coroutines.py&quot;, line 110, in __next__
31
    return self.gen.send(None)
32
  File &quot;/usr/local/lib/python3.6/site-packages/middlewared/restful.py&quot;, line 518, in do
33
    result = await self.middleware.call(methodname, *method_args)
34
  File &quot;/usr/local/lib/python3.6/asyncio/coroutines.py&quot;, line 110, in __next__
35
    return self.gen.send(None)
36
  File &quot;/usr/local/lib/python3.6/site-packages/middlewared/main.py&quot;, line 1017, in call
37
    return await self._call(name, serviceobj, methodobj, params, pipes=pipes, io_thread=True)
38
  File &quot;/usr/local/lib/python3.6/asyncio/coroutines.py&quot;, line 110, in __next__
39
    return self.gen.send(None)
40
  File &quot;/usr/local/lib/python3.6/site-packages/middlewared/main.py&quot;, line 953, in _call
41
    return await methodobj(*args)
42
  File &quot;/usr/local/lib/python3.6/asyncio/coroutines.py&quot;, line 110, in __next__
43
    return self.gen.send(None)
44
  File &quot;/usr/local/lib/python3.6/site-packages/middlewared/schema.py&quot;, line 657, in nf
45
    args, kwargs = clean_and_validate_args(args, kwargs)
46
  File &quot;/usr/local/lib/python3.6/site-packages/middlewared/schema.py&quot;, line 612, in clean_and_validate_args
47
    attr = nf.accepts[i]
48
IndexError: list index out of range
49
</pre>