Re: [RFE] Raise enumeration limit for virDomain-{ListAllSnapshots, SnapshotListNames}?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, May 11, 2017 at 12:35:18PM +0200, Kashyap Chamarthy wrote:
> I've got a server with multiple guests, and wanted to quickly check how
> many of them had snapshots (and in turn, how many snapshots).
> 
> So I quickly wrote the below script to enumerate the snapshots using the
> virDomainSnapshotListNames() API, and it turned out, one of the guests
> had 1329 snaphots (created by a script for testing):
> 
>     libvirt.libvirtError: too many remote undefineds: 1329 > 1024
> 
> DanPB on IRC said we could likely raise that limit:
> 
>     "we can likely increase that limit, since the rpc message size would
>     allow many more before the ultimate limit is hit"
> 
> He also points out the error message could be improved and is a sign of
> a bug:
> 
>     "'undefined' is a perl NULL that must come from a bug in the rpc
>     generator"

Ah, Dan already just posted patches for both the above issues:

    https://www.redhat.com/archives/libvir-list/2017-May/msg00295.html
    -- remote: increase max storage pools, nwfilters & snapshots to
    16384

    https://www.redhat.com/archives/libvir-list/2017-May/msg00293.html
    -- rpc: improve error message for bounds check

Thanks!

-- 
/kashyap

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]
  Powered by Linux