<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thanks!<br>
      <br>
      It works! .. sort of...<br>
      Migration starts, but it fails with <a
        href="http://paste.openstack.org/show/55116/">error message</a>.<br>
      Looks like in OpenStack is not supported shared storage with
      XenServer. <a href="https://bugs.launchpad.net/nova/+bug/1201863">https://bugs.launchpad.net/nova/+bug/1201863</a><br>
      <br>
      On 2013.12.17. 10:24, wu jiang wrote:<br>
    </div>
    <blockquote
cite="mid:CAEfJYtRmGs3sUvzXJYio8dUM4tKyHPzi4Q+NMZDLhLJ5Sp5_mQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi Mārtiņš,
        <div><br>
          <div>Add 'allow_resize_to_same_host=True' to
            /etc/nova/nova.conf, restart nova service (api/compute) and
            try again~</div>
        </div>
        <div><br>
        </div>
        <div><br>
        </div>
        <div>wingwj</div>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">On Tue, Dec 17, 2013 at 4:08 PM,
          Mārtiņš Jakubovičs <span dir="ltr"><<a
              moz-do-not-send="true" href="mailto:martins@hostnet.lv"
              target="_blank">martins@hostnet.lv</a>></span> wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hello all,<br>
              <br>
              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 <a
                moz-do-not-send="true"
                href="http://paste.openstack.org/show/55109/"
                target="_blank">nova-conductor.log</a> 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.<br>
              <br>
              Error message:<br>
              <br>
              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.<br>
              Traceback (most recent call last):<br>
              <br>
                File
              "/usr/lib/python2.7/dist-packages/nova/openstack/common/rpc/common.py",
              line 420, in catch_client_exception<br>
                  return func(*args, **kwargs)<br>
              <br>
                File
              "/usr/lib/python2.7/dist-packages/nova/scheduler/manager.py",
              line 298, in select_destinations<br>
                  filter_properties)<br>
              <br>
                File
              "/usr/lib/python2.7/dist-packages/nova/scheduler/filter_scheduler.py",
              line 148, in select_destinations<br>
                  raise exception.NoValidHost(reason='')<br>
              <br>
              NoValidHost: No valid host was found.<br>
              <br>
              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.<br>
              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<br>
            </div>
            <br>
            _______________________________________________<br>
            Mailing list: <a moz-do-not-send="true"
              href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
              target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
            Post to     : <a moz-do-not-send="true"
              href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
            Unsubscribe : <a moz-do-not-send="true"
              href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
              target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
    </blockquote>
  </body>
</html>