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

[IMPROVEMENT] BackingImage should be compressed when downloading and use the name as filename instead of UUID #7295

Closed
ChanYiLin opened this issue Dec 8, 2023 · 2 comments
Assignees
Labels
area/backing-image Backing image related backport/1.4.5 backport/1.5.4 kind/improvement Request for improvement of existing function
Milestone

Comments

@ChanYiLin
Copy link
Contributor

ChanYiLin commented Dec 8, 2023

Is your improvement request related to a feature? Please describe (👍 if you like this request)

From this issue #7288
BackingImage should be compressed when downloading and use the name as filename instead of UUID

cc @innobead @m-ildefons

@longhorn-io-github-bot
Copy link

longhorn-io-github-bot commented Dec 15, 2023

Pre Ready-For-Testing Checklist

  • Where is the reproduce steps/test steps documented?
    The reproduce steps/test steps are at:

    • steps
      • create backingimage
      • download the backingimage
      • download file name is backing image name and it is compressed as gzip file
      • unzip the file and check the checksum is the same
  • Have the backend code been merged (Manager, Engine, Instance Manager, BackupStore etc) (including backport-needed/*)?
    The PR is at

@chriscchien
Copy link
Contributor

Verified pass on longhorn master (backing-image-manager a8bf86) with test steps

  1. Downloaded backingimage now is in gzip format, the name of the download file is backingimage name, not UUID anymore.
  2. After unzip file, the result of command sha512sum was the same from UI as well as from command(kubectl describe backimgimage)
  3. Verified in raw and qcow2(download and export-from-volume)
  4. Upload the unzipped backingimage to Longhorn, create volume with that backingimage, data intact.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/backing-image Backing image related backport/1.4.5 backport/1.5.4 kind/improvement Request for improvement of existing function
Projects
Status: Closed
Development

No branches or pull requests

5 participants