resize实例不成功的解决办法

这是在邮件列表里面看到的,没有亲试,就是在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



  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值