<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<STYLE type=text/css> <!--@import url(scrollbar.css); --></STYLE>

<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>                   body{FONT-SIZE:12pt; FONT-FAMILY:宋体,serif;}         </STYLE>

<META name=GENERATOR content="MSHTML 8.00.7601.17824"><BASE 
target=_blank></HEAD>
<BODY 
style="LINE-HEIGHT: 1.3; BORDER-RIGHT-WIDTH: 0px; MARGIN: 12px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" 
marginheight="0" marginwidth="0">
<DIV><FONT color=#000000 size=3 face=宋体>if the hypervisor is 
kvm, you can check the qemu log is there any 
exceptions, like /var/log/libvirt/qemu/instance-00000111.log</FONT></DIV>
<DIV>if Xen used, log file is at /var/log/xen/qemu-*.log</DIV>
<DIV> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2012-12-06</FONT></DIV>
<DIV align=left><FONT size=2 face=Verdana>
<HR style="WIDTH: 122px; HEIGHT: 2px" id=SignNameHR align=left SIZE=2>
</FONT></DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana><SPAN 
id=_FlashSignName>Wangpan</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Verdana>
<HR>
</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发件人:</STRONG>pyw</FONT></DIV>
<DIV><FONT size=2 
face=Verdana><STRONG>发送时间:</STRONG>2012-12-06 12:05</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG>Re: [Openstack] Why my vm 
often change into shut off status by itself?</FONT></DIV>
<DIV><FONT size=2 
face=Verdana><STRONG>收件人:</STRONG>"Wangpan"<hzwangpan@corp.netease.com></FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>抄送:</STRONG></FONT></DIV>
<DIV><FONT size=2 face=Verdana></FONT> </DIV>
<DIV><FONT size=2 face=Verdana>
<DIV>Thank you for answer.</DIV>My image is OK,after vm created, I can login my 
instance.
<DIV>I have many virtual machines running (10+), generally after a few days(1+) 
a virtual machine automatic shutoff occurs.Yesterday, the situation becomes 
worse, suddenly all the virtual machines all shut off.I did not see anything 
unusual logs in nova (did not see the warning/error)<BR></DIV>
<DIV>
<DIV><BR></DIV>
<DIV>I use devstack , and nova version is(last commit):</DIV>
<DIV>*   commit 3d418dcf860894523eff62a8338d09d58e994b0e<BR></DIV>
<DIV>
<DIV>  Merge: e76848a 8b4896b</DIV>
<DIV> Author: Jenkins <<A 
href="mailto:jenkins@review.openstack.org">jenkins@review.openstack.org</A>></DIV>
<DIV> Date:   Sun Nov 4 00:49:54 2012 +0000</DIV>
<DIV> </DIV>
<DIV>     Merge "handles empty dhcp_domain with hostname in 
metadata" into stable/folsom</DIV></DIV></DIV>
<DIV><BR></DIV>
<DIV>And I do not upgrade nova.<BR></DIV>
<DIV class=gmail_extra><BR><BR>
<DIV class=gmail_quote>2012/12/6 Wangpan <SPAN dir=ltr><<A 
href="mailto:hzwangpan@corp.netease.com" 
target=_blank>hzwangpan@corp.netease.com</A>></SPAN><BR>
<BLOCKQUOTE 
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex" 
class=gmail_quote><U></U>
  <DIV 
  style="LINE-HEIGHT: 1.3; BORDER-RIGHT-WIDTH: 0px; MARGIN: 12px; BORDER-TOP-WIDTH: 0px; BORDER-BOTTOM-WIDTH: 0px; BORDER-LEFT-WIDTH: 0px" 
  marginheight="0" marginwidth="0">
  <DIV><FONT color=#000000 size=3 face=宋体>hi peng<FONT 
  face=Verdana>yuwei,</FONT></FONT></DIV>
  <DIV><FONT face=Verdana>I guess may be your image of VMs is broken,so 
  your VMs will shutoff after being created,</FONT></DIV>
  <DIV><FONT face=Verdana>just a guess.</FONT></DIV>
  <DIV><FONT face=Verdana>good luck!</FONT></DIV>
  <DIV> </DIV>
  <DIV align=left><FONT color=#c0c0c0 face=Verdana>2012-12-06</FONT></DIV>
  <DIV align=left><FONT face=Verdana>
  <HR style="MIN-HEIGHT: 2px; WIDTH: 122px" align=left SIZE=2>
  <SPAN class=HOEnZb><FONT color=#888888></FONT></SPAN></FONT></DIV><SPAN 
  class=HOEnZb><FONT color=#888888>
  <DIV align=left><FONT color=#c0c0c0 
  face=Verdana><SPAN>Wangpan</SPAN></FONT></DIV>
  <DIV><FONT face=Verdana>
  <HR>
  </FONT></DIV>
  <DIV><FONT face=Verdana><STRONG>发件人:</STRONG>pyw</FONT></DIV>
  <DIV><FONT face=Verdana><STRONG>发送时间:</STRONG><A href="tel:2012-12-06%C2%A011" 
  target=_blank value="+862012120611">2012-12-06 11</A>:00</FONT></DIV>
  <DIV><FONT face=Verdana><STRONG>主题:</STRONG>[Openstack] Why my vm often change 
  into shut off status by itself?</FONT></DIV>
  <DIV><FONT face=Verdana><STRONG>收件人:</STRONG>"openstack"<<A 
  href="mailto:openstack@lists.launchpad.net" 
  target=_blank>openstack@lists.launchpad.net</A>></FONT></DIV>
  <DIV><FONT face=Verdana><STRONG>抄送:</STRONG></FONT></DIV></FONT></SPAN>
  <DIV>
  <DIV class=h5>
  <DIV><FONT face=Verdana></FONT> </DIV>
  <DIV><FONT face=Verdana>
  <DIV>My virtual machine created, often in the absence of intervention into the 
  stopped state: </DIV>
  <DIV>
  <DIV><BR></DIV>
  <DIV>pyw@ven-1:~/devstack$ virsh list --all</DIV>
  <DIV> Id Name                 
  State</DIV>
  <DIV>----------------------------------</DIV>
  <DIV>  - instance-00000040    shut off<BR></DIV>
  <DIV>  - instance-00000044    shut off</DIV>
  <DIV>  - instance-00000045    shut off</DIV>
  <DIV>  - instance-00000046    shut off</DIV>
  <DIV>  - instance-00000047    shut off</DIV>
  <DIV>  - instance-0000005b    shut off</DIV>
  <DIV>  - instance-0000005e    shut off</DIV>
  <DIV>  - instance-00000065    shut off</DIV>
  <DIV>  - instance-0000006e    shut off</DIV>
  <DIV>  - instance-00000075    shut off</DIV>
  <DIV>  - instance-00000076    shut off</DIV>
  <DIV>  - instance-00000077    shut off</DIV>
  <DIV>  - instance-0000007c    shut off</DIV>
  <DIV>  - instance-0000007d    shut off</DIV>
  <DIV>  - instance-00000081    shut off</DIV>
  <DIV>  - instance-00000082    shut off</DIV>
  <DIV>  - instance-00000083    shut off</DIV>
  <DIV>  - instance-00000084    shut off</DIV>
  <DIV>  - instance-00000085    shut off</DIV></DIV>
  <DIV><BR></DIV>
  <DIV>query the nova the database, you can see:</DIV>
  <DIV>vm_state: stopped</DIV>
  <DIV>Why is 
this?</DIV></FONT></DIV></DIV></DIV></DIV></BLOCKQUOTE></DIV><BR></DIV></FONT></DIV></BODY></HTML>