nova-compute-lxc limited by available nbd devices to 16 instances
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Michael Still | ||
nova (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
nova has 'FLAGS.
flags.
However,
a.) that doesn't really tell you why you care about this number, even though it effectively limits the number of lxc instances you can run at a single time, as each one uses a nbd device.
b.) it does not modify in any way the number that the system can allocate.
Ie, we would need to change the module parameter 'nbds_max' to nbd.ko.
Perhaps nova-compute-lxc should install a file into /etc/modprobe.d that increases number, ie:
# /etc/modprobe.
options nbd nbds_max=256
And also set the FLAGS.max_
Note, one sucky thing, is that without killing or at least stopping all instances, you wouldn't be able to change the module parameter to increase this number.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: nova-compute-lxc 2011.3-0ubuntu2
ProcVersionSign
Uname: Linux 3.0.0-12-server x86_64
ApportVersion: 1.23-0ubuntu1
Architecture: amd64
Date: Wed Sep 28 11:14:28 2011
NovaConf: Error: [Errno 13] Permission denied: '/etc/nova/
PackageArchitec
ProcEnviron:
LANGUAGE=en_US:
PATH=(custom, user)
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: nova
UpgradeStatus: No upgrade log present (probably fresh install)
summary: |
- nova-compute-lxc limited by available nbd devices to 16 + nova-compute-lxc limited by available nbd devices to 16 instances |
Changed in nova (Ubuntu): | |
importance: | Undecided → Low |
Changed in nova (Ubuntu): | |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Michael Still (mikalstill) |
status: | Confirmed → In Progress |
Changed in nova: | |
milestone: | none → grizzly-2 |
status: | Fix Committed → Fix Released |
Changed in nova (Ubuntu): | |
status: | Confirmed → Fix Released |
Changed in nova: | |
milestone: | grizzly-2 → 2013.1 |
Now that i'm thinking a bit more, maybe it would make sense to not have the flag in nova for 'FLAGS. max_nbd_ devices' .
Instead, it could just go through /dev/nbd* or /sys/block/nbd* and get a list that way.