I set up Alpine Linux as a libvirt-based KVM hypervisor last week. Everything was working beautifully on Friday. I left two Windows VMs up and running and two 'Saved' on Friday afternoon. When I go in this morning the two running ones were 'Paused' and I can't unpause them with virt-manager or with virsh. The other two saved ones I can start, but they are immediately paused too. When I click to unpause in virt- manager nothing happens. When I 'resume' in virsh I get 'Domain ... resumed' but it's immediately paused again. I looked in /var/log/libvirt/libvirtd.log and qemu/<DOMAIN>.log and there doesn't seem to be anything happening. No errors or anything. As I say. Everything was working fine on Friday afternoon. Does anyone know what I should try next? I'll attach my logs and the XML of one of my machines. _ _ _ ___ _ )\/,) ___ __ )L, )) __ __ )) __ _ _ ((`(( ((_( (| ((\ ((__((_)((_)(( (('((\(
I also noticed, just now, that if I send 'resume' several times in a row, libvirt now says 'Running', but there is no movement on the actual virtual machine. It still 'looks' paused' On Mon, Jan 8, 2018 at 11:03 AM, Mark Coolen <mark.coolen@gmail.com> wrote:> I set up Alpine Linux as a libvirt-based KVM hypervisor last week. > Everything was working beautifully on Friday. I left two Windows VMs up and > running and two 'Saved' on Friday afternoon. When I go in this morning the > two running ones were 'Paused' and I can't unpause them with virt-manager > or with virsh. The other two saved ones I can start, but they are > immediately paused too. When I click to unpause in virt- manager nothing > happens. When I 'resume' in virsh I get 'Domain ... resumed' but it's > immediately paused again. I looked in /var/log/libvirt/libvirtd.log and > qemu/<DOMAIN>.log and there doesn't seem to be anything happening. No > errors or anything. > As I say. Everything was working fine on Friday afternoon. > > Does anyone know what I should try next? I'll attach my logs and the XML > of one of my machines. > > _ _ _ ___ _ > )\/,) ___ __ )L, )) __ __ )) __ _ _ > ((`(( ((_( (| ((\ ((__((_)((_)(( (('((\( >-- _ _ _ ___ _ )\/,) ___ __ )L, )) __ __ )) __ _ _ ((`(( ((_( (| ((\ ((__((_)((_)(( (('((\(
Your storage seems to be fubar'ed /tony On 01/08/2018 05:03 PM, Mark Coolen wrote:> I set up Alpine Linux as a libvirt-based KVM hypervisor last week. > Everything was working beautifully on Friday. I left two Windows VMs up > and running and two 'Saved' on Friday afternoon. When I go in this > morning the two running ones were 'Paused' and I can't unpause them with > virt-manager or with virsh. The other two saved ones I can start, but > they are immediately paused too. When I click to unpause in virt- > manager nothing happens. When I 'resume' in virsh I get 'Domain ... > resumed' but it's immediately paused again. I looked in > /var/log/libvirt/libvirtd.log and qemu/<DOMAIN>.log and there doesn't > seem to be anything happening. No errors or anything. > As I say. Everything was working fine on Friday afternoon. > > Does anyone know what I should try next? I'll attach my logs and the XML > of one of my machines. > > _ _ _ ___ _ > )\/,) ___ __ )L, )) __ __ )) __ _ _ > ((`(( ((_( (| ((\ ((__((_)((_)(( (('((\( > > > _______________________________________________ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users >-- Tony Albers Systems administrator, IT-development Royal Danish Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark. Tel: +45 2566 2383 / +45 8946 2316
El 08/01/18 a las 17:03, Mark Coolen escribió:> I set up Alpine Linux as a libvirt-based KVM hypervisor last week. > Everything was working beautifully on Friday. I left two Windows VMs up > and running and two 'Saved' on Friday afternoon. When I go in this > morning the two running ones were 'Paused' and I can't unpause them with > virt-manager or with virsh. The other two saved ones I can start, but > they are immediately paused too. When I click to unpause in virt- > manager nothing happens. When I 'resume' in virsh I get 'Domain ... > resumed' but it's immediately paused again. I looked in > /var/log/libvirt/libvirtd.log and qemu/<DOMAIN>.log and there doesn't > seem to be anything happening. No errors or anything. > As I say. Everything was working fine on Friday afternoon. > > Does anyone know what I should try next? I'll attach my logs and the XML > of one of my machines. >I don't know what happened but I'm pretty sure you can recover the domains removing the file stored by the pause command: # virsh managedsave-remove domainname # virs start domainname As for the underlying problem , it happened to me once and I thought it was caused by a full partition. Notice the saved state files won't go to the storage pool directory. In my system those files are kept on: /var/lib/libvirt/qemu/save/ Hope this helped a little bit.
It was a full partition. Thanks for this too, though. It might come in handy in the future. I'm kicking myself for not looking at my data partition's disk space ;-) I just realized that I'd just replied to Tony and not the list. Thanks Tony. I've shifted some files and everything's good now. Mark On Mon, Jan 8, 2018 at 11:39 AM, Francesc Guasch <frankie@telecos.upc.edu> wrote:> El 08/01/18 a las 17:03, Mark Coolen escribió: > >> I set up Alpine Linux as a libvirt-based KVM hypervisor last week. >> Everything was working beautifully on Friday. I left two Windows VMs up and >> running and two 'Saved' on Friday afternoon. When I go in this morning the >> two running ones were 'Paused' and I can't unpause them with virt-manager >> or with virsh. The other two saved ones I can start, but they are >> immediately paused too. When I click to unpause in virt- manager nothing >> happens. When I 'resume' in virsh I get 'Domain ... resumed' but it's >> immediately paused again. I looked in /var/log/libvirt/libvirtd.log and >> qemu/<DOMAIN>.log and there doesn't seem to be anything happening. No >> errors or anything. >> As I say. Everything was working fine on Friday afternoon. >> >> Does anyone know what I should try next? I'll attach my logs and the XML >> of one of my machines. >> >> > I don't know what happened but I'm pretty sure you can recover > the domains removing the file stored by the pause command: > > # virsh managedsave-remove domainname > # virs start domainname > > As for the underlying problem , it happened to me once and I thought > it was caused by a full partition. Notice the saved state files won't > go to the storage pool directory. In my system those files are kept on: > > /var/lib/libvirt/qemu/save/ > > Hope this helped a little bit. >-- _ _ _ ___ _ )\/,) ___ __ )L, )) __ __ )) __ _ _ ((`(( ((_( (| ((\ ((__((_)((_)(( (('((\(