Comment 2 for bug 1844603

Revision history for this message
leelswngsh (lswngsh) wrote :

in masakari-monitors/masakarimonitors/introspectiveinstancemonitor/qemu_utils.py:390
I think alter `conn = libvirt.open(None)` to `conn = libvirt.open(CONF.libvirt.connection_uri) and print the log with LOG.warning("lsw999 %s", print(type(running))).
Then ,I restart introspectiveinstancemonitor service,the log output indicates the "running" object is None;So the code in masakari-monitors/masakarimonitors/introspectiveinstancemonitor/qemu_utils.py:393

running = map(conn.lookupByID, ids) ;Is there a problem with this line of code?