I have just verified that the reproducer for Red Hat Enterprise Linux is
valid for Bionic:

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-09-04 06:57:00.761+0000: 28687: error : virHashForEach:597 : Hash 
operation not allowed during iteration
2018-09-04 06:57:00.773+0000: 28684: error : virHashForEach:597 : Hash 
operation not allowed during iteration
2018-09-04 06:57:02.040+0000: 28687: error : virHashForEach:597 : Hash 
operation not allowed during iteration
2018-09-04 06:57:06.567+0000: 28687: error : virHashForEach:597 : Hash 
operation not allowed during iteration
2018-09-04 06:57:09.761+0000: 28684: error : virHashForEach:597 : Hash 
operation not allowed during iteration

https://bugzilla.redhat.com/show_bug.cgi?id=1581364#c7


With the aforementioned patch, this error is not produced any more.

** Bug watch added: Red Hat Bugzilla #1581364
   https://bugzilla.redhat.com/show_bug.cgi?id=1581364

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

Title:
   libvirt-daemon error "virHashSearch:727 : Hash operation not allowed
  during iteration"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1789659/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to