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

Cached packages transitioned to intelligent_tiering S3 storage become unusable #151

Open
Fuuzetsu opened this issue Dec 22, 2020 · 0 comments

Comments

@Fuuzetsu
Copy link
Member

We have a lifecycle rule that moves the cached packages to intelligent tiering after 30 days. However, the currently released amazonka-s3 version is unable to deal with it so we run into an issue:

 cabal-cache: SerializeError (SerializeError' {_serializeAbbrev = Abbrev "S3", _serializeStatus = Status {statusCode = 200, statusMessage = "OK"}, _serializeBody = Nothing, _serializeMessage = "Failed reading: Failure parsing StorageClass from value: 'intelligent_tiering'. Accepted values: onezone_ia, reduced_redundancy, standard, standard_ia"})

To resolve this, there are multiple options:

  • Do nothing and wait – it's unknown when next amazonka gets released however long from now. Note the API change was merged back in May without releases since though.
  • Use the develop branch containing this fix and bunch of other changes: I'm unsure of the status.
  • Use our fork containing only the S3 API change on top of the latest released version.

In meantime I'm going to move the cached packages back to standard storage class but it'd be cool if we didn't have to.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant