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

Auto-created GCSBucket inherits destination bucket storage class #1536

Open
Vlad1mir-D opened this issue Feb 21, 2021 · 0 comments
Open

Auto-created GCSBucket inherits destination bucket storage class #1536

Vlad1mir-D opened this issue Feb 21, 2021 · 0 comments

Comments

@Vlad1mir-D
Copy link

Vlad1mir-D commented Feb 21, 2021

Description:
Whenever GCSBucket (scratch bucket) created automatically, it inherits the storage class of the destination bucket.
Removal of temporary data from a scratch bucket which inherited nearline/coldline/archive storage class incurs additional costs for early data removal.

Reproducing:

  1. Create GCS bucket with nearline storage class
  2. Run GCP image export:
gcloud --project testproject compute images export --zone europe-north1 --export-format vmdk --image image_to_export --destination-uri gs://nearline_bucket/image_to_export.vmdk

Result:
A scratch bucket will be created with the same storage class as the destination bucket.

Expected result:
A scratch bucket should be created with a standard storage class.

Reproducibility:
100%

@Vlad1mir-D Vlad1mir-D changed the title Auto-created scratch bucket inherits target storage class Auto-created GCSBucket inherits destination bucket storage class Feb 21, 2021
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