Hi I'm new to riak and when i trying object storage with riak cs, i got some problems. i setup riak kv ,stanchion and riak cs in the same node,and configured them as files here: http://docs.basho.com/riak/kv/2.2.0/configuring/ http://docs.basho.com/riak/cs/2.1.1/cookbooks/configuration/ and i started all of them successfully.but i still met some problems: 1, as all these three are cloned from github and compiled, and versions are: riak kv ——2.0.7 riak cs ——2.1.0 but after compiling ,i met cs_version = 10300 in riak-cs.conf (by default), i was confused ,so i try riak@riak3:~/riak-cs-2.1.0/rel/riak-cs/bin$ ./riak-cs version but got nothing, the same situation with riak kv and stanchion,got nothing too, i was confused ,can someone tell me does this version configuration important? do i need to configured this? and how to do it ?
2, i successfully create an account for the admin user, but after i successfully performanced several tests, and tried to create a nother account with this : curl -H 'Content-Type: application/json' \ -XPOST http://127.0.0.1:8080/riak-cs/user \ --data '{"email":"us...@example.com", "name":"user1"}' but failed and got this : curl: (52) Empty reply from server so why is this and can i and how can i create user accounts after performance test ? 3, the last and the most important one. about riak cs's storage backend configuration. my riak kv, stanchion and riak cs path are : /home/riak/riak-2.0.7/rel/riak/bin/riak /home/riak/stanchion/rel/stanchion/bin/stanchion /home/riak/riak-cs-2.1.0/rel/riak-cs/bin/riak-cs and with advance.conf like this: [ {riak_cs, [ ]}, {eleveldb, [ {total_leveldb_mem_percent, 30} ]}, {riak_kv, [ {add_paths, ["/home/riak/riak-cs-2.1.0/rel/riak-cs/lib/riak_cs-2.1.0/ebin"]}, {storage_backend, riak_cs_kv_multi_backend}, {multi_backend_prefix_list, [{<<"0b:">>, be_blocks}]}, {multi_backend_default, be_default}, {multi_backend, [ {be_default, riak_kv_eleveldb_backend, [ {total_leveldb_mem_percent, 30}, {data_root, "/home/riak/riak-2.0.7/rel/riak/data/leveldb"} ]}, {be_blocks, riak_kv_bitcask_backend, [ {data_root, "/home/riak/riak-2.0.7/rel/riak/data/bitcask"} ]} ]} ]}, {ssl, [ {certfile, "./etc/cert.pem"}, {keyfile, "./etc/key.pem"}, {cacertfile, "./etc/cacert.pem"} ]} %% Other configs my tests works well. but when i try to change the data_root in the advance.conf to another directory like this: ... {data_root, "/mnt/sd8"} ... {data_root, "/mnt/sd8"} ... then i started to performance testing, and failed,below is the message: File "test8-2.py", line 16, in <module> bucket = conn.create_bucket('test4') File "/usr/local/lib/python2.7/dist-packages/boto/s3/connection.py", line 625, in create_bucket response.status, response.reason, body) boto.exception.S3ResponseError: S3ResponseError: 403 Forbidden <?xml version="1.0" encoding="UTF-8"?><Error><Code>AccessDenied</Code><Message>Access Denied</Message><Resource>/test4/</Resource><RequestId></RequestId></Error> can anyone tell me how to fix this error? and how to specify my riak cs's data_root to a special data directory? and my scenario like this: #/usr/bin/env python #coding=utf-8 import time import os import boto import boto.s3.connection access_key = 'admin.key' secret_key = 'admin.secret' conn = boto.connect_s3( aws_access_key_id = access_key, aws_secret_access_key = secret_key, host = '127.0.0.1', port = 8080, ##is_secure=True, calling_format = boto.s3.connection.OrdinaryCallingFormat(), ) bucket = conn.create_bucket('test4') ... these problems troubled me about two weeks, so i'm very look forward tha someone can help me...plz... Best Regards! Neo -- View this message in context: http://riak-users.197444.n3.nabble.com/S3ResponseError-403-Forbidden-backend-configuration-and-riak-cs-version-tp4034722.html Sent from the Riak Users mailing list archive at Nabble.com. _______________________________________________ riak-users mailing list riak-users@lists.basho.com http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com