Got "INTERNAL SERVER ERROR" when trying to create a cluster
10.10.1.2 - - [22/Apr/2013 17:32:27] "POST /v0.2/d44ee75e1
(30704) accepted ('10.10.1.2', 38939)
2013-04-22 17:35:07 ERROR [savanna.utils.api] Request aborted with status code 500 and message 'Error occurred during validation'
2013-04-22 17:35:07 ERROR [savanna.utils.api] Traceback (most recent call last):
File "/usr/local/
validate_
File "/usr/local/
jsonschema.
File "/usr/local/
cls.
File "/usr/local/
error.message, validator=
SchemaError: ['name', 'base_image_id', 'node_templates'] is not of type u'boolean'
The Request I sent was constructed using Python.
url = "http://
print "URL: %s" %url
req = urllib2.
req.
req.
req.
cluster_data = {"cluster": {
req.
r1 = urllib2.
data1 = json.loads(
The client side got the following error:
File "tools/
r1 = urllib2.
File "/usr/lib/
return _opener.open(url, data, timeout)
File "/usr/lib/
response = meth(req, response)
File "/usr/lib/
'http', request, response, code, msg, hdrs)
File "/usr/lib/
return self._call_
File "/usr/lib/
result = func(*args)
File "/usr/lib/
raise HTTPError(
urllib2.HTTPError: HTTP Error 500: INTERNAL SERVER ERROR
Any hints?
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Sahara Edit question
- Assignee:
- Sergey Lukjanov Edit question
- Last query:
- Last reply: