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

rauc-hawkbit-updater with streaming can easily exceed hawkbit quota on action updates #151

Closed
zyga opened this issue Nov 23, 2022 · 4 comments

Comments

@zyga
Copy link

zyga commented Nov 23, 2022

Hawkbit has a default quota, that each action can have up to 1K status updates.

With streaming enabled, this nearly instantly overflows the quota with a sufficiently large image.

lis 23 13:18:42 odo hawkbit.hawkbit[963]: 2022-11-23 13:18:42.219 WARN 963 --- [tp1756726852-23] o.e.h.repository.jpa.utils.QuotaHelper : Cannot assign 1 ActionStatus entities to Action '51' because of the configured quota limit 1000. Currently, there are 1001 ActionStatus entities assigned.

@ejoerns
Copy link
Member

ejoerns commented Nov 23, 2022

Yes, this is known. We have documented here how to properly configure hawkbit for streaming:

https://rauc-hawkbit-updater.readthedocs.io/en/latest/reference.html (under stream_bundle option).

Probably its not the most visible place 😏

@Bastian-Krause
Copy link
Member

See also eclipse-hawkbit/hawkbit#1249

@zyga
Copy link
Author

zyga commented Nov 23, 2022

I just returned to comment on the issue that this is indeed much better documented in master. Sorry about the noise.

8728e98

@zyga
Copy link
Author

zyga commented Nov 23, 2022

As an important bit of context, the problem is not fixable here, because it is hawkbit itself that is generating the extra status entries in response to range requests. The only way, at the moment, to avoid this is to disable the quota inside hawkbit (which is not great) or to somehow force hawkbit to provide a 3rd-party (e.g. CDN) URL for the artifact.

@zyga zyga closed this as completed Nov 23, 2022
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

3 participants