-
Notifications
You must be signed in to change notification settings - Fork 655
preload-user-images, "ros preload-images" issues #1817
Comments
ah, joy - I noticed that we were throwing away error values too - 1.0.1-rc3 contains #1788 - but I'm guessing there are other places we're doing this :( |
For anyone else with this issue, my current workaround is to revert the |
Unfortunately, I currently don't know enough Go to implement a fix so that the |
I was wrong in my assumption that
The old But at least I could see the error message with |
|
Tested with RancherOS v1.2.0-rc2
|
RancherOS Version: git commit 0353296
Where are you running RancherOS? vagrant, virtualbox
I am noticing an issue with PR #1326.
The new "ros preload-images" for docker (not system-docker) will exit 0 (no error code) even if all the images were not loaded, for example if "no space left on device".
Another issue is that the preload in Go code appears to load images in the background, but creates the doneStamp (eg. user.tar.gz.done) right away.
This is different from the old
preload.sh
script which only creates the doneStamp when "docker load" is complete with no error (becausepreload.sh
was usingset -e
).The text was updated successfully, but these errors were encountered: