<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Can you ping the destination host from the server where engine
    server is by hostname?<br>
    <br>
    On 2012-4-26 6:33, Christian Hernandez wrote:
    <blockquote
cite="mid:CAH3k4=eXYqk57DtR0apve7phzLGpSLFsyc-PsU_HvEk3-T36Vw@mail.gmail.com"
      type="cite">
      <div>Hello,</div>
      <div><br>
      </div>
      <div>It seems when I try to migrate a VM from one host to another
        I get this error that says "Migration destination has an invalid
        hostname"</div>
      <div><br>
      </div>
      <div>Screenshot</div>
      <div><br>
      </div>
      <div><img src="cid:part1.08010706.06090509@linux.vnet.ibm.com"
          alt="Inline image 1"><br clear="all">
        <br>
        I can ping all machines using hostnames (although shouldn't
        RHEVM and the Hosts be using IPs ?) and they are all are on the
        same network segment...
      </div>
      <div><br>
      </div>
      <div>Here is the engine.log...</div>
      <div><br>
      </div>
      <div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:28,253 WARN
              &nbsp;[org.ovirt.engine.core.bll.GetConfigurationValueQuery]
              (http-0.0.0.0-8443-3) calling GetConfigurationValueQuery
              with null version, using default general for version</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:41,425 INFO &nbsp;[org.ovirt.engine.core.bll.VdsSelector]
              (http-0.0.0.0-8443-2) Checking for a specific VDS only -
              id:77fbced8-8b35-11e1-8da0-0016367ecdf0, name:bluejay,
              host_name(ip):192.168.11.212</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:41,427 INFO
              &nbsp;[org.ovirt.engine.core.bll.MigrateVmToServerCommand]
              (pool-19-thread-50) Running command:
              MigrateVmToServerCommand internal: false. Entities
              affected : &nbsp;ID: 7e871cc7-b81c-4036-ad9c-abf1fdd8aa4d Type:
              VM</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:41,431 INFO &nbsp;[org.ovirt.engine.core.bll.VdsSelector]
              (pool-19-thread-50) Checking for a specific VDS only -
              id:77fbced8-8b35-11e1-8da0-0016367ecdf0, name:bluejay,
              host_name(ip):192.168.11.212</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:41,439 INFO
              &nbsp;[org.ovirt.engine.core.vdsbroker.MigrateVDSCommand]
              (pool-19-thread-50) START, MigrateVDSCommand(vdsId =
              54ec5874-8e2b-11e1-886b-0016367ecdf0,
              vmId=7e871cc7-b81c-4036-ad9c-abf1fdd8aa4d,
              srcHost=192.168.11.35,
              dstVdsId=77fbced8-8b35-11e1-8da0-0016367ecdf0, dstHost=<a
                moz-do-not-send="true"
                href="http://192.168.11.212:54321">192.168.11.212:54321</a>,
              migrationMethod=ONLINE), log id: 5ece0de4</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:41,442 INFO
              &nbsp;[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand]
              (pool-19-thread-50) VdsBroker::migrate::Entered
              (vm_guid=7e871cc7-b81c-4036-ad9c-abf1fdd8aa4d,
              srcHost=192.168.11.35, dstHost=<a moz-do-not-send="true"
                href="http://192.168.11.212:54321">192.168.11.212:54321</a>,
              &nbsp;method=online</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:41,442 INFO
              &nbsp;[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand]
              (pool-19-thread-50) START, MigrateBrokerVDSCommand(vdsId =
              54ec5874-8e2b-11e1-886b-0016367ecdf0,
              vmId=7e871cc7-b81c-4036-ad9c-abf1fdd8aa4d,
              srcHost=192.168.11.35,
              dstVdsId=77fbced8-8b35-11e1-8da0-0016367ecdf0, dstHost=<a
                moz-do-not-send="true"
                href="http://192.168.11.212:54321">192.168.11.212:54321</a>,
              migrationMethod=ONLINE), log id: 5c246e15</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:41,451 INFO
              &nbsp;[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand]
              (pool-19-thread-50) FINISH, MigrateBrokerVDSCommand, log
              id: 5c246e15</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:41,466 INFO
              &nbsp;[org.ovirt.engine.core.vdsbroker.MigrateVDSCommand]
              (pool-19-thread-50) FINISH, MigrateVDSCommand, return:
              MigratingFrom, log id: 5ece0de4</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:42,798 ERROR
              [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo]
              (QuartzScheduler_Worker-78) Rerun vm
              7e871cc7-b81c-4036-ad9c-abf1fdd8aa4d. Called from vds
              cardinal</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:42,804 INFO
              &nbsp;[org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
              (pool-19-thread-50) START,
              UpdateVdsDynamicDataVDSCommand(vdsId =
              77fbced8-8b35-11e1-8da0-0016367ecdf0,
              vdsDynamic=org.ovirt.engine.core.common.businessentities.VdsDynamic@6c529ae4),
              log id: 36b80b46</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:42,814 INFO
              &nbsp;[org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand]
              (pool-19-thread-50) FINISH,
              UpdateVdsDynamicDataVDSCommand, log id: 36b80b46</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:42,819 INFO
              &nbsp;[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
              (pool-19-thread-50) START, MigrateStatusVDSCommand(vdsId =
              54ec5874-8e2b-11e1-886b-0016367ecdf0,
              vmId=7e871cc7-b81c-4036-ad9c-abf1fdd8aa4d), log id:
              207b57d8</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:42,826 INFO
              &nbsp;[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
              (pool-19-thread-50) Command
              org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand
              return value</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>&nbsp;Class Name:
              org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>mStatus &nbsp; &nbsp; &nbsp; &nbsp;
              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Class Name:
              org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>mCode &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; 39</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>mMessage &nbsp; &nbsp; &nbsp;
              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;Migration destination has an invalid
              hostname</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i><br>
            </i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i><br>
            </i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:42,826 INFO
              &nbsp;[org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase]
              (pool-19-thread-50) Vds: cardinal</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:42,827 ERROR
              [org.ovirt.engine.core.vdsbroker.VDSCommandBase]
              (pool-19-thread-50) Command MigrateStatusVDS execution
              failed. Exception: VDSErrorException: VDSGenericException:
              VDSErrorException: Failed in vdscommand to
              MigrateStatusVDS, error = Migration destination has an
              invalid hostname</i></font></div>
        <div><font face="'comic sans ms', sans-serif"><i>2012-04-25
              15:27:42,827 INFO
              &nbsp;[org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
              (pool-19-thread-50) FINISH, MigrateStatusVDSCommand, log
              id: 207b57d8</i></font></div>
      </div>
      <div><br>
      </div>
      <div>What can be the issue?</div>
      <div><br>
      </div>
      <div>--Christian</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
    <br>
    <pre class="moz-signature" cols="72">-- 
Shu Ming <a class="moz-txt-link-rfc2396E" href="mailto:shuming@linux.vnet.ibm.com">&lt;shuming@linux.vnet.ibm.com&gt;</a>
IBM China Systems and Technology Laboratory</pre>
  </body>
</html>