Comment 2 for bug 1175683

Revision history for this message
Phil Nelson (philnel) wrote :

This is the request body used for the failed create server request which resulted in the 500 return code. Just to reaffirm, we did get this create to work by adding the square brackets around the value for the "networks" parameter.

{
  server:{
    'flavor' : {'ram' : 400, 'vcpus' : 1, 'disk': 40},
    'imageRef' : 'http://<ip_addr>:8774/v2/abbdb2578dc34c8ba4e690310a29ca70/images/054c7a66-66ea-496c-8000-a5f654357969',
    'networkRef' : '124af605-b346-43d2-b4f6-316d9f83aee9',
    'networks' : {'fixed_ip' : '192.168.1.250', 'uuid' : '124af605-b346-43d2-b4f6-316d9f83aee9'},
    'name' : test_server',
    'description' : 'test server',
    'availability_zone' : 'nova'
  }
}