-
Notifications
You must be signed in to change notification settings - Fork 89
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
adding support for --sparse when creating ext3 #864
adding support for --sparse when creating ext3 #864
Conversation
this will close issue sylabs#610. We basically want to add support for a sparse overlay, and we can do that by using truncate -s (size) instead of dd. In the case the command is not found, an error is issued and the user can decide to install or not use it. I think it would be overkill to hard code information about all OS versions / support but if anyone has ideas for how to reasonably do this we can return a more specific error message. I am not running the e2e tests locally but will see how they do in the CI! :) Signed-off-by: vsoch <vsoch@users.noreply.github.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
General thoughts at this stage...
- Does it make sense to allow someone to use
--sparse
when adding an overlay to a SIF file? The code currently allows this I believe. If it makes sense, and is permitted, then it should be tested also.
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
Looks like my one test failed - is truncate installed in the testing environment, and is there a way to see output for why it failed?
|
Yes - take the name of the failing test For this test, the failure is:
Looks like the filename has already been used by a preceding test, that didn't delete that file yet. Either the earlier test needs to remove the file, or (safer), you can use a different filename here. |
Signed-off-by: vsoch <vsoch@users.noreply.github.com>
woo green @dtrudg ! |
I did realize we need CHANGELOG.md entries for this, and your instance stats work - but I'll add those in a separate PR, so this can be merged with the other things pending. Thanks @vsoch ! |
woohoo! Thanks @dtrudg! |
Signed-off-by: Edita Kizinevic <edita.kizinevic@cern.ch>
Signed-off-by: Edita Kizinevic <edita.kizinevic@cern.ch>
Signed-off-by: Edita Kizinevic <edita.kizinevic@cern.ch>
Signed-off-by: Edita Kizinevic <edita.kizinevic@cern.ch>
Description of the Pull Request (PR):
this will close issue #610. We basically want to add support for a sparse overlay, and we can do that by using truncate -s (size) instead of dd. In the case the command is not found, an error is issued and the user can decide to install or not use it. I think it would be overkill to hard code information about all OS versions / support but if anyone has ideas for how to reasonably do this we can return a more specific error message. I am not running the e2e tests locally but will see how they do in the CI! :)
Signed-off-by: vsoch vsoch@users.noreply.github.com
This fixes or addresses the following GitHub issues:
Question: are we still adding changes to the changelog? It looks like they are added after release (at least the top version is already released and there isn't space for develop changes above that)