Red Hat Bugzilla – Bug 1581364
Hash operation not allowed during iteration [rhel-7.5.z]
Last modified: 2018-07-04 06:50:17 EDT
This bug has been copied from bug #1576464 and has been proposed to be backported to 7.5 z-stream (EUS).
*** Bug 1571384 has been marked as a duplicate of this bug. ***
To POST: http://post-office.corp.redhat.com/archives/rhvirt-patches/2018-May/msg00726.html
*** Bug 1577951 has been marked as a duplicate of this bug. ***
Reproduced with libvirt-3.9.0-14.el7_5.2.x86_64. Test steps: 1.Start a guest: #virsh start test1 2.Do 'virsh list' in a loop: #for i in {1..1000}; do virsh list; done 3.Open another terminal, do 'virsh domstats' in a loop: #for i in {1..1000}; do virsh domstats; done 4.Check the libvirtd.log: # cat /var/log/libvirt/libvirtd.log | grep -i "Hash operation not allowed during" 2018-06-07 01:57:07.673+0000: 28086: error : virHashForEach:597 : Hash operation not allowed during iteration 2018-06-07 01:57:08.077+0000: 28079: error : virHashForEach:597 : Hash operation not allowed during iteration 2018-06-07 01:57:08.650+0000: 28077: error : virHashForEach:597 : Hash operation not allowed during iteration 2018-06-07 01:57:09.057+0000: 28079: error : virHashForEach:597 : Hash operation not allowed during iteration Verified with libvirt-3.9.0-14.el7_5.6.x86_64. Test steps: 1.Start a guest: #virsh start test1 2.Do 'virsh list' in a loop: #for i in {1..1000}; do virsh list; done 3.Open another terminal, do 'virsh domstats' in a loop: #for i in {1..1000}; do virsh domstats; done 4.Check the libvirtd.log after step 2&3, no error "Hash operation not allowed during iteration": #cat /var/log/libvirt/libvirtd.log | grep -i "Hash operation not allowed during iteration" no output
Also test do virsh list, virsh domstats, create/destroy guest, managedsave/restore guest parallel for about 48 hours, no error report and libvirtd worked well.
According to comment 7 and comment 8, move the bug to verified.
*** Bug 1592785 has been marked as a duplicate of this bug. ***
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:1997
*** Bug 1596946 has been marked as a duplicate of this bug. ***