这是在邮件列表里面看到的,没有亲试,就是在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 wonderful!!!
------------------ Original ------------------
From: "蒋平"<jiangping@jovaunn.com>;
Date: Sun, Nov 4, 2012 01:27 PM
To: "Wangpan"<hzwangpan@corp.netease.com>;
Subject: Re: [Openstack] Resize Server problem from jovaunn.com, hangzhou,China!!!
Hi wangpan,
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.
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!!
jiangping
2012-11-4
------------------ Original ------------------
From: "Wangpan"<hzwangpan@corp.netease.com>;
Date: Fri, Nov 2, 2012 05:09 PM
To: "蒋平"<jiangping@jovaunn.com>;
Cc: "openstack"<openstack@lists.launchpad.net>;
Subject: Re: [Openstack] Resize Server problem from jovaunn.com, hangzhou,China!!!
Hi jiangping,
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.
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.
and I suggest you check the nova-api.log, nova-scheduler.log and nova-compute.log if there have some ERROR messages.
2012-11-02
Wangpan
发件人:蒋平
发送时间:2012-11-02 16:55
主题:[Openstack] Resize Server problem from jovaunn.com, hangzhou, China!!!
收件人:"openstack"<openstack@lists.launchpad.net>,"xiongdaijun"<xiongdaijun@jovaunn.com>
抄送:
Hi sir,
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 http://192.168.0.15/horizon/ in network column.
Then I make an instance successfully,for example:aaa-192.168.0.3-m1.tiny|512MB memory|
1 VCPU|0 disk,but when I input "nova resize aaa m1.small" in terminal,there have been no effection,
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!
Yours sincerely
jiangping
2012-11-2
分享到:
相关推荐
pb 9 resize 实例源代码 一个简单的例子
浏览器窗口大小变化时使用resize事件对框架不起作用的解决办法,如下: 代码如下:$(window).resize(function(){var surH = $(window).height();$(“.pic_conent”).height(surH);} 当浏览器变化,拉大拉小时,没有...
解决firefox下resize事件无效问题
为了简化调整操作, RESIZE 不让调整从窗口角, 以便 HTTOPRIGHT 点击测试代码并返回 HTBOTTOM 或 HTTOP 替代 HTBOTTOMLEFT HTTOPLEFT, HTBOTTOMRIGHT, 应用程序和用户。 由此, 鼠标光标准确反映调整的方向。 当 ...
resizeWindow.txt resizeWindow.txt resizeWindow.txtresizeWindow.txtresizeWindow.txt resizeWindow.txt resizeWindow.txt resizeWindow.txt
解决页面echarts 图表 resize问题 ...所以采用原生的方法来处理,再结合windows 自带的原生 resize 事件处理 浏览器宽度高度变化,可以不使用插件来处理问题了。 <div id="leftEchartPie" ref="leftEchartPie
易语言模块ReSize.rar 易语言模块ReSize.rar 易语言模块ReSize.rar 易语言模块ReSize.rar 易语言模块ReSize.rar 易语言模块ReSize.rar
HashMap之resize()方法源码解读,分两部分概述扩容方法涉及到的处理:创建新数组,将旧数组元素转移到新数组上
bilinear resize code embedded
matlab实现resize函数,调用方法为MyResize(I,scale,method),其中I为图像读入矩阵,scale为放大或缩小的系数,method支持nearest和bilinear两种方式
use directshow to resize
Perfect Resize有获得专利的分形插值算法,易于上手的操作面板给你带来的图片放大结果不言自明。其前身onOne Genuine Fractals PrintPro是一款Adobe PhotoShop分形及打印插件,它通过对图象进行复杂的运算建模提取...
Smart resize for monochrome bitmaps不失真的改变单色位图的尺寸(38KB)
jquery的resize()事件,直接调用没有起作用引入该文件来实现resize()方法。
ext2resize在线格式化分区功能同ext2onlinet和resize2fs
Resize效果很简单的例子,效果灵活多用可以制造很多意向不到的小玩意儿
Image Resize Guide可以自由调整图片大小,当前能够修改图片大小软件很多很多,基本上图片处理软件都能修改图片大小。 你只需点击几次鼠标,软件会自动帮你完成余下的工作。对雪景,水或绿树背景的图片效果出众,重要...
ckfinderplugin-imageresize-2.3.jar下载
php缩放图片类resizeimage 经测试可直接使用
jquery中的resize只能应用在windwo、document上,不可用在标签元素上例如: $('body').resize(); //这样是无效的。 该文件对resize进行了加强,能够对元素标签起作用,只要引用了该文件,则上面的写法就会生效