Here is the debug log from libvirt. Starting on line 933, you will see libvirt discovering the targets from the host, and then the next 10,000+ lines are libvirt going through and updating all of the target information for each of these available targets. Finally, it does what I would expect it to do first, on line 11,476, which is login to the target.
This particular example was about 15 seconds to connect one iSCSI pool. But that number varies depending on unknown factors, from 15 (which is rare in our case with 140+ targets) up to 90 seconds to connect one pool. And for each of the 140 targets on this one host, it goes and repeats the same process for each individual pool that is started. ** Attachment added: "20171218-libvirt.txt" https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1738864/+attachment/5024287/+files/20171218-libvirt.txt -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1738864 Title: libvirt updates all iSCSI targets from host each time a pool is started To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1738864/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
