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"<[email protected]>
抄送:
 
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:  "蔣平"<[email protected]>;
Date:  Sun, Nov 4, 2012 01:27 PM
To:  "Wangpan"<[email protected]>;
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"<[email protected]>;
Date:  Fri, Nov 2, 2012 05:09 PM
To:  "蔣平"<[email protected]>;
Cc:  "openstack"<[email protected]>;
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"<[email protected]>,"xiongdaijun"<[email protected]>
抄送:
 
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



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章