2014-01-08 13:16:15 |
Ionuț Arțăriși |
bug |
|
|
added bug |
2014-01-08 13:21:31 |
Ionuț Arțăriși |
description |
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. |
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 trove-api service has this to say:
{"instance": {"flavorRef": "1", "name": "fu"}} authorize /usr/lib/python2.7/site-packages/trove/common/auth.py:66
2014-01-08 14:15:01.554 5717 DEBUG routes.middleware [-] No route matched for POST /0eae85e31bff4bc7bc3c20e695ebd4f3/instances __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:97
2014-01-08 14:15:01.555 5717 DEBUG routes.middleware [-] Matched POST /0eae85e31bff4bc7bc3c20e695ebd4f3/instances __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:100
2014-01-08 14:15:01.555 5717 DEBUG routes.middleware [-] Route path: '/{tenant_id}/instances', defaults: {'action': u'create', 'controller': <trove.common.wsgi.Resource object at 0x2e0d790>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:102
2014-01-08 14:15:01.555 5717 DEBUG routes.middleware [-] Match dict: {'action': u'create', 'tenant_id': u'0eae85e31bff4bc7bc3c20e695ebd4f3', 'controller': <trove.common.wsgi.Resource object at 0x2e0d790>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:103
2014-01-08 14:15:01.556 5717 DEBUG trove.common.wsgi [-] Getting schema for type:create get_schema /usr/lib/python2.7/site-packages/trove/common/wsgi.py:434
2014-01-08 14:15:01.556 5717 DEBUG trove.common.wsgi [-] Found Schema: none get_schema /usr/lib/python2.7/site-packages/trove/common/wsgi.py:439
2014-01-08 14:15:01.558 5717 INFO trove.common.wsgi [-] Validation error: instance 'volume' is a required property
2014-01-08 14:15:01.558 5717 DEBUG trove.common.wsgi [-] Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/trove/common/wsgi.py", line 319, in execute_action
self.controller.validate_request(action, action_args)
File "/usr/lib/python2.7/site-packages/trove/common/wsgi.py", line 466, in validate_request
raise exception.BadRequest(message=error_msg)
BadRequest: Validation error: instance 'volume' is a required property
execute_action /usr/lib/python2.7/site-packages/trove/common/wsgi.py:329
2014-01-08 14:15:01.558 5717 DEBUG trove.common.wsgi [-] Caught Trove Error Validation error: instance 'volume' is a required property execute_action /usr/lib/python2.7/site-packages/trove/common/wsgi.py:330
2014-01-08 14:15:01.558 5717 DEBUG trove.common.wsgi [-] Mapped Error to <class 'webob.exc.HTTPBadRequest'> execute_action /usr/lib/python2.7/site-packages/trove/common/wsgi.py:332
The help doesn't mention the volume property and I have no idea what that is. |
|
2014-01-08 13:21:49 |
Ionuț Arțăriși |
description |
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 trove-api service has this to say:
{"instance": {"flavorRef": "1", "name": "fu"}} authorize /usr/lib/python2.7/site-packages/trove/common/auth.py:66
2014-01-08 14:15:01.554 5717 DEBUG routes.middleware [-] No route matched for POST /0eae85e31bff4bc7bc3c20e695ebd4f3/instances __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:97
2014-01-08 14:15:01.555 5717 DEBUG routes.middleware [-] Matched POST /0eae85e31bff4bc7bc3c20e695ebd4f3/instances __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:100
2014-01-08 14:15:01.555 5717 DEBUG routes.middleware [-] Route path: '/{tenant_id}/instances', defaults: {'action': u'create', 'controller': <trove.common.wsgi.Resource object at 0x2e0d790>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:102
2014-01-08 14:15:01.555 5717 DEBUG routes.middleware [-] Match dict: {'action': u'create', 'tenant_id': u'0eae85e31bff4bc7bc3c20e695ebd4f3', 'controller': <trove.common.wsgi.Resource object at 0x2e0d790>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:103
2014-01-08 14:15:01.556 5717 DEBUG trove.common.wsgi [-] Getting schema for type:create get_schema /usr/lib/python2.7/site-packages/trove/common/wsgi.py:434
2014-01-08 14:15:01.556 5717 DEBUG trove.common.wsgi [-] Found Schema: none get_schema /usr/lib/python2.7/site-packages/trove/common/wsgi.py:439
2014-01-08 14:15:01.558 5717 INFO trove.common.wsgi [-] Validation error: instance 'volume' is a required property
2014-01-08 14:15:01.558 5717 DEBUG trove.common.wsgi [-] Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/trove/common/wsgi.py", line 319, in execute_action
self.controller.validate_request(action, action_args)
File "/usr/lib/python2.7/site-packages/trove/common/wsgi.py", line 466, in validate_request
raise exception.BadRequest(message=error_msg)
BadRequest: Validation error: instance 'volume' is a required property
execute_action /usr/lib/python2.7/site-packages/trove/common/wsgi.py:329
2014-01-08 14:15:01.558 5717 DEBUG trove.common.wsgi [-] Caught Trove Error Validation error: instance 'volume' is a required property execute_action /usr/lib/python2.7/site-packages/trove/common/wsgi.py:330
2014-01-08 14:15:01.558 5717 DEBUG trove.common.wsgi [-] Mapped Error to <class 'webob.exc.HTTPBadRequest'> execute_action /usr/lib/python2.7/site-packages/trove/common/wsgi.py:332
The help doesn't mention the volume property and I have no idea what that is. |
I get this error when trying to create an instance with:
$ trove create fu 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 trove-api service has this to say:
{"instance": {"flavorRef": "1", "name": "fu"}} authorize /usr/lib/python2.7/site-packages/trove/common/auth.py:66
2014-01-08 14:15:01.554 5717 DEBUG routes.middleware [-] No route matched for POST /0eae85e31bff4bc7bc3c20e695ebd4f3/instances __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:97
2014-01-08 14:15:01.555 5717 DEBUG routes.middleware [-] Matched POST /0eae85e31bff4bc7bc3c20e695ebd4f3/instances __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:100
2014-01-08 14:15:01.555 5717 DEBUG routes.middleware [-] Route path: '/{tenant_id}/instances', defaults: {'action': u'create', 'controller': <trove.common.wsgi.Resource object at 0x2e0d790>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:102
2014-01-08 14:15:01.555 5717 DEBUG routes.middleware [-] Match dict: {'action': u'create', 'tenant_id': u'0eae85e31bff4bc7bc3c20e695ebd4f3', 'controller': <trove.common.wsgi.Resource object at 0x2e0d790>} __call__ /usr/lib/python2.7/site-packages/routes/middleware.py:103
2014-01-08 14:15:01.556 5717 DEBUG trove.common.wsgi [-] Getting schema for type:create get_schema /usr/lib/python2.7/site-packages/trove/common/wsgi.py:434
2014-01-08 14:15:01.556 5717 DEBUG trove.common.wsgi [-] Found Schema: none get_schema /usr/lib/python2.7/site-packages/trove/common/wsgi.py:439
2014-01-08 14:15:01.558 5717 INFO trove.common.wsgi [-] Validation error: instance 'volume' is a required property
2014-01-08 14:15:01.558 5717 DEBUG trove.common.wsgi [-] Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/trove/common/wsgi.py", line 319, in execute_action
self.controller.validate_request(action, action_args)
File "/usr/lib/python2.7/site-packages/trove/common/wsgi.py", line 466, in validate_request
raise exception.BadRequest(message=error_msg)
BadRequest: Validation error: instance 'volume' is a required property
execute_action /usr/lib/python2.7/site-packages/trove/common/wsgi.py:329
2014-01-08 14:15:01.558 5717 DEBUG trove.common.wsgi [-] Caught Trove Error Validation error: instance 'volume' is a required property execute_action /usr/lib/python2.7/site-packages/trove/common/wsgi.py:330
2014-01-08 14:15:01.558 5717 DEBUG trove.common.wsgi [-] Mapped Error to <class 'webob.exc.HTTPBadRequest'> execute_action /usr/lib/python2.7/site-packages/trove/common/wsgi.py:332
The help doesn't mention the volume property and I have no idea what that is. |
|
2014-01-12 23:24:40 |
Auston McReynolds |
python-troveclient: assignee |
|
Auston McReynolds (amcrn) |
|
2014-01-13 06:59:06 |
Auston McReynolds |
python-troveclient: assignee |
Auston McReynolds (amcrn) |
|
|
2014-01-13 06:59:37 |
Auston McReynolds |
python-troveclient: status |
New |
In Progress |
|
2014-05-14 07:10:57 |
Ramesh Sahu |
bug |
|
|
added subscriber Ramesh Sahu |
2014-05-23 00:12:04 |
Nikhil Manchanda |
python-troveclient: importance |
Undecided |
Low |
|
2014-05-23 00:12:42 |
Nikhil Manchanda |
python-troveclient: status |
In Progress |
Triaged |
|
2014-07-15 22:42:55 |
mariam john |
python-troveclient: assignee |
|
mariam john (mariamj) |
|
2014-10-10 00:51:54 |
Martin Paulo |
bug |
|
|
added subscriber Martin Paulo |