resource downloads to agents not throttled

Bug #1940219 reported by Ian Booth
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Canonical Juju
Fix Released
High
Ian Booth

Bug Description

Many charms may simultaneously perform a resource-get to fetch a resource blob.
This request goes via the controller which acts as a caching proxy to charmhub.

Bug 1905703 addressed the situation where the controller would attempt to download the same blob from charmhub at the same time if many requests all came in together.

What is not addressed though is that the controller does not throttle serving resource blobs to unit agents. It's possible to DOS the controller and/or flood the network bandwidth if too many concurrent requests are served.

Revision history for this message
james beedy (jamesbeedy) wrote :

Hello,

Does anyone know the status of this?

Thanks

Revision history for this message
Ian Booth (wallyworld) wrote :

There's been no work on this since the work to throttle the charmhub requests.
I'll move to a release milestone to give it a bit more visibility.

Changed in juju:
milestone: 2.9-next → 2.9.24
Ian Booth (wallyworld)
Changed in juju:
assignee: nobody → Ian Booth (wallyworld)
status: Triaged → In Progress
Ian Booth (wallyworld)
Changed in juju:
status: In Progress → Fix Committed
Ian Booth (wallyworld)
Changed in juju:
milestone: 2.9.24 → 2.9.25
Changed in juju:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.