syndicate-storage / syndicate

Internet-scale software-defined storage system
Apache License 2.0
56 stars 10 forks source link

BadValueError while registering new Volume in MS #13

Closed iychoi closed 11 years ago

iychoi commented 11 years ago

I got an error while registering new volume in MS. (https://syndicate-metadata.appspot.com/)

I selected 1MB as a block size, and I guess the value of this parameter is not an integer type.

Here's error log

BadValueError at /syn/volume/createvolume Expected integer, got u'1024'

Request Method: POST

Request URL: https://syndicate-metadata.appspot.com/syn/volume/createvolume

Django Version: 1.4.3

Exception Type: BadValueError

Exception Value: Expected integer, got u'1024'

Exception Location: /python27_runtime/python27_lib/versions/1/google/appengine/ext/ndb/model.py in _validate, line 1458

Python Executable: /python27_runtime/python27_dist/python

Python Version: 2.7.3

Python Path: ['/base/data/home/apps/s~syndicate-metadata/1.368484306485745478', '/python27_runtime/python27_dist/lib/python27.zip', '/python27_runtime/python27_dist/lib/python2.7', '/python27_runtime/python27_dist/lib/python2.7/plat-linux2', '/python27_runtime/python27_dist/lib/python2.7/lib-tk', '/python27_runtime/python27_dist/lib/python2.7/lib-old', '/python27_runtime/python27_dist/lib/python2.7/lib-dynload', '/python27_runtime/python27_dist/lib/python2.7/site-packages', '/python27_runtime/python27_lib/versions/1', '/python27_runtime/python27_lib/versions/third_party/django-1.4', '/python27_runtime/python27_lib/versions/third_party/lxml-2.3', '/python27_runtime/python27_lib/versions/third_party/pycrypto-2.6', '/python27_runtime/python27_lib/versions/third_party/webapp2-2.5.2', '/python27_runtime/python27_lib/versions/third_party/webob-1.1.1', '/python27_runtime/python27_lib/versions/third_party/yaml-3.10']

Server time: Tue, 2 Jul 2013 03:51:36 +0000

iychoi commented 11 years ago

Seems the error is fixed in the latest version.

johnwhelchel commented 11 years ago

This is fixed! Will push when finished with #14. Thanks!