Home > The Specified > The Specified Location-constraint Is Not Valid

The Specified Location-constraint Is Not Valid

Contents

Reload to refresh your session. Is this a bug or a feature (http://i.imgur.com/scgfaiA.jpg )? Python 2.7.6. It also knows how to map US to > 'us-east-1' for Signature v4 stuff. his comment is here

But it >> fails when I attempt to use mb. Please refer to our Privacy Policy or Contact Us for more details You seem to have CSS turned off. E.g. [Propeller:~]816$ s3cmd put /tmp/flort.txt s3://chuck-in.readyposition.com /tmp/flort.txt -> s3://chuck-in.readyposition.com/flort.txt [1 of 1] 10265 of 10265 100% in 0s 63.55 kB/s done Any suspicions why only mb would fail with s3cmd and The ~/.boto config file was easy enough to create, but I don't see a logfile created. –Daniel Bower Nov 4 '15 at 2:58 At the REST API level in

Createbucketconfiguration

E.g. [Propeller:~]795$ aws s3 mb s3://chuck-in.readyposition.com make_bucket: s3://chuck-in.readyposition.com/ Once the bucket is created, I have no problem doing normal operations using s3cmd. Member dadoonet commented Apr 18, 2014 We just released cloud-aws 2.1.1. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is > your > hub for all things parallel software development, from weekly thought > leadership The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is >> your >> hub for all things parallel software development, from weekly thought >> leadership

dadoonet closed this Apr 18, 2014 FestivalBobcats commented Apr 18, 2014 That fixed it. The setup for the aws program > makes it pretty clear that they want us-east-1 (and, of course, it works > that way). That's easy enough to see in the [mb] request to S3. >> >> Thanks, >> Matt >> >> On Fri, Feb 13, 2015 at 11:57 PM, Matt Domsch > wrote: How do you define sequences that converge to infinity?

Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox. You signed out in another tab or window. You should always leave it blank when referring to S3 US Standard region. If I change the region to us-west-1, it works fine.

The Go Parallel Website, >>> sponsored by Intel and developed in partnership with Slashdot Media, is >>> your >>> hub for all things parallel software development, from weekly thought >>> leadership E.g. >>>> >>>> [Propeller:~]787$ s3cmd mb s3://chuck-in.readyposition.com >>>> ERROR: S3 error: The specified location-constraint is not valid >>>> >>>> However, using the aws s3 subcommand works fine. Why throw pizza dough besides for show? SourceForge Browse Enterprise Blog Deals Help Create Log In or Join Solution Centers Go Parallel Resources Newsletters Cloud Storage Providers Business VoIP Providers Call Center Providers Thanks for helping keep SourceForge

  • But it fails > when I attempt to use mb.
  • That's > easy enough to see in the [mb] request to S3. > > Thanks, > Matt > > On Fri, Feb 13, 2015 at 11:57 PM, Matt Domsch wrote:
  • Reload to refresh your session.
  • E.g. > > [Propeller:~]795$ aws s3 mb s3://chuck-in.readyposition.com <> > make_bucket: s3://chuck-in.readyposition.com/ <> > > Once the bucket is created, I have no problem doing normal operations using s3cmd.
  • Are you specifying a region using --region or are >> you using the defaults? >> >> On Fri, Feb 13, 2015 at 11:14 PM, Chuck Ocheret >> wrote: >> >>>
  • http://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUT.html Values: [ us-west-1 | us-west-2 | eu-west-1 | eu-central-1 | ap-southeast-1 | ap-northeast-1 | ap-southeast-2 | sa-east-1 | empty string (for the US Classic region)] s3cmd does not include a
  • So for your solution, just leave bucket_location = 'US' in your ~/.s3cfg file, and you'll be fine. > > Thanks, > Matt > > > On Sat, Feb 14, 2015 at

Boto3 Exceptions

We'll look into updating our docs. http://goparallel.sourceforge.net/ >> > > Re: [S3tools-bugs] Creating buckets using s3cmd not working From: Chuck Ocheret - 2015-02-14 15:38:08 Attachments: Message as HTML Hi Matt, Let me know if this helps. Createbucketconfiguration Thanks, ~chuck Re: [S3tools-bugs] Creating buckets using s3cmd not working From: Matt Domsch - 2015-02-14 05:58:16 Attachments: Message as HTML What version of s3cmd? Boto3 S3 Please don't fill out this field.

E.g. > > [Propeller:~]795$ aws s3 mb s3://chuck-in.readyposition.com > make_bucket: s3://chuck-in.readyposition.com/ > > Once the bucket is created, I have no problem doing normal operations > using s3cmd. Is there somewhere in the > docs I would have been able to find this? Sign in to comment Contact GitHub API Training Shop Blog About © 2017 GitHub, Inc. To create an S3 bucket in us-east-1 you can just not specify any CreateBucketConfiguration: s3.create_bucket(Bucket='foo').

Having one special region that should be assumed default and raises a confusing Exception when explicitly named violates the Zen of Python Explicit is better than implicit Creating a boto3.client("ec2") will You seem to have CSS turned off. DEBUG: ConfigParser: guess_mime_type->True DEBUG: ConfigParser: host_base->s3.amazonaws.com DEBUG: ConfigParser: host_bucket->%(bucket)s.s3.amazonaws.com DEBUG: ConfigParser: human_readable_sizes->False DEBUG: ConfigParser: ignore_failed_copy->False DEBUG: ConfigParser: invalidate_default_index_on_cf->False DEBUG: ConfigParser: invalidate_default_index_root_on_cf->True DEBUG: ConfigParser: invalidate_on_cf->False DEBUG: ConfigParser: list_md5->False DEBUG: ConfigParser: log_target_prefix-> DEBUG: All I have is access and secret key.

Already have an account? E.g. > > [Propeller:~]787$ s3cmd mb s3://chuck-in.readyposition.com <> > ERROR: S3 error: The specified location-constraint is not valid > > However, using the aws s3 subcommand works fine. more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed

Terms Privacy Security Status Help You can't perform that action at this time.

So for your solution, just leave bucket_location = 'US' in your ~/.s3cfg file, and you'll be fine. S3 is a global namespace within a region, so if a bucket by the same name already exists you won't be able to create another one. –Bruce P Nov 3 '15 Take >>> a >>> look and join the conversation now. The setup for the aws program makes it pretty clear that they want us-east-1 (and, of course, it works that way).

Why do shampoo ingredient labels feature the the term "Aqua"? Which region is it? Fill in your details below or click an icon to log in: Email (Address never made public) Name Website You are commenting using your WordPress.com account. (LogOut/Change) You are commenting using Terms Privacy Security Status Help You can't perform that action at this time.

Take a >> look and join the conversation now. Skip to content Ignore Learn more Please note that GitHub no longer supports old versions of Firefox. I X’d out the access key. >> >> ~chuck >> >> [Propeller:~]819$ s3cmd --version >> s3cmd version 1.5.2 >> [Propeller:~]818$ s3cmd -d mb s3://chuck-in.readyposition.com >> DEBUG: ConfigParser: Reading file '/Users/chuck/.s3cfg' >> EDIT: Actually empty string also doesn't work, you have to omit the LocationConstraint parameter entirely.

jamesls added the closing-soon-if-no-response label Jun 5, 2015 j3ffhubb commented Jun 5, 2015 I disagree that this shouldn't be fixed within Boto3/core, even if the REST API behaves this way. That's easy enough to see in the [mb] request to S3. > > Thanks, > Matt > > On Fri, Feb 13, 2015 at 11:57 PM, Matt Domsch > wrote: Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 118 Star 1,733 Fork 336 boto/boto3 Code Issues 148 Pull requests 6 Projects E.g. >> >> [Propeller:~]816$ s3cmd put /tmp/flort.txt >> s3://chuck-in.readyposition.com >> /tmp/flort.txt -> s3://chuck-in.readyposition.com/flort.txt [1 of 1] >> 10265 of 10265 100% in 0s 63.55 kB/s done >> >> Any suspicions why

Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Terms Privacy Opt Out Choices Advertise Get latest updates about Open Source Projects, Conferences and News. I’ll give it a try in a bit. Leave a comment Post navigation ← 2015 State of Application Security: Closing theGap ISC2 Certified Cloud Security Professional (CCSP) - Mytake → Leave a Reply Cancel reply Enter your comment here...

You signed out in another tab or window. E.g. [Propeller:~]816$ s3cmd put /tmp/flort.txt s3://chuck-in.readyposition.com /tmp/flort.txt -> s3://chuck-in.readyposition.com/flort.txt [1 of 1] 10265 of 10265 100% in 0s 63.55 kB/s done Any suspicions why only mb would fail with s3cmd and I expect it doesn't like the region being requested. It's working with all other AWS regions -- creating a snapshot through the API, that is.

I am going to close this as a duplicate, but let's keep the conversation going in the linked issue. http://goparallel.sourceforge.net/ >>> >> >> > > Re: [S3tools-bugs] Creating buckets using s3cmd not working From: Chuck Ocheret - 2015-02-14 21:20:01 Attachments: Message as HTML Cool, thanks. I can use s3cmd successfully with ls, put, get, and even rb.