Re: Can't delete objects from Riak KV

2016-04-15 Thread Luke Bakken
Hi everyone - I'm following up on the solution. The biggest hint were Erlang RPC errors when commands such as "riak-admin" were run. It turned out that removing the ring files in /var/lib/riak/ring and restarting this node (single node test cluster) resolved the issue. -- Luke Bakken Engineer lba

Re: Can't delete objects from Riak KV

2016-04-14 Thread Luke Bakken
Hi Alex - Can you ensure that the node name in riak.conf matches the IP address of your machine and also is the same IP in the "RPC to 'r...@xx.xx.xx.xx' failed:" message? Is there a chance that this machine had a different IP address the first time you started Riak on it? -- Luke Bakken Engineer

Re: Can't delete objects from Riak KV

2016-04-14 Thread Alex Moore
Hi Alex, It looks like Riak couldn't find the objected to delete (404), but ran into an issue generating the 404 response. Could you send the output from `riak-debug` to either Luke or myself? Thanks, Alex On Thu, Apr 14, 2016 at 10:07 AM, Alex De la rosa wrote: > I seem to be having this err

Re: Can't delete objects from Riak KV

2016-04-14 Thread Alex De la rosa
I only have 1 node, is for testing purposes. riak-admin security status RPC to 'r...@xx.xx.xx.xx' failed: {'EXIT', {undef, [{riak_core_console,security_status, [[]],

Re: Can't delete objects from Riak KV

2016-04-14 Thread Luke Bakken
Just to be sure, could you run this command on all nodes to ensure security is disabled? riak-admin security status -- Luke Bakken Engineer lbak...@basho.com On Thu, Apr 14, 2016 at 7:07 AM, Alex De la rosa wrote: > I seem to be having this error messages on the log, any ideas? > > 2016-04-14 1

Re: Can't delete objects from Riak KV

2016-04-14 Thread Alex De la rosa
I seem to be having this error messages on the log, any ideas? 2016-04-14 16:03:00.460 [error] <0.5460.8143> CRASH REPORT Process <0.5460.8143> with 0 neighbours crashed with reason: call to undefined function webmachine_error_handler:render_error(404, {webmachine_request,{wm_reqstate,#Port<0.1475

Re: Can't delete objects from Riak KV

2016-04-14 Thread Luke Bakken
Hi Alex, Thanks for running that. This proves that it is not a Python client issue. You can see the transcript of storing, fetching and deleting an object successfully here: https://gist.github.com/lukebakken/f1f3cbc96c2762eabb2f124b42797fda At this point, I suggest checking the error.log files o

Re: Can't delete objects from Riak KV

2016-04-14 Thread Alex De la rosa
Hi Luke, I tried and get this and didn't work: ~ # curl -4vvv -XDELETE http://xx.xx.xx.xx:8098/buckets/test/keys/something * Hostname was NOT found in DNS cache * Trying xx.xx.xx.xx... * Connected to xx.xx.xx.xx (xx.xx.xx.xx) port 8098 (#0) > DELETE /buckets/test/keys/something HTTP/1.1 > User-A

Re: Can't delete objects from Riak KV

2016-04-14 Thread Luke Bakken
Hi Alex, Can you use the HTTP API to delete an object? Something like: curl -4vvv -XDELETE riak-host:8098/buckets/test/keys/something -- Luke Bakken Engineer lbak...@basho.com On Thu, Apr 14, 2016 at 2:05 AM, Alex De la rosa wrote: > I upgraded the Python library to the latest and is still fa

Re: Can't delete objects from Riak KV

2016-04-14 Thread Alex De la rosa
I can try that, but I would like to do it via the python client itself... Thanks, Rohman On Thu, Apr 14, 2016 at 5:47 PM, Luke Bakken wrote: > Hi Alex, > > Can you use the HTTP API to delete an object? Something like: > > curl -4vvv -XDELETE riak-host:8098/buckets/test/keys/something > > -- > L

Re: Can't delete objects from Riak KV

2016-04-14 Thread Alex De la rosa
I upgraded the Python library to the latest and is still failing... I'm unable to delete any objects at all. ~ # pip show riak --- Name: riak Version: 2.4.2 Location: /usr/local/lib/python2.7/dist-packages Requires: six, pyOpenSSL, protobuf Everything else seems fine, just timeouts when deleting

Can't delete objects from Riak KV

2016-04-13 Thread Alex De la rosa
Hi there, I'm trying to delete objects from riak with the python library and is timing out, any ideas? (this example is from a simple object, but also have issues with bucket types with map objects, etc...)... Just I seem to unable to delete anything, just times out. *>>>