Comment 4 for bug 907450

Revision history for this message
Harold Spencer Jr. (harold-spencer-jr) wrote :

Checking out the txaws-list-buckets command, I was able to narrow down where the issue may lie. It seems that txaws is expecting some additional information for the S3 URL. I used the python debugger to step through txaws-list-buckets and I was able to rule out the "/" issue.

Also, because of this error, nothing is ever sent to the wire. The communication is dead before hitting the Walrus component.

Version:

# txaws-list-buckets --version
txAWS 0.0.1

Test Command:

# txaws-list-buckets -a <access-key> -s <secret-key> -U 192.168.2.75:8773/services/Walrus
> /usr/bin/txaws-list-buckets(35)<module>()
-> region = AWSServiceRegion(
(Pdb) next
> /usr/bin/txaws-list-buckets(36)<module>()
-> creds=creds, region=options.region, s3_endpoint=options.url)
(Pdb) print options.url
192.168.2.75:8773/services/Walrus
(Pdb) next
TypeError: "__init__() got an unexpected keyword argument 's3_endpoint'"
> /usr/bin/txaws-list-buckets(36)<module>()
-> creds=creds, region=options.region, s3_endpoint=options.url)

## Without "/"

# txaws-list-buckets -a <access-key> -s <secret-key> -U 192.168.2.75:8773
> /usr/bin/txaws-list-buckets(35)<module>()
-> region = AWSServiceRegion(
(Pdb) next
> /usr/bin/txaws-list-buckets(36)<module>()
-> creds=creds, region=options.region, s3_endpoint=options.url)
(Pdb) print options.url
192.168.2.75:8773
(Pdb) next
TypeError: "__init__() got an unexpected keyword argument 's3_endpoint'"
> /usr/bin/txaws-list-buckets(36)<module>()
-> creds=creds, region=options.region, s3_endpoint=options.url)

Hope this helps.

Harold Spencer Jr.
Support Engineer
Eucalyptus Systems, Inc.