-
Notifications
You must be signed in to change notification settings - Fork 49
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
cos-upgrade uses COS_STATE for temporary files during upgrades #480
Comments
👀 On first place, the upgrade process should use the temporary space in |
So this is two separate issues. Can you please create the second one, @mudler ? |
I was already on my way :) |
More context about |
Fixes #480 Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Fixes #480 Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Fixes #480 Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
Fixes #480 Signed-off-by: Ettore Di Giacinto <edigiacinto@suse.com>
cos-toolkit version:
RancherOSv2 with
utils/installer-0.8+9
.Describe the bug
Fail to upgrade OS from a registry.
To Reproduce
And the output:
Expected behavior
The image content should be writtend into
active.img
.Logs
Additional context
The space of
/run/initramfs/cos-state
is exhausted during the upgrade (the free space 11GB should be enough for the 1.27GB image and the new 3G active.img).If I modify the code to this, the upgrade succeeds:
The image will be extraced to
/usr/local/tmp/rootfs
rather than$STATEDIR/tmp/upgrade
. And it only consumes the as much as the image size (~1.27GB).The text was updated successfully, but these errors were encountered: