<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    On 06/07/2012 05:23 AM, Andrey F. wrote:
    <blockquote
cite="mid:CAD7sfFwi3eeT3mqsNjCttjU8AXLKb-1zqVAsV=S-HN6WPnLd1w@mail.gmail.com"
      type="cite">Hi everybody,<br>
      <br>
      We are trying to optimize our continuous integration system around
      our ovirt-management software (i.e. we call into the ovirt apis to
      create VMs, do funny stuff with the VMs, etc.). For our tests, we
      deployed a VM that boots extremely quickly (2 seconds) in hoping
      to speed up our tests. Unfortunately, ovirt is not updating the
      state of the VM to "Up" as fast as we'd like. VDSM show the
      following in the logs:<br>
      <br>
      <span style="font-size:11pt;font-family:&quot;Lucida Grande&quot;">Thread-420807::DEBUG::2012-06-06
22:14:47,662::clientIF::54::vds::(wrapper)
        [10.225.52.7]::call <b>getVmStats </b>with
        ('e3b250c9-a5ca-42da-bd8f-245a3ef4bbfb',) {}<br>
        Thread-420807::DEBUG::2012-06-06
        22:14:47,663::libvirtvm::222::vm.Vm::(_getDiskStats)
        vmId=`e3b250c9-a5ca-42da-bd8f-245a3ef4bbfb`::<b>Disk stats not
          available<br>
        </b>Thread-420807::DEBUG::2012-06-06
        22:14:47,663::libvirtvm::251::vm.Vm::(_getDiskLatency)
        vmId=`e3b250c9-a5ca-42da-bd8f-245a3ef4bbfb`::<b>Disk latency not
          available<br>
        </b></span><span style="font-size: 11pt; font-family:
        &quot;Lucida Grande&quot;;">Thread-420807::DEBUG::2012-06-06
        22:14:47,663::clientIF::59::vds::(wrapper) return getVmStats
        with {'status':
        {'message': 'Done', 'code': 0}, 'statsList': [{'status': 'Up',
        'username':
        'Unknown', 'memUsage': '0', 'acpiEnable': 'tru<br>
        e', 'pid': '32299', 'displayIp': '0', 'displayPort': u'5900',
        'session': 'Unknown',
        'displaySecurePort': u'5901', 'cdrom':
'/rhev/data-center/c861891c-7011-4209-9871-73c4b4e42560/b1ad8b2c-d2e1-479b-be2e-90fcbe446e86/images/11111111<br>
        -1111-1111-1111-111111111111/CorePlus-current.iso', 'pauseCode':
        'NOERR',
        'clientIp': '', 'kvmEnable': 'true', 'network': {u'vnet0':
        {'macAddr':
        u'00:1a:4a:a8:7a:50', 'rxDropped': '0', 'rxErrors': '0',
        'txDropped': '0',
        'txRate': '<br>
        0.0', 'rxRate': '0.0', 'txErrors': '0', 'state': 'unknown',
        'speed': '1000',
        'name': u'vnet0'}}, 'vmId':
        'e3b250c9-a5ca-42da-bd8f-245a3ef4bbfb',
        'monitorResponse': '0', 'cpuUser': '0.00', 'disks': {u'vda':
        {'readLatency':
        '0', 'app<br>
        arentsize': '1073741824', 'writeLatency': '0', 'imageID':
        '38ffdd23-e16d-4cde-a384-3290450fe87f', 'flushLatency': '0',
        'truesize':
        '1073741824'}}, 'boot': 'c', 'statsAge': '1.81', 'cpuIdle':
        '100.00',
        'elapsedTime': '61', 'vmType':<br>
        &nbsp;'kvm', 'cpuSys': '0.00', 'timeOffset': '0', 'appsList': [],
        'guestIPs':
        '', 'displayType': 'qxl', 'nice': ''}]}<br>
        <br>
        This repeats for about a minute until the VM is finally marked
        "Up". Is there any trick we can do to get ovirt to mark the VM
        "Up" quicker? Perhaps generate some sort of activity on the VM?<br>
        <br>
        Thanks,<br>
        Andrey<br>
      </span></blockquote>
    <br>
    Do you have the guest agent installed on the guest?<br>
    Y.<br>
    <br>
    <blockquote
cite="mid:CAD7sfFwi3eeT3mqsNjCttjU8AXLKb-1zqVAsV=S-HN6WPnLd1w@mail.gmail.com"
      type="cite"><span style="font-size:11.0pt;font-family:&quot;Lucida
        Grande&quot;"><br>
        <br>
      </span>
      <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>
  </body>
</html>