Riak CS - Unable to create/view bucket details using dragon disk

Johan Sommerfeld johan at s2hc.se
Thu Oct 1 04:42:33 EDT 2015

Haven't used S3 or Dragon disk, but looking at the python stacktrace
and the code at github suggests some things.

First the actuall from riak is caught correctly:

    File "/usr/share/s3cmd/S3/S3.py", line 624, in send_request
        raise S3Error(response)

and its later when it tries to parse the response data as xml that the
exception that is not handled gets thrown.

Looking at the code that raises the S3 exception

    623: if response["status"] < 200 or response["status"] > 299:
    624:     raise S3Error(response)

The code above is also checking for status codes `response["status"]
== 307` and `response["status"] >= 500` so it's not any of those

Basically there is 2 errors, first the command that you do to riak cs
fails, but then S3.py failse to parse an show you the error message.

I would edit `/usr/share/s3cmd/S3/S3.py` and add a `print
response.__dict__` or something so that you get to see the response
from riak cs.


On 1 October 2015 at 08:33, G <m.gnanendra at yahoo.co.in> wrote:
> Dragon disk version - 1.05
> S3cmd - 1.1.0-beta3
> I think dragon disk is using HTTP to get the data.. Once I add the Riak
> account in dragon disk below is the output from dragon disk. It is able to
> issue GET request to riak, but no reply from riak.
> <http://riak-users.197444.n3.nabble.com/file/n4033505/Capture.png>
> I have attached image from wireshark and packet capture to this thread.
> Please check and let me know if I'm doing some thing wrong.
> --
> View this message in context: http://riak-users.197444.n3.nabble.com/Riak-CS-Unable-to-create-view-bucket-details-using-dragon-disk-tp4033494p4033505.html
> Sent from the Riak Users mailing list archive at Nabble.com.
> _______________________________________________
> riak-users mailing list
> riak-users at lists.basho.com
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Johan Sommerfeld
tel: +46 (0) 70 769 15 73
S2HC Sweden AB
Litsbyvägen 56
187 46 Täby

More information about the riak-users mailing list