<!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=宋体>Yes, good
job!</FONT></DIV>
<DIV>Reminder: you should always restart the related service when you
changed the configuration or the source code, otherwise the changes will NOT
take effect.</DIV>
<DIV>you can look up the source code where use the configuration you have
changed to find the related service which should be restarted.</DIV>
<DIV> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2012-11-05</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>蒋平</FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>发送时间:</STRONG>2012-11-04 15:59</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG>Fw:Re: [Openstack] Resize
Server problem from jovaunn.com, hangzhou,China!!!</FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>收件人:</STRONG>"hzwangpan"<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>Hi,wangpan</DIV>
<DIV> I have successfully fixed the bug,you
should not only add 'allow_resize_to_same_host=True',but also input "service
nova-compute restart" and "service nova-api restart" too,that's
wonderful!!!</DIV>
<DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV style="COLOR: #000">
<DIV
style="PADDING-BOTTOM: 2px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: Arial Narrow; FONT-SIZE: 12px; PADDING-TOP: 2px">------------------ Original ------------------</DIV>
<DIV
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV id=menu_sender><B>From: </B> "蒋平"<jiangping@jovaunn.com>;</DIV>
<DIV><B>Date: </B> Sun, Nov 4, 2012 01:27 PM</DIV>
<DIV><B>To: </B> "Wangpan"<hzwangpan@corp.netease.com>; <WBR></DIV>
<DIV></DIV>
<DIV><B>Subject: </B> Re: [Openstack] Resize Server problem from
jovaunn.com, hangzhou,China!!!</DIV></DIV>
<DIV> </DIV>
<DIV>Hi wangpan,</DIV>
<DIV> I really appreciate your help for the bug,I have added
'allow_resize_to_same_host=True' to '/etc/nova/nova.conf' for having only one
compute node.moreover,I have changed the default value
'allow_resize_to_same_host' to 'True' in 'flags.py',unfortunately,there have
been no effect at all.</DIV>
<DIV> I have checked the log file,such as
nova-api.log,nova-scheduler,nova-compute.log carefully by your suggestion,do you
think there have been other reasons such as uncorrect operations not only for
the code.Do you have any other good ideas because I am a freshman in openstack
actually. thank you!!</DIV>
<DIV>
<DIV>
jiangping</DIV>
<DIV>
2012-11-4</DIV>
<DIV style="COLOR: #000">
<DIV
style="PADDING-BOTTOM: 2px; PADDING-LEFT: 0px; PADDING-RIGHT: 0px; FONT-FAMILY: Arial Narrow; FONT-SIZE: 12px; PADDING-TOP: 2px">------------------
Original ------------------</DIV>
<DIV
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV id=menu_sender><B>From:
</B> "Wangpan"<hzwangpan@corp.netease.com>;</DIV>
<DIV><B>Date: </B> Fri, Nov 2, 2012 05:09 PM</DIV>
<DIV><B>To: </B> "蒋平"<jiangping@jovaunn.com>; <WBR></DIV>
<DIV><B>Cc: </B> "openstack"<openstack@lists.launchpad.net>;
<WBR></DIV>
<DIV><B>Subject: </B> Re: [Openstack] Resize Server problem from
jovaunn.com, hangzhou,China!!!</DIV></DIV>
<DIV> </DIV>
<STYLE type=text/css> <!--@import url("scrollbar.css"); --></STYLE>
<STYLE> </STYLE>
<DIV><FONT color=#000000 size=3 face=宋体>Hi jiangping,</FONT></DIV>
<DIV> </DIV>
<DIV>How many compute nodes you have? if just one, you should add
'allow_resize_to_same_host=True' to /etc/nova/nova.conf, and retry.</DIV>
<DIV>if you have more than one compute nodes, it more troublesome, you should be
able to ssh to each other between compute nodes WITHOUT inputting
password.</DIV>
<DIV> </DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cce8cf">and I suggest you check the
nova-api.log, nova-scheduler.log and nova-compute.log if there have some ERROR
messages.</FONT></DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cce8cf"></FONT> </DIV>
<DIV><FONT style="BACKGROUND-COLOR: #cce8cf"></FONT> </DIV>
<DIV align=left><FONT color=#c0c0c0 size=2 face=Verdana>2012-11-02</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>蒋平</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>发送时间:</STRONG>2012-11-02
16:55</FONT></DIV>
<DIV><FONT size=2 face=Verdana><STRONG>主题:</STRONG>[Openstack] Resize Server
problem from jovaunn.com, hangzhou, China!!!</FONT></DIV>
<DIV><FONT size=2
face=Verdana><STRONG>收件人:</STRONG>"openstack"<openstack@lists.launchpad.net>,"xiongdaijun"<xiongdaijun@jovaunn.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>Hi sir,</DIV>
<DIV> I am very glad to write the Email to you,My name
is jiangping who is an engineer majors in openstack from
jovaunn.com,hangzhou,China!!!I have established the environment of openstack
successfully by inputing "tools/with_venv.sh ./manage.py runserver 0.0.0.0:8080"
in terminal and address <A
href="http://192.168.0.15/horizon/">http://192.168.0.15/horizon/</A> in
network column.</DIV>
<DIV> Then I make an instance successfully,for
example:aaa-192.168.0.3-m1.tiny|512MB memory|</DIV>
<DIV>1 VCPU|0 disk,but when I input "nova resize aaa m1.small" in terminal,there
have been no effection,</DIV>
<DIV>and the state of aaa is still "Active",not "Verifying" actually,I am very
confused and anxious for the problem,please help me,thank you!</DIV>
<DIV>
Yours sincerely</DIV>
<DIV>
jiangping</DIV>
<DIV>
2012-11-2</DIV></FONT></DIV></DIV></DIV></DIV></DIV></FONT></DIV></BODY></HTML>