<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Well, I like the pun :) but I don't know what to say.. <br>
    <br>
    I added the "<font face="'courier new', monospace">arguments  = "-t
      15 -r 0 kvm",</font>" line to the oned.conf as suggested, I
    rebooted the system and checked that the file was not changed in
    other ways (and it wasn't) but still that's what I got..<br>
    <br>
    Furthermore of all the .conf files I have, oned.conf it's the only
    one where I can put something like that so it's not that other
    configurations override that one<br>
    <br>
    Thanks for your help,<br>
    <br>
    Cheers<br>
    <br>
    On 21/12/11 10.43, Ruben S. Montero wrote:
    <blockquote
cite="mid:CAGi56terSPKFijYFhKCybApW5NKLXNz-R-XMiBeVhsjOW=b-fA@mail.gmail.com"
      type="cite">Seems, you are still missing the arguments. The
      oned.conf used by the deamon (as shown in your logs) is:
      <div><br>
      </div>
      <div>VM_MAD=DEFAULT=vmm_exec/vmm_exec_kvm.conf,EXECUTABLE=one_vmm_exec,NAME=vmm_kvm,TYPE=kvm</div>
      <div>
        <br>
      </div>
      <div>no ARGUMENTS there....</div>
      <div><br>
      </div>
      <div>Cheers</div>
      <div><br>
      </div>
      <div>Ruben</div>
      <div><br>
        <br>
        <div class="gmail_quote">2011/12/20 Stefano Ghio <span
            dir="ltr"><<a moz-do-not-send="true"
              href="mailto:steghio@eng.it">steghio@eng.it</a>></span><br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div bgcolor="#FFFFFF" text="#000000"> Hi and thanks for
              your answer,<br>
              <br>
              I tried it but it was no use, log says:<br>
              <br>
              cat /var/log/one/oned.log <br>
              <br>
              Tue Dec 20 16:12:05 2011 [ONE][I]: Init OpenNebula Log
              system<br>
              Tue Dec 20 16:12:05 2011 [ONE][I]: Log Level: 3
              [0=ERROR,1=WARNING,2=INFO,3=DEBUG]<br>
              Tue Dec 20 16:12:05 2011 [ONE][I]:
              ----------------------------------------<br>
              Tue Dec 20 16:12:05 2011 [ONE][I]:      OpenNebula
              Configuration File      <br>
              Tue Dec 20 16:12:05 2011 [ONE][I]:
              ----------------------------------------<br>
              Tue Dec 20 16:12:05 2011 [ONE][I]: <br>
              ----------------------------------<br>
              DB=BACKEND=sqlite<br>
              DEBUG_LEVEL=3<br>
              DEFAULT_DEVICE_PREFIX=hd<br>
              DEFAULT_IMAGE_TYPE=OS<br>
              HM_MAD=EXECUTABLE=one_hm<br>
              HOST_MONITORING_INTERVAL=60<br>
              HOST_PER_INTERVAL=15<br>
              IMAGE_MAD=ARGUMENTS=fs -t 15,EXECUTABLE=one_image<br>
              IM_MAD=ARGUMENTS=-r 0 -t 15
              kvm,EXECUTABLE=one_im_ssh,NAME=im_kvm<br>
              MAC_PREFIX=02:00<br>
              MANAGER_TIMER=15<br>
              NETWORK_SIZE=254<br>
              PORT=2633<br>
              SCRIPTS_REMOTE_DIR=/var/tmp/one/<br>
TM_MAD=ARGUMENTS=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,NAME=tm_ssh<br>
              VM_DIR=/var/lib/one/<br>
VM_MAD=DEFAULT=vmm_exec/vmm_exec_kvm.conf,EXECUTABLE=one_vmm_exec,NAME=vmm_kvm,TYPE=kvm<br>
              VM_PER_INTERVAL=5<br>
              VM_POLLING_INTERVAL=60<br>
              VNC_BASE_PORT=5900<br>
              ----------------------------------<br>
              Tue Dec 20 16:12:05 2011 [ONE][I]: Checking database
              version.<br>
              Tue Dec 20 16:12:05 2011 [VMM][I]: Starting Virtual
              Machine Manager...<br>
              Tue Dec 20 16:12:05 2011 [LCM][I]: Starting Life-cycle
              Manager...<br>
              Tue Dec 20 16:12:05 2011 [InM][I]: Starting Information
              Manager...<br>
              Tue Dec 20 16:12:05 2011 [TrM][I]: Starting Transfer
              Manager...<br>
              Tue Dec 20 16:12:05 2011 [DiM][I]: Starting Dispatch
              Manager...<br>
              Tue Dec 20 16:12:05 2011 [HKM][I]: Starting Hook
              Manager...<br>
              Tue Dec 20 16:12:05 2011 [ImM][I]: Starting Image
              Manager...<br>
              Tue Dec 20 16:12:05 2011 [ReM][I]: Starting Request
              Manager...<br>
              Tue Dec 20 16:12:05 2011 [ReM][I]: Starting XML-RPC
              server, port 2633 ...<br>
              Tue Dec 20 16:12:05 2011 [DiM][I]: Dispatch Manager
              started.<br>
              Tue Dec 20 16:12:05 2011 [HKM][I]: Hook Manager started.<br>
              Tue Dec 20 16:12:05 2011 [ImM][I]: Image Manager started.<br>
              Tue Dec 20 16:12:05 2011 [ReM][I]: Request Manager
              started.<br>
              Tue Dec 20 16:12:05 2011 [TrM][I]: Transfer Manager
              started.<br>
              Tue Dec 20 16:12:05 2011 [InM][I]: Information Manager
              started.<br>
              Tue Dec 20 16:12:05 2011 [LCM][I]: Life-cycle Manager
              started.<br>
              Tue Dec 20 16:12:05 2011 [VMM][I]: Virtual Machine Manager
              started.<br>
              Tue Dec 20 16:12:07 2011 [VMM][I]: Loading Virtual Machine
              Manager drivers.<br>
              Tue Dec 20 16:12:07 2011 [VMM][I]:     Loading driver:
              vmm_kvm (KVM)<br>
              Tue Dec 20 16:12:07 2011 [MAD][E]: MAD did not answer INIT
              command<br>
              Tue Dec 20 16:12:07 2011 [InM][I]: Loading Information
              Manager drivers.<br>
              Tue Dec 20 16:12:07 2011 [InM][I]:     Loading driver:
              im_kvm<br>
              Tue Dec 20 16:12:07 2011 [MAD][E]: MAD did not answer INIT
              command<br>
              Tue Dec 20 16:12:07 2011 [TM][I]: Loading Transfer Manager
              drivers.<br>
              Tue Dec 20 16:12:07 2011 [VMM][I]:     Loading driver:
              tm_ssh<br>
              Tue Dec 20 16:12:07 2011 [MAD][E]: MAD did not answer INIT
              command<br>
              Tue Dec 20 16:12:07 2011 [HKM][I]: Loading Hook Manager
              driver.<br>
              Tue Dec 20 16:12:07 2011 [MAD][E]: MAD did not answer INIT
              command<br>
              Tue Dec 20 16:12:07 2011 [ImM][I]: Loading Image Manager
              driver.<br>
              Tue Dec 20 16:12:08 2011 [MAD][E]: MAD did not answer INIT
              command<br>
              <br>
              on the front-end machine I have /etc/one/im_kvm directory
              empty while /usr/lib/one/mads is populated. On the host
              machine I have a directory /var/tmp/one where the
              front-end successfully copied some files and directories
              (not empty):<br>
              <ul>
                <li>auth</li>
                <li>hooks</li>
                <li>im - ganglia.d kvm.d run_probes xen.d<br>
                </li>
                <li>image</li>
                <li>scripts_common.rb</li>
                <li>scripts_common.sh</li>
                <li>vmm - kvm xen<br>
                </li>
              </ul>
              Furthermore "virsh -c qemu+ssh://host/system list" works
              as well as qemu+tcp so I guess the two machines are able
              to find and communicate with each other.<br>
              <br>
              On the front-end machine if I try
              "/usr/lib/one/mads/one_im_ssh im_kvm_/im_kvm.conf" and
              then I type "INIT" I see "INIT SUCCESS--". On the host
              machine there is no such file.<br>
              <br>
              I'm at a loss here..
              <div>
                <div class="h5"><br>
                  <br>
                  On 20/12/11 15.48, Carlos Martín Sánchez wrote:
                  <blockquote type="cite">Hi,
                    <div><br>
                    </div>
                    <div>From the error message you pasted, it looks
                      like the vmm_kvm driver crashed.</div>
                    <div><br>
                    </div>
                    <div>Can you check the first lines from oned.log and
                      look for these messages?</div>
                    <div><br>
                    </div>
                    <div>
                      <div><font face="'courier new', monospace">Tue Dec
                          20 06:42:30 2011 [VMM][I]: Loading Virtual
                          Machine Manager drivers.</font></div>
                      <div><font face="'courier new', monospace">Tue Dec
                          20 06:42:30 2011 [VMM][I]:      Loading
                          driver: vmm_kvm (KVM)</font></div>
                      <div><font face="'courier new', monospace">Tue Dec
                          20 06:42:30 2011 [VMM][I]:      Driver vmm_kvm
                          loaded.</font></div>
                    </div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div>After a quick glimpse at your oned.conf, I see
                      that the 'arguments' line is missing from your kvm
                      VM_MAD. This is the default one:</div>
                    <div><br>
                    </div>
                    <div>
                      <div><font face="'courier new', monospace">VM_MAD
                          = [</font></div>
                      <div><font face="'courier new', monospace">   
                          name       = "vmm_kvm",</font></div>
                      <div><font face="'courier new', monospace">   
                          executable = "one_vmm_exec",</font></div>
                      <div><font face="'courier new', monospace">   
                          arguments  = "-t 15 -r 0 kvm",</font></div>
                      <div><font face="'courier new', monospace">   
                          default    = "vmm_exec/vmm_exec_kvm.conf",</font></div>
                      <div><font face="'courier new', monospace">   
                          type       = "kvm" ]</font></div>
                    </div>
                    <div><br>
                    </div>
                    <div>Maybe that is causing the driver to fail...</div>
                    <div><br>
                    </div>
                    <div><br>
                    </div>
                    <div>Regards.</div>
                    <div><span
style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px">--<br>
                        Carlos Martín, MSc<br>
                        Project Engineer<br>
                        OpenNebula - The Open Source Toolkit for Data
                        Center Virtualization<br>
                        <a moz-do-not-send="true"
                          href="http://www.OpenNebula.org"
                          target="_blank">www.OpenNebula.org</a> | <a
                          moz-do-not-send="true"
                          href="mailto:cmartin@opennebula.org"
                          target="_blank">cmartin@opennebula.org</a> | <a
                          moz-do-not-send="true"
                          href="http://twitter.com/opennebula"
                          target="_blank">@OpenNebula</a></span><span
style="border-collapse:collapse;color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px"></span><br>
                      <br>
                      <br>
                      <div class="gmail_quote">On Tue, Dec 20, 2011 at
                        11:52 AM, Stefano Ghio <span dir="ltr"><<a
                            moz-do-not-send="true"
                            href="mailto:steghio@eng.it" target="_blank">steghio@eng.it</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"> Cheers,<br>
                            <br>
                            I'm having trouble starting new VM instances
                            with ONE. I get to the point where the
                            machine state is BOOT, then I get:<br>
                            <pre><span>[VMM][E]: deploy_action, error getting driver vmm_kvm</span></pre>
                            and immediately after the machine state is
                            FAILED. I was trying with the ttylinux.img
                            downloaded from the ONE website but it fails
                            with any image I give it. Full log is
                            attached as vm_log.txt<br>
                            <br>
                            I tried with both FIXED and RANGED virtual
                            networks.<br>
                            <br>
                            I'm using ONE front-end on a Ubuntu 11.04 32
                            bit virtualized with VirtualBox and I set up
                            the host machine on a dedicated server with
                            Ubuntu 11.04. I installed ONE 3.0.0 from
                            apt.<br>
                            <br>
                            From the Sunstone GUI I can see that ONE
                            sees the host and successfully talks to it
                            (I can monitor it and I see the image file
                            transfer happening). Both front-end and host
                            are configured with user oneadmin in group
                            oneadmin and libvirt and KVM with same UID
                            and GID.<br>
                            <br>
                            I installed on both machines:<br>
                            <ul>
                              <li>libvirt-bin 0.8.8</li>
                              <li>ruby 1.8.7</li>
                              <li>qemu-kvm 0.14.0</li>
                              <li>sqlite3 3.7.4</li>
                              <li>libxml2 2.7.8</li>
                              <li>expat 2.0.1</li>
                              <li>curl 7.21.3</li>
                            </ul>
                            <p>with the -dev version too where
                              available.<br>
                            </p>
                            SSH is configured properly and the server
                            starts with no problems. I can successfully
                            upload an image but when I try to start it I
                            get the issue in topic.<br>
                            <br>
                            I also downloaded vmcontext.sh 18-05-2011
                            release from <a moz-do-not-send="true"
                              href="http://dev.opennebula.org"
                              target="_blank">dev.opennebula.org</a> and
                            copied it in /etc/init.d but when I run
                            "update-rc.d vmcontext.sh start 01 S" I get
                            "warning: vmcontext.sh start runlevel
                            arguments (none) do not match LSB
                            Default-Start values (S)". But I think this
                            is unrelated.<br>
                            <br>
                            front-end and host configuration files
                            (which are exactly the same) are attached as
                            one_conf.tar.gz. Asterisk * marks the
                            files/folders missing on the host. I have:<br>
                            <br>
                            /etc/libvirt/qemu.conf<br>
                            /etc/libvirt/libvirtd.conf<br>
                            /etc/default/libvrit-bin<br>
                            * /etc/one<br>
                            * /etc/one/oned.conf<br>
                            * /etc/one/im_kvm which is empty on the
                            front-end<br>
                            * /etc/one/vmm_exec/vmm_exec_kvm.conf<br>
                            * /usr/lib/one/mads<br>
                            * /var/lib/one/remotes<br>
                            <br>
                            even setting the front-end machine as the
                            host does not change anything, transfer ok
                            then failure when starting.<br>
                            <br>
                            I tried everything I could find by searching
                            this problem around but nothing worked. I
                            could really use your help here, any ideas?<br>
                            <br>
                            Thank you,<br>
                            <br>
                            have a nice day<span><font color="#888888"><br>
                                <div>-- <br>
                                  Dr. Stefano Ghio - ENG Engineering
                                  Italy<br>
                                  <br>
                                  Website: <a moz-do-not-send="true"
                                    href="http://groglogs.blogspot.com/"
                                    target="_blank">http://groglogs.blogspot.com/</a><br>
                                  <br>
                                  <b>If you received this message but
                                    you are not its recipient, please
                                    ignore it and warn me, thank you.</b></div>
                              </font></span></div>
                          <br>
_______________________________________________<br>
                          Users mailing list<br>
                          <a moz-do-not-send="true"
                            href="mailto:Users@lists.opennebula.org"
                            target="_blank">Users@lists.opennebula.org</a><br>
                          <a moz-do-not-send="true"
                            href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
                            target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
                          <br>
                        </blockquote>
                      </div>
                      <br>
                    </div>
                    <br>
                    <fieldset></fieldset>
                    <br>
                    <pre>_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a>
<a moz-do-not-send="true" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
                  </blockquote>
                  <br>
                  <br>
                  <div>-- <br>
                    Dr. Stefano Ghio - ENG Engineering Italy<br>
                    <br>
                    Website: <a moz-do-not-send="true"
                      href="http://groglogs.blogspot.com/"
                      target="_blank">http://groglogs.blogspot.com/</a><br>
                    <br>
                    <b>If you received this message but you are not its
                      recipient, please ignore it and warn me, thank
                      you.</b></div>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            Users mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
              target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
            <br>
          </blockquote>
        </div>
        <br>
        <br clear="all">
        <div><br>
        </div>
        -- <br>
        Dr. Ruben Santiago Montero<br>
        Associate Professor (Profesor Titular), Complutense University
        of Madrid<br>
        <br>
        URL: <a moz-do-not-send="true"
          href="http://dsa-research.org/doku.php?id=people:ruben"
          target="_blank">http://dsa-research.org/doku.php?id=people:ruben</a><br>
        Weblog: <a moz-do-not-send="true"
          href="http://blog.dsa-research.org/?author=7" target="_blank">http://blog.dsa-research.org/?author=7</a><br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a>
</pre>
    </blockquote>
    <br>
    <br>
    <div class="moz-signature">-- <br>
      Dr. Stefano Ghio - ENG Engineering Italy<br>
      <br>
      Website: <a href="http://groglogs.blogspot.com/">http://groglogs.blogspot.com/</a><br>
      <br>
      <b>If you received this message but you are not its recipient,
        please ignore it and warn me, thank you.</b></div>
  </body>
</html>