xnox | hws, hello | 10:49 |
---|---|---|
jamespage | rharper, hey - have 5 mins to help me debug a libvirt/qemu problem? | 16:47 |
rharper | sure | 16:47 |
jamespage | rharper, ok - so I nearly have instances booting under openstack - they do the normal startup -> paused whilst the networking is all being setup... | 16:48 |
jamespage | but then nova unpauses them and they just go straight to shutdown - not quite sure how to debug what's going on | 16:48 |
rharper | that's nova state saying shutdown ? | 16:49 |
rharper | versus actual console log ? | 16:49 |
jamespage | rharper, no that virsh list --all | 16:49 |
rharper | libvirt will always start the guest in stop mode (-S); then when all devices are attached, libvirt will send the cont signal to start the qemu machine | 16:49 |
jamespage | nova reflects that once it notices it | 16:49 |
jamespage | rharper, so I see | 16:50 |
jamespage | - instance-00000006 shut off | 16:50 |
jamespage | type stuff from virsh | 16:50 |
rharper | do we have the machine qemu.log file ? | 16:50 |
jamespage | rharper, the qemu log file for the instance - 2016-04-08T16:42:22.595065Z qemu-system-s390x: terminating on signal 15 from pid 260989 | 16:51 |
rharper | that's likely to have info on why libvirt wants to shut it down | 16:51 |
rharper | ah | 16:51 |
jamespage | rharper, http://paste.ubuntu.com/15692628/ | 16:51 |
rharper | i bet it's misconfigured and qemu is aborting | 16:51 |
rharper | can you enable libvirtd debugging and get a log from there? | 16:51 |
jamespage | rharper, I have the daemon running with the -v flag | 16:52 |
rharper | lemme get you a decent log config for libvirtd (less you have the qemu exec bits in our output) | 16:52 |
rharper | is that paste from your debug output or the instance.log file from var/lib/libvirt/qemu/$machine_instance.log | 16:53 |
rharper | I'm looking to see if qemu spit anything out on stderr | 16:53 |
jamespage | rharper, from the instance log file | 16:55 |
rharper | hrm, ok | 16:55 |
rharper | jamespage: I'm playing with the command line invoccation on another s390x box to see what qemu says; | 16:56 |
jamespage | rharper, okies - I can give you access to this one if you like | 16:57 |
rharper | sure | 16:57 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!