s3cmdでThe unspecified location constraint is incompatible for the region specific endpoint this request was sent to.

AWS s3にファイル保存しよーと、s3cmdで無意識にbucket作ったら、ヤダーus-standard regionにつくられてるじゃないですかー。で、なんか調べたら~/.s3cnfに

bucket_location = ap-northeast-1
host_base = s3-ap-northeast-1.amazonaws.com
host_bucket = %(bucket)s.s3-ap-northeast-1.amazonaws.com
simpledb_host = sdb.ap-northeast-1.amazonaws.com

こうらしいが、インストールされたs3cmdのバージョンが0.9.9のせいかエラーがでた。

The unspecified location constraint is incompatible for the region specific endpoint this request was sent to.

解決策はs3cmdのバージョンを1.5にあげるため、こう

# yum --enablerepo epel-testing install s3cmd

testingですか。。。