这是在邮件列表里面看到的,没有亲试,就是在resize实例的时候没有反应。解决办法:配置文件/etc/nova/nova.conf添加一项allow_resize_to_same_host=True,重启nova-compute和nova-api服务。
邮件原文如下:
Yes, good job!
Reminder: you should always restart the related service when you changed the configuration or the source code, otherwise the changes will NOT take effect.
you can look up the source code where use the configuration you have changed to find the related service which should be restarted.
2012-11-05
Wangpan
发件人:蒋平
发送时间:2012-11-04 15:59
主题:Fw:Re: [Openstack] Resize Server problem from jovaunn.com, hangzhou,China!!!
收件人:"hzwangpan"<hzwangpan@corp.netease.com>
抄送:
Hi,wangpan
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 wond