Skip to content

Issue with "Method Not Allowed" error when creating bucket using Ozone S3 Gateway #6662

Answered by adoroszlai
FaheemKhan0817 asked this question in FAQ
Discussion options

You must be logged in to vote

Hi @FaheemKhan0817,

Do not include volume name and/or s3v in bucket to be created. Volume name is internal to Ozone, S3 clients are not aware of it.

response = s3.create_bucket(Bucket=f's3v/{volume_name}/{bucket_name}')

It should be something like:

response = s3.create_bucket(Bucket=bucket_name)

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@FaheemKhan0817
Comment options

@adoroszlai
Comment options

@FaheemKhan0817
Comment options

@adoroszlai
Comment options

@FaheemKhan0817
Comment options

Answer selected by ivandika3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
FAQ
Labels
None yet
2 participants