For debug purposes, is is convenient to access the kvm monitor to gain information about the state of the instance:
# python qmp-shell /var/lib/libvirt/qemu/instance-00000043.monitor Connected! (QEMU) query-commands [{u'name': u'qom-list-types'}, {u'name': u'change-vnc-password'}, ... (QEMU) query-vnc {u'family': u'ipv4', u'service': u'5900', u'clients': [], u'enabled': True, u'auth': u'none', u'host': u'192.168.100.5'} ...
The libvirt daemon and the nova-compute daemon prevent access to the monitor and must be stopped.
Continue reading “Interactions with the kvm monitor in OpenStack”