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

My swupdate-hawkbit service was be crashed when I was using the hawkbit server to update an image weighs about 70 MB #2

Open
Hoang-Anh-Duong opened this issue May 15, 2023 · 3 comments

Comments

@Hoang-Anh-Duong
Copy link

I using swdesc_embed_container option to update podman image
So, my image .swu weighs about 70 MB
When I run a rollout to update device, my swupdate-hawkbit service on the device was be crashed and update failed.
I found log in /var/log/message and it have nothing error and log stop at "...delete volumes".
Plz, help me and thank you so much!

@martinetd
Copy link
Member

Hard to say without more details; I've confirmed swupdate/hawkbit works last week but didn't try a larger file sorry.

Could you run swupdate manually to try to get more informations?

# swupdate package version
apk list swupdate
# settings to allow core dump
ulimit -c 0
cd /var/tmp
# swupdate itself
rc-service swupdate-hawkbit stop
SWUPDATE_HAWKBIT=1 swupdate -u "-e -c 0"

At this point it should start install immediately if it was still pending, but if not retrigger update, wait 5 minutes and it should behave like the service, with logs in stdout.
Would really help to have the output here, and if you got a core get something out of it... Unfortunately the build script did not keep symbols so that might be easier said than done.

Thanks!

@Hoang-Anh-Duong
Copy link
Author

Could you run swupdate manually to try to get more informations?

I tried and successfully updated the image.
When I update with hawkbit then only service swupdate-hawkbit was be crashed after a long time about 5-10 minutes.

Thank you for your reply!

@Hoang-Anh-Duong
Copy link
Author

I think the cause of this error is a timeout of service SW update-hawkbit during the time downloading files and handling updates from the hawkbit server.
So, where can I config timeout of swupdate-hawkbit?

Thank you so much!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants