Hi Peter Sabaini, Filip Palmberg,

Thanks for test verification.
As your testing confirms, the capacity was doubled.

If this is still not enough, would you please specify the number that would 
work for you?
It seems this was not clarified during the previous iteration.

My suggestion we log another LP bug with a requirement for a limit that
would works and solve that as a new activity. This fix is already
release, and arguable works as intended.

** Description changed:

  [SRU] 2.74.1:
  https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/2138629
  
  [ Impact ]
  
  This issue was only on a MicroCeph deployment, it is not expected to
  happen on desktop setups. The symptoms are snap.microceph.osd and
  snap.microceph.daemon exit immediately with status 1. All OSDs on the
  affected host go down, cluster remains up. Repeated restarts show the
  same error.
  
  See: https://github.com/canonical/microceph/issues/669
  
  [ Test Plan ]
  
  1. Reproduce with snapd deb < 2.74.1
  
  No need to reproduce, just point to evidence showing previous failures.
  
  2. Prove fixed with snapd deb 2.74.1
  
+ https://github.com/canonical/snapd/pull/16505 doubled the limit.
+ 
  Request testing a similar deployment with the modified version of snapd
- and confirm the issues does not happen anymore.
+ and confirm that the capacity was doubled.
  
  ---original---
  
  snapd seems to set up a max of 500 devices in the bpf map for purposes of 
filtering:
  
https://github.com/canonical/snapd/blob/dcaf86ce5c0e66efe384bd4418cdaadb10b2d205/cmd/libsnap-confine-private/device-cgroup-support.c#L393
  
  Proxying a user report where a system carries >80 VMs and seems to run the 
map out of entries:
  https://github.com/canonical/microceph/issues/669
  
  VMs there are configured with MicroCeph, setting up close to 500 rbd
  devices.
  
  We may need to make the max_entries configurable to accomodate setups
  such as this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2139099

Title:
  Hardcoded max of 500 entries in bpf map

To manage notifications about this bug go to:
https://bugs.launchpad.net/snapd/+bug/2139099/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to