Comment 0 for bug 1267104

Revision history for this message
Ionuț Arțăriși (mapleoin) wrote :

I get this error when trying to create an instance with:
$ trove create newinstance 1

DEBUG (shell:660) Validation error: instance 'volume' is a required property (HTTP 400)
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/troveclient/shell.py", line 655, in main
    sys.argv[1:]))
  File "/usr/lib/python2.7/site-packages/troveclient/shell.py", line 494, in main
    args.func(self.cs, args)
  File "/usr/lib/python2.7/site-packages/troveclient/v1/shell.py", line 186, in do_create
    datastore_version=args.datastore_version)
  File "/usr/lib/python2.7/site-packages/troveclient/v1/instances.py", line 86, in create
    return self._create("/instances", body, "instance")
  File "/usr/lib/python2.7/site-packages/troveclient/base.py", line 155, in _create
    resp, body = self.api.client.post(url, body=body)
  File "/usr/lib/python2.7/site-packages/troveclient/client.py", line 211, in post
    return self._cs_request(url, 'POST', **kwargs)
  File "/usr/lib/python2.7/site-packages/troveclient/client.py", line 175, in _cs_request
    **kwargs)
  File "/usr/lib/python2.7/site-packages/troveclient/client.py", line 158, in request
    raise exceptions.from_response(resp, body, url)
BadRequest: Validation error: instance 'volume' is a required property (HTTP 400)
ERROR: Validation error: instance 'volume' is a required property

The help doesn't mention the volume property and I have no idea what that is.