[Openstack] Resize Server problem from jovaunn.com, hangzhou, China!!!

Wangpan hzwangpan at corp.netease.com
Mon Nov 5 01:47:02 UTC 2012


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 at 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 at jovaunn.com>;
Date:  Sun, Nov 4, 2012 01:27 PM
To:  "Wangpan"<hzwangpan at 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 at corp.netease.com>;
Date:  Fri, Nov 2, 2012 05:09 PM
To:  "蒋平"<jiangping at jovaunn.com>; 
Cc:  "openstack"<openstack at 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 at lists.launchpad.net>,"xiongdaijun"<xiongdaijun at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121105/d419313d/attachment.html>


More information about the Openstack mailing list