Hey, could you remove the flag : --resume_guests_state_on_host_boot=true ans restart the nova-compute service
Can you run $ ls /etc/libvirt/qemu/autostart
Does that behaviour is systematic ? Everytime you restart the service nova-compute, or do you need to also have your compute node restarted ?
Nuage & Co - Razique Mahroua
Razique, Thank you very much! Here is the paste: this config was fine at the first testing system. Current problem occurred at my second testing system, and at before I created raw format image and convert to qcow2. I am going to recreate image directly on qcow2 format,are just in processing,…… Is there anything should be cared with image? It looks like related with the glance image,I guess. Romi From: Razique Mahroua [mailto:razique.mahroua@gmail.com] Sent: Saturday, September 15, 2012 5:43 PM To: romi zhang Cc: 'Ritesh Nanda'; openstack@lists.launchpad.net Subject: Re: [Openstack] strange problem when reboot nova-compute node: domain not found: no domain with matching name Hey I just wanted to see if the domain was still declared within virsh database in case you can also go to your instances directory and un a $ virsh define $instance-name/domain.xml Can you post your nova.conf please ? Nuage & Co - Razique Mahroua <image001.jpg>
Is there anything need to have a deeper look? Virsh list looks like well,same as the instance I created through nova boot. From: Razique Mahroua [mailto:razique.mahroua@gmail.com] Sent: Friday, September 14, 2012 4:10 AM To: Ritesh Nanda Cc: romi zhang; openstack@lists.launchpad.net Subject: Re: [Openstack] strange problem when reboot nova-compute node: domain not found: no domain with matching name what $ virsh list --all gives you ? Nuage & Co - Razique Mahroua Hello romi,
Image got into a stuck state , only solution is to hack your database for this particular instance and mark it as deleted, den restart nova-* service, it would start working. I’ve installed essex and when I reboot one of the nova-compute node and next when I start nova-compute service again,the system promote: Libvirt: QEMU error: Domain not found: no domain with matching name ‘instance-0000000a’ #ls /var/lib/nova/instances _base instance-0000000a instance-0000000b instance-0000000c instance-0000000b.xml instance-0000000c.xml Network /var/lib/nova/instances/instance-0000000a# virsh define libvirt.xml Domain instance-0000000a defined from libvirt.xml Instance-0000000a.xml instance-0000000b.xml instance-0000000c.xml network Then I restart: nova-compute &, and nova-compute could normally started. I did not understand why reboot compute node,and usually the first instance’s xml file was deleted and nova-compute will terminate. By the way, when I create a new instance, the first line in the log also is : Libvirt: QEMU error: Domain not found: no domain with matching name ‘instance-0000000a’ Anyone who had met such a problem and why? _______________________________________________ Mailing list: https://launchpad.net/~openstack Post to : openstack@lists.launchpad.net Unsubscribe : https://launchpad.net/~openstack More help : https://help.launchpad.net/ListHelp
|