Re: [Openstack] strange problem when reboot nova-compute node: domain not found: no domain with matching name

2012-09-17 Thread romi zhang
Razique,

 

Additional information:

Another testing system was not full of testing job. I met this problem
before at my small system. If I use ubuntu image download from network,this
problem was not happened. If I use centos and windows image create
instance,this problem will happened,and in the process of building centos or
windows instance, nova-compute always promote: libvirt qemu error,domain not
found. But finally instance would run normally, and then to reboot the host
of nova-compute and then run nova-compute ,it would stop at :CRITICAL error:
libvirt qemu error, domain not found,…..

 

Romi

 

From: romi zhang [mailto:romizhang1...@163.com] 
Sent: Monday, September 17, 2012 8:48 PM
To: 'Razique Mahroua'
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

 

Razique,

 

Appreciate for your attention.

 

# ls /etc/libvirt/qemu/networks/autostart

default.xml

 

at my memory,when the first time I computed the system installation, reboot
compute-node have no problem, and then after I created centos and windows
instances (in the booting process,system show :libvirt qemu error: domain
not found) and reboot one of compute-nodes ,nova-compute stopped and show me
: CRITICAL error, Libvirt: QEMU error: Domain not found: no domain with
matching name ‘instance-000a’. then the others also have same problem.

 

At my corner,it is a sysmatic behavior.

 

But at my another testing system, this problem had not happened.

 

Regards,

 

Romi

 

From: Razique Mahroua [mailto:razique.mahr...@gmail.com] 
Sent: Sunday, September 16, 2012 5:04 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, 

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.mahr...@gmail.com




 

Le 15 sept. 2012 à 12:00, romi zhang romizhang1...@163.com a écrit :

 

Razique,

 

Thank you very much!

 

Here is the paste:

 http://paste.openstack.org/show/20938/
http://paste.openstack.org/show/20938/

 

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@ http://gmail.com gmail.com]

Sent: Saturday, September 15, 2012 5:43 PM
To: romi zhang
Cc: 'Ritesh Nanda';  mailto:openstack@lists.launchpad.net
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 

 mailto:razique.mahr...@gmail.com razique.mahr...@gmail.com


image001.jpg

 

Le 15 sept. 2012 à 08:26, romi zhang  mailto:romizhang1...@163.com
romizhang1...@163.com a écrit :





Hi Razique,

 

Is there anything need to have a deeper look?

Virsh list looks like well,same as the instance I created through nova boot.

 

Romi

 

From: Razique Mahroua [mailto:razique.mahroua@ http://gmail.com gmail.com]

Sent: Friday, September 14, 2012 4:10 AM
To: Ritesh Nanda
Cc: romi zhang;  mailto:openstack@lists.launchpad.net
openstack@lists.launchpad.net
Subject: Re: [Openstack] strange problem when reboot nova-compute node:
domain not found: no domain with matching name

 

Hi Romi, 

what $ virsh list --all gives you ?

Nuage  Co - Razique Mahroua 

 mailto:razique.mahr...@gmail.com razique.mahr...@gmail.com


image001.jpg

 

Le 13 sept. 2012 à 21:11, Ritesh Nanda  mailto:riteshnand...@gmail.com
riteshnand...@gmail.com a écrit :






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.

On Thu, Sep 13, 2012 at 9:45 PM, romi zhang  mailto:romizhang1...@163.com
romizhang1...@163.com wrote:

Hi,

 

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-000a’

 

Then I found:  

#ls /var/lib/nova/instances

_base instance-000a 

Re: [Openstack] strange problem when reboot nova-compute node: domain not found: no domain with matching name

2012-09-16 Thread Razique Mahroua
Hey,could you remove the flag :--resume_guests_state_on_host_boot=trueans restart the nova-compute serviceCan you run$ ls /etc/libvirt/qemu/autostartDoes 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 Mahrouarazique.mahr...@gmail.com

Le 15 sept. 2012 à 12:00, romi zhang romizhang1...@163.com a écrit :Razique,Thank you very much!Here is the paste:http://paste.openstack.org/show/20938/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.RomiFrom:Razique Mahroua [mailto:razique.mahroua@gmail.com]Sent:Saturday, September 15, 2012 5:43 PMTo:romi zhangCc:'Ritesh Nanda';openstack@lists.launchpad.netSubject:Re: [Openstack] strange problem when reboot nova-compute node: domain not found: no domain with matching nameHey I just wanted to see if the domain was still declared within virsh databasein case you can also go to your instances directory and un a $ virsh define $instance-name/domain.xmlCan you post your nova.conf please ?Nuage  Co - Razique Mahrouarazique.mahr...@gmail.comimage001.jpgLe 15 sept. 2012 à 08:26, romi zhang romizhang1...@163.com a écrit :Hi Razique,Is there anything need to have a deeper look?Virsh list looks like well,same as the instance I created through nova boot.RomiFrom:Razique Mahroua [mailto:razique.mahroua@gmail.com]Sent:Friday, September 14, 2012 4:10 AMTo:Ritesh NandaCc:romi zhang;openstack@lists.launchpad.netSubject:Re: [Openstack] strange problem when reboot nova-compute node: domain not found: no domain with matching nameHi Romi,what $ virsh list --all gives you ?Nuage  Co - Razique Mahrouarazique.mahr...@gmail.comimage001.jpgLe 13 sept. 2012 à 21:11, Ritesh Nanda riteshnand...@gmail.com a écrit :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.On Thu, Sep 13, 2012 at 9:45 PM, romi zhang romizhang1...@163.com wrote:Hi,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-000a’Then I found: #ls /var/lib/nova/instances_base instance-000a instance-000b instance-000c#ls /etc/libvirt/qemuinstance-000b.xml instance-000c.xml NetworkSo:/var/lib/nova/instances/instance-000a# virsh define libvirt.xmlDomain instance-000a defined from libvirt.xmlAnd:#ls /etc/libvirt/qemuInstance-000a.xml instance-000b.xml instance-000c.xml networkThen 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-000a’Anyone who had met such a problem and why?Regards,romi___Mailing list:https://launchpad.net/~openstackPost to   :openstack@lists.launchpad.netUnsubscribe :https://launchpad.net/~openstackMore help  :https://help.launchpad.net/ListHelp--With RegardsRitesh Nanda___Mailing list:https://launchpad.net/~openstackPost to :openstack@lists.launchpad.netUnsubscribe :https://launchpad.net/~openstackMore help :https://help.launchpad.net/ListHelp___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] strange problem when reboot nova-compute node: domain not found: no domain with matching name

2012-09-16 Thread romi zhang
Ritesh,

 

I did a test:

I downloaded a qcow2 format ubuntu
12.04(http://docs.openstack.org/essex/openstack-compute/admin/content/starti
ng-images.html) and use it create a new instance.

Everything is fine,no any error information occurred.

But when I reboot compute node, the situation was same, and after run virsh
define again then to restart nova-compute, in the ubuntu12.04 instance
booting, it also gives out:

libvir: QEMU error : Domain not found: no domain with matching name
'instance-000c'

 

but finally, instance: 7f2050b7-b83b-4603-b7c2-3a6912188e9c] Instance
rebooted successfully, means this instance run normally and I also could ssh
it, same like others before.

So, it looks like no relation about images. I think perhaps something in
libvirt or qemu perhaps had potential problems.

 

The situation is:

 

If I only create one instance from ubuntu12.04 and run it in the first one,
anything run well, have no libvirt:QEMU error,.. Information comes out; 

If I continue to boot instance from the centos(image created by me) or
fedora(downloaded from
http://docs.openstack.org/essex/openstack-compute/admin/content/starting-ima
ges.html) or windows image,it show me:

libvirt:QEMU error,domain not found...,but instance would finally spawn
successfully and run well.

 

It looks like libvirt:QEMU error,domain not found,. does not stop instance
running and working.

 

But, I did not know why reboot nova-compute node, /etc/libvirt/qemu would
delete the one of instances XML file and nova-compute would stop to
continue.

 

Romi

 

 

From: romi zhang [mailto:romizhang1...@163.com] 
Sent: Saturday, September 15, 2012 2:32 PM
To: 'Ritesh Nanda'
Cc: 'openstack@lists.launchpad.net'
Subject: RE: [Openstack] strange problem when reboot nova-compute node:
domain not found: no domain with matching name

 

Ritesh,

 

I will try your method.

 

In the past,when I boot a new instance from a ubuntu image,it works ok.
Centos and windows image was created by me according docs.openstack.org
information,and every time when a new instance created from centos and
windows,system always told me Libvirt: QEMU error: Domain not found: no
domain with matching name,..., but finally, the instance works well.

 

So, I am not clear about the reason.

 

Thanks.

 

Romi

 

From: Ritesh Nanda [mailto:riteshnand...@gmail.com] 
Sent: Friday, September 14, 2012 3:12 AM
To: romi zhang
Cc: openstack@lists.launchpad.net
Subject: Re: [Openstack] strange problem when reboot nova-compute node:
domain not found: no domain with matching name

 

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.

On Thu, Sep 13, 2012 at 9:45 PM, romi zhang romizhang1...@163.com wrote:

Hi,

 

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-000a'

 

Then I found:  

#ls /var/lib/nova/instances

_base instance-000a instance-000b instance-000c

#ls /etc/libvirt/qemu

instance-000b.xml instance-000c.xml Network

 

So:

/var/lib/nova/instances/instance-000a# virsh define libvirt.xml

Domain instance-000a defined from libvirt.xml

And:

#ls /etc/libvirt/qemu

Instance-000a.xml instance-000b.xml instance-000c.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-000a'

 

Anyone who had met such a problem and why?

 

Regards,

 

romi


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp




-- 

 With Regards  

 Ritesh Nanda

 

 

 

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] strange problem when reboot nova-compute node: domain not found: no domain with matching name

2012-09-16 Thread romi zhang
Razique,

 

Thank you very much!

 

Here is the paste:

http://paste.openstack.org/show/20938/

 

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.mahr...@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 

razique.mahr...@gmail.com




 

Le 15 sept. 2012 à 08:26, romi zhang romizhang1...@163.com a écrit :





Hi Razique,

 

Is there anything need to have a deeper look?

Virsh list looks like well,same as the instance I created through nova boot.

 

Romi

 

From: Razique Mahroua [mailto:razique.mahroua@ http://gmail.com gmail.com]

Sent: Friday, September 14, 2012 4:10 AM
To: Ritesh Nanda
Cc: romi zhang;  mailto:openstack@lists.launchpad.net
openstack@lists.launchpad.net
Subject: Re: [Openstack] strange problem when reboot nova-compute node:
domain not found: no domain with matching name

 

Hi Romi, 

what $ virsh list --all gives you ?

Nuage  Co - Razique Mahroua 

 mailto:razique.mahr...@gmail.com razique.mahr...@gmail.com


image001.jpg

 

Le 13 sept. 2012 à 21:11, Ritesh Nanda  mailto:riteshnand...@gmail.com
riteshnand...@gmail.com a écrit :






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.

On Thu, Sep 13, 2012 at 9:45 PM, romi zhang  mailto:romizhang1...@163.com
romizhang1...@163.com wrote:

Hi,

 

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-000a’

 

Then I found:  

#ls /var/lib/nova/instances

_base instance-000a instance-000b instance-000c

#ls /etc/libvirt/qemu

instance-000b.xml instance-000c.xml Network

 

So:

/var/lib/nova/instances/instance-000a# virsh define libvirt.xml

Domain instance-000a defined from libvirt.xml

And:

#ls /etc/libvirt/qemu

Instance-000a.xml instance-000b.xml instance-000c.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-000a’

 

Anyone who had met such a problem and why?

 

Regards,

 

romi


___
Mailing list:  https://launchpad.net/~openstack
https://launchpad.net/~openstack
Post to :  mailto:openstack@lists.launchpad.net
openstack@lists.launchpad.net
Unsubscribe :  https://launchpad.net/~openstack
https://launchpad.net/~openstack
More help   :  https://help.launchpad.net/ListHelp
https://help.launchpad.net/ListHelp




--

 With Regards 

 Ritesh Nanda

 

 


___
Mailing list:  https://launchpad.net/~openstack
https://launchpad.net/~openstack
Post to :  mailto:openstack@lists.launchpad.net
openstack@lists.launchpad.net
Unsubscribe :  https://launchpad.net/~openstack
https://launchpad.net/~openstack
More help   :  https://help.launchpad.net/ListHelp
https://help.launchpad.net/ListHelp

 

image001.jpg___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] strange problem when reboot nova-compute node: domain not found: no domain with matching name

2012-09-16 Thread Razique Mahroua
Hey I just wanted to see if the domain was still declared within virsh databasein case you can also go to your instances directory and un a $ virsh define $instance-name/domain.xmlCan you post your nova.conf please ?
Nuage  Co - Razique Mahrouarazique.mahr...@gmail.com

Le 15 sept. 2012 à 08:26, romi zhang romizhang1...@163.com a écrit :Hi Razique,Is there anything need to have a deeper look?Virsh list looks like well,same as the instance I created through nova boot.RomiFrom:Razique Mahroua [mailto:razique.mahroua@gmail.com]Sent:Friday, September 14, 2012 4:10 AMTo:Ritesh NandaCc:romi zhang;openstack@lists.launchpad.netSubject:Re: [Openstack] strange problem when reboot nova-compute node: domain not found: no domain with matching nameHi Romi,what $ virsh list --all gives you ?Nuage  Co - Razique Mahrouarazique.mahr...@gmail.comimage001.jpgLe 13 sept. 2012 à 21:11, Ritesh Nanda riteshnand...@gmail.com a écrit :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.On Thu, Sep 13, 2012 at 9:45 PM, romi zhang romizhang1...@163.com wrote:Hi,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-000a’Then I found: #ls /var/lib/nova/instances_base instance-000a instance-000b instance-000c#ls /etc/libvirt/qemuinstance-000b.xml instance-000c.xml NetworkSo:/var/lib/nova/instances/instance-000a# virsh define libvirt.xmlDomain instance-000a defined from libvirt.xmlAnd:#ls /etc/libvirt/qemuInstance-000a.xml instance-000b.xml instance-000c.xml networkThen 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-000a’Anyone who had met such a problem and why?Regards,romi___Mailing list:https://launchpad.net/~openstackPost to   :openstack@lists.launchpad.netUnsubscribe :https://launchpad.net/~openstackMore help  :https://help.launchpad.net/ListHelp--With RegardsRitesh Nanda___Mailing list:https://launchpad.net/~openstackPost to :openstack@lists.launchpad.netUnsubscribe :https://launchpad.net/~openstackMore help :https://help.launchpad.net/ListHelp___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] strange problem when reboot nova-compute node: domain not found: no domain with matching name

2012-09-16 Thread romi zhang
Ritesh,

 

I will try your method.

 

In the past,when I boot a new instance from a ubuntu image,it works ok.
Centos and windows image was created by me according docs.openstack.org
information,and every time when a new instance created from centos and
windows,system always told me Libvirt: QEMU error: Domain not found: no
domain with matching name,..., but finally, the instance works well.

 

So, I am not clear about the reason.

 

Thanks.

 

Romi

 

From: Ritesh Nanda [mailto:riteshnand...@gmail.com] 
Sent: Friday, September 14, 2012 3:12 AM
To: romi zhang
Cc: openstack@lists.launchpad.net
Subject: Re: [Openstack] strange problem when reboot nova-compute node:
domain not found: no domain with matching name

 

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.

On Thu, Sep 13, 2012 at 9:45 PM, romi zhang romizhang1...@163.com wrote:

Hi,

 

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-000a'

 

Then I found:  

#ls /var/lib/nova/instances

_base instance-000a instance-000b instance-000c

#ls /etc/libvirt/qemu

instance-000b.xml instance-000c.xml Network

 

So:

/var/lib/nova/instances/instance-000a# virsh define libvirt.xml

Domain instance-000a defined from libvirt.xml

And:

#ls /etc/libvirt/qemu

Instance-000a.xml instance-000b.xml instance-000c.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-000a'

 

Anyone who had met such a problem and why?

 

Regards,

 

romi


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp




-- 

 With Regards  

 Ritesh Nanda

 

 

 

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] strange problem when reboot nova-compute node: domain not found: no domain with matching name

2012-09-16 Thread romi zhang
Hi Razique,

 

Is there anything need to have a deeper look?

Virsh list looks like well,same as the instance I created through nova boot.

 

Romi

 

From: Razique Mahroua [mailto:razique.mahr...@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

 

Hi Romi, 

what $ virsh list --all gives you ?

Nuage  Co - Razique Mahroua 

razique.mahr...@gmail.com




 

Le 13 sept. 2012 à 21:11, Ritesh Nanda riteshnand...@gmail.com a écrit :





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.

On Thu, Sep 13, 2012 at 9:45 PM, romi zhang romizhang1...@163.com wrote:

Hi,

 

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-000a’

 

Then I found:  

#ls /var/lib/nova/instances

_base instance-000a instance-000b instance-000c

#ls /etc/libvirt/qemu

instance-000b.xml instance-000c.xml Network

 

So:

/var/lib/nova/instances/instance-000a# virsh define libvirt.xml

Domain instance-000a defined from libvirt.xml

And:

#ls /etc/libvirt/qemu

Instance-000a.xml instance-000b.xml instance-000c.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-000a’

 

Anyone who had met such a problem and why?

 

Regards,

 

romi


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp




-- 

 With Regards  

 Ritesh Nanda

 

 


___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

 

image001.jpg___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


[Openstack] strange problem when reboot nova-compute node: domain not found: no domain with matching name

2012-09-13 Thread romi zhang
Hi,

 

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-000a'

 

Then I found:  

#ls /var/lib/nova/instances

_base instance-000a instance-000b instance-000c

#ls /etc/libvirt/qemu

instance-000b.xml instance-000c.xml Network

 

So:

/var/lib/nova/instances/instance-000a# virsh define libvirt.xml

Domain instance-000a defined from libvirt.xml

And:

#ls /etc/libvirt/qemu

Instance-000a.xml instance-000b.xml instance-000c.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-000a'

 

Anyone who had met such a problem and why?

 

Regards,

 

romi

___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] strange problem when reboot nova-compute node: domain not found: no domain with matching name

2012-09-13 Thread Ritesh Nanda
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.

On Thu, Sep 13, 2012 at 9:45 PM, romi zhang romizhang1...@163.com wrote:

 Hi,

 ** **

 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-000a’

 ** **

 Then I found:  

 #ls /var/lib/nova/instances

 _base instance-000a instance-000b instance-000c

 #ls /etc/libvirt/qemu

 instance-000b.xml instance-000c.xml Network

 ** **

 So:

 /var/lib/nova/instances/instance-000a# virsh define libvirt.xml

 Domain instance-000a defined from libvirt.xml

 And:

 #ls /etc/libvirt/qemu

 Instance-000a.xml instance-000b.xml instance-000c.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-000a’

 ** **

 Anyone who had met such a problem and why?

 ** **

 Regards,

 ** **

 romi

 ___
 Mailing list: https://launchpad.net/~openstack
 Post to : openstack@lists.launchpad.net
 Unsubscribe : https://launchpad.net/~openstack
 More help   : https://help.launchpad.net/ListHelp




-- 

* With Regards
*

* Ritesh Nanda
*

***
*
http://www.ericsson.com/
___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp


Re: [Openstack] strange problem when reboot nova-compute node: domain not found: no domain with matching name

2012-09-13 Thread Razique Mahroua
Hi Romi,what $ virsh list --all gives you ?
Nuage  Co - Razique Mahrouarazique.mahr...@gmail.com

Le 13 sept. 2012 à 21:11, Ritesh Nanda riteshnand...@gmail.com a écrit :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.
On Thu, Sep 13, 2012 at 9:45 PM, romi zhang romizhang1...@163.com wrote:
Hi,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-000a’
Then I found: #ls /var/lib/nova/instances_base instance-000a instance-000b instance-000c#ls /etc/libvirt/qemuinstance-000b.xml instance-000c.xml Network
So:/var/lib/nova/instances/instance-000a# virsh define libvirt.xmlDomain instance-000a defined from libvirt.xmlAnd:#ls /etc/libvirt/qemuInstance-000a.xml instance-000b.xml instance-000c.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-000a’Anyone who had met such a problem and why?Regards,romi
___
Mailing list: https://launchpad.net/~openstack
Post to   : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help  : https://help.launchpad.net/ListHelp
-- With Regards 
Ritesh Nanda

___Mailing list: https://launchpad.net/~openstackPost to : openstack@lists.launchpad.netUnsubscribe : https://launchpad.net/~openstackMore help : https://help.launchpad.net/ListHelp___
Mailing list: https://launchpad.net/~openstack
Post to : openstack@lists.launchpad.net
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp