Thanks!

It works! .. sort of...
Migration starts, but it fails with error message <http://paste.openstack.org/show/55116/>. Looks like in OpenStack is not supported shared storage with XenServer. https://bugs.launchpad.net/nova/+bug/1201863

On 2013.12.17. 10:24, wu jiang wrote:
Hi Mārtiņš,

Add 'allow_resize_to_same_host=True' to /etc/nova/nova.conf, restart nova service (api/compute) and try again~


wingwj


On Tue, Dec 17, 2013 at 4:08 PM, Mārtiņš Jakubovičs <[email protected] <mailto:[email protected]>> wrote:

    Hello all,

    I got a lot problems with XenServer + OpenStack and one more is
    with instance resize. When I attempt to resize instance nothing
    happens, only in nova-conductor.log
    <http://paste.openstack.org/show/55109/> I got some error
    messages. Maybe someone know how to fix this? Looks like schaduler
    can't find host, but in my setup in current moment I got only one
    host.

    Error message:

    2013-12-17 09:52:50.611 9598 WARNING nova.scheduler.utils
    [req-3f26dac5-e043-4173-a547-4988abf2120f
    a7712da5cc054f819886dbe5a89429d5 76619aca43f841e0bed1a3b89ce8b426]
    Failed to compute_task_migrate_server: No valid host was found.
    Traceback (most recent call last):

      File
    "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/common.py",
    line 420, in catch_client_exception
        return func(*args, **kwargs)

      File
    "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py", line
    298, in select_destinations
        filter_properties)

      File
    "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py",
    line 148, in select_destinations
        raise exception.NoValidHost(reason='')

    NoValidHost: No valid host was found.

    2013-12-17 09:52:50.615 9598 WARNING nova.scheduler.utils
    [req-3f26dac5-e043-4173-a547-4988abf2120f
    a7712da5cc054f819886dbe5a89429d5 76619aca43f841e0bed1a3b89ce8b426]
    [instance: cad657b7-85b7-487a-b659-22604d83364d] Setting instance
    to ACTIVE state.
    2013-12-17 09:52:50.697 9598 WARNING nova.conductor.manager
    [req-3f26dac5-e043-4173-a547-4988abf2120f
    a7712da5cc054f819886dbe5a89429d5 76619aca43f841e0bed1a3b89ce8b426]
    No valid host found for cold migrate

    _______________________________________________
    Mailing list:
    http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
    Post to     : [email protected]
    <mailto:[email protected]>
    Unsubscribe :
    http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack


_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to