-
Notifications
You must be signed in to change notification settings - Fork 165
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
cmd/compress: do not compress Vultr images #1595
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: lucab The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
This skips the compression step for Vultr images, as the cloud import API expects a raw disk image and does not accept compressed content.
0290c4a
to
706b4b3
Compare
how much does this expand the actual storage we'll be using? In the docs could we just add a |
I had the same idea, until I discovered that the Vultr API allows uploading images from public URLs, but not pushing a local file (i.e. one cannot fetch+decompress+upload). |
foo - that sounds like a request we should be able to take to them to be able to handle a compressed artifact. |
but for now, i guess this is best |
Yeah, I'd also like to be able to specify a digest for their platform to check after fetching but before decompressing/importing. Let's hold this for a few days and see if they are open to that, it would help sparing some disk space and bandwidth. /hold |
As per coreos/fedora-coreos-tracker#355 (comment) the API is not going to gain those features right now. How do we want to proceed here? |
I'd really like to not store the images uncompressed. Some questions/suggestions:
It's a bit backwards, but the steps would cover everything and wouldn't require the user to set up their own HTTPS server. |
But... I'm not unwilling to be convinced otherwise. I'm just trying to suggest some alternatives until the server side is in a better state. |
I just tried that and the flow is a bit longer but not too complex. We can keep the image compressed here, I'll update the docs adding the "decompress and upload to bucket" steps. |
Thanks Luca! |
This skips the compression step for Vultr images, as the cloud import
API expects a raw disk image and does not accept compressed content.
Ref: coreos/fedora-coreos-docs#71 (comment)