[libvirt] only 256 active networks

Hi List, Laine, Maybe you can help here. We define 256 bridged networks such as <network> <name>vdsm-test244</name> <uuid>c3acd4c3-37be-3f9d-ee6b-317513015f9e</uuid> <forward mode='bridge'/> <bridge name='test244' /> </network> and end up killing `virsh net-list` with error: Failed to list active networks error: too many remote undefineds: 257 > 256 error: Reconnected to the hypervisor What is this limitation? Why is it there? How can this be extended/avoided? Dan.

On 09/29/2012 04:22 PM, Dan Kenigsberg wrote:
Hi List, Laine,
Maybe you can help here.
We define 256 bridged networks such as
<network> <name>vdsm-test244</name> <uuid>c3acd4c3-37be-3f9d-ee6b-317513015f9e</uuid> <forward mode='bridge'/> <bridge name='test244' /> </network>
and end up killing `virsh net-list` with
error: Failed to list active networks error: too many remote undefineds: 257 > 256 error: Reconnected to the hypervisor
What is this limitation? Why is it there? How can this be extended/avoided?
What version of libvirt are you running? This is a limit set by the RPC code, and it was increased from 256 to 16384 in commit eb635de1fed3257c5c62b552d1ec981c9545c1d7, which looks like it would be in any libvirt *after* 0.9.12 (so any 0.10.x will have the increase).

On Sat, Sep 29, 2012 at 11:29:45PM -0400, Laine Stump wrote:
On 09/29/2012 04:22 PM, Dan Kenigsberg wrote:
Hi List, Laine,
Maybe you can help here.
We define 256 bridged networks such as
<network> <name>vdsm-test244</name> <uuid>c3acd4c3-37be-3f9d-ee6b-317513015f9e</uuid> <forward mode='bridge'/> <bridge name='test244' /> </network>
and end up killing `virsh net-list` with
error: Failed to list active networks error: too many remote undefineds: 257 > 256 error: Reconnected to the hypervisor
What is this limitation? Why is it there? How can this be extended/avoided?
What version of libvirt are you running? This is a limit set by the RPC code, and it was increased from 256 to 16384 in commit eb635de1fed3257c5c62b552d1ec981c9545c1d7, which looks like it would be in any libvirt *after* 0.9.12 (so any 0.10.x will have the increase).
It was libvirt-0.9.10, sorry for not stating this in the original post (I hate it when people do this to me...) Regards, Dan.
participants (2)
-
Dan Kenigsberg
-
Laine Stump