Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

InvalidStorageClass when calling the PutObject for storage-class STANDARD_IA #5469

Closed
hungntit opened this issue Jan 30, 2018 · 9 comments
Closed

Comments

@hungntit
Copy link

I use the docker image minio/minio:RELEASE.2018-01-18T20-33-21Z or latest, when I execute the command:
aws --endpoint-url http://localhost:9555 --profile localdev s3 cp --storage-class STANDARD_IA README.md s3://tettet/README.md
I got the result upload failed: ./README.md to s3://tettet/README.md An error occurred (InvalidStorageClass) when calling the PutObject operation: Invalid storage class.

But it run successfully when I use the old image minio/minio:RELEASE.2017-11-22T19-55-46Z

@nitisht
Copy link
Contributor

nitisht commented Jan 30, 2018

@hungntit storage classes were not supported as of version minio/minio:RELEASE.2017-11-22T19-55-46Z and the input was ignored.

We recently added support for storage classes with STANDARD and REDUCED_REDUNDANCY classes. As STANDARD_IA is not supported you get the error. Refer to storage class documentation here.

@hungntit
Copy link
Author

@nitisht Will we support for STANDARD_IA storage class?

@nitisht
Copy link
Contributor

nitisht commented Jan 30, 2018

it is not planned as of now @hungntit .

@nitisht nitisht self-assigned this Jan 30, 2018
@nitisht nitisht added this to the Next Release milestone Jan 30, 2018
@harshavardhana
Copy link
Member

@nitisht Will we support for STANDARD_IA storage class?

There is no meaning for STANDARD_IA in Minio while it can be implemented, it is quite redundant with STANDARD.

@nitisht
Copy link
Contributor

nitisht commented Jan 30, 2018

Closing this as answered @hungntit feel free to reopen/reachout on Slack for further questions.

@hungntit
Copy link
Author

Currently I use minio on dev environment instead of S3. Could we support STANDARD_IA like STANDARD storage class?

@harshavardhana
Copy link
Member

Currently I use minio on dev environment instead of S3. Could we support STANDARD_IA like STANDARD storage class?

STANDARD_IA is not meaningful in context of Minio, STANDARD_IA is STANDARD in Minio so you can simply use STANDARD. We can also make STANDARD_IA behave like STANDARD but we didn't want to confuse users so we error out.

@hungntit
Copy link
Author

Thanks @harshavardhana @nitisht

@lock
Copy link

lock bot commented Apr 26, 2020

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Apr 26, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants