<div dir="ltr">Ok, I was mislead by the manual clone output and that of vm.log. So yes it is a permission problem. <div><br></div><div>In your tests you are using</div><div><br></div><div>oneadmin@sealion:~/vms > ssh oneadmin@sealion</div>


<div><br></div><div>BUT the name of the host is sealion.ine.corp</div><div><br></div><div>Can you double check with the same hostname, just in case you are not facing a hostname resolution issue.</div><div><br></div><div>


Cheers</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 10, 2013 at 8:25 PM, Mark Biggers <span dir="ltr"><<a href="mailto:mbiggers@ine.com" target="_blank">mbiggers@ine.com</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">
    oops... now, to the list!<div><div><br>
    <div><br>
      -------- Original Message --------
      <table border="0" cellpadding="0" cellspacing="0">
        <tbody>
          <tr>
            <th align="RIGHT" nowrap valign="BASELINE">Subject:
            </th>
            <td>Re: [one-users] showstopper -- can't create VMs after
              upgrade to OpenNebula 4.4</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap valign="BASELINE">Date: </th>
            <td>12/10/2013 11:23 AM</td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap valign="BASELINE">From: </th>
            <td>Mark Biggers <a href="mailto:mbiggers@ine.com" target="_blank"><mbiggers@ine.com></a></td>
          </tr>
          <tr>
            <th align="RIGHT" nowrap valign="BASELINE">To: </th>
            <td>Ruben S. Montero <a href="mailto:rsmontero@opennebula.org" target="_blank"><rsmontero@opennebula.org></a></td>
          </tr>
        </tbody>
      </table>
      <br>
      <br>
      
      <div>On 12/10/2013 11:00 AM, Ruben S.
        Montero wrote:<br>
        <br>
        <tt>Hello Ruben, thanks much for the quick! response:<br>
          <br>
             > So it seems more a problem with a non-existing file.
          The problem is with cp:<br>
             > cp: cannot create regular file
          '/var/lib/one/datastores/0/61/disk.0': No such file or
          directory<br>
             > So can you double check:<br>
             > 1.- All files can be accessed in the hosts
          /var/lib/one/datastores/0 and
          /var/lib/one/datastores/1/20288f3556d15e65b1dfdc540a450226<br>
          <br>
          These look fine to me, other than missing folders under
          datastores (by VM id), when the clone command runs...<br>
          <br>
          oneadmin@sealion:~ > ll /var/lib/one/datastores/0
          /var/lib/one/datastores/1/20288f3556d15e65b1dfdc540a450226 |
          dpaste<br>
          <a href="https://dpaste.de/2coQ/raw" target="_blank">https://dpaste.de/2coQ/raw</a><br>
          <br>
          oneadmin@sealion:~ > ll  -d /var/lib/one/datastores/[012] |
          dpaste<br>
          <a href="https://dpaste.de/wfR8/raw" target="_blank">https://dpaste.de/wfR8/raw</a><br>
          <br>
          <br>
             > 2.- If you are using SSH can you check that the
          datastores are configured properly.<br>
          <br>
             > 3.- If no progress send the configuration of the
          datasotres onedatastore show 0 and 1, and vm.log file.<br>
             > <br>
          <br>
          Not sure how to do that, here's the configs.  I have not
          "touched" the Datastores configs, ever - other than by
          creating VMs, I suppose.<br>
          <br>
          oneadmin@sealion:~ > oneds list<br>
            ID NAME                SIZE AVAIL CLUSTER      IMAGES TYPE
          DS       TM      <br>
             0 system             22.1G 61%   -                 0 sys 
          -        shared<br>
             1 default            22.1G 61%   -                 3 img 
          fs       shared<br>
             2 files              22.1G 61%   -                 0 fil 
          fs       ssh<br>
          <br>
          oneadmin@sealion:~ > oneds show 0 | dpaste<br>
          <a href="https://dpaste.de/v53t/raw" target="_blank">https://dpaste.de/v53t/raw</a><br>
          oneadmin@sealion:~ > oneds show 1 | dpaste<br>
          <a href="https://dpaste.de/OIj7/raw" target="_blank">https://dpaste.de/OIj7/raw</a><br>
          oneadmin@sealion:~ > oneds show 2 | dpaste<br>
          <a href="https://dpaste.de/WYA6/raw" target="_blank">https://dpaste.de/WYA6/raw</a><br>
          <br>
          # ---- images & templates<br>
          <br>
          oneadmin@sealion:~ > oneimage show 9 | dpaste<br>
          <a href="https://dpaste.de/Avna/raw" target="_blank">https://dpaste.de/Avna/raw</a><br>
          <br>
          oneadmin@sealion:~ > onetemplate list | dpaste<br>
          <a href="https://dpaste.de/LUBa/raw" target="_blank">https://dpaste.de/LUBa/raw</a><br>
          <br>
          oneadmin@sealion:~ > onetemplate show 48 | dpaste<br>
          <a href="https://dpaste.de/Z48S/raw" target="_blank">https://dpaste.de/Z48S/raw</a><br>
          <br>
          oneadmin@sealion:~ > onetemplate show 52 | dpaste<br>
          <a href="https://dpaste.de/VH3C/raw" target="_blank">https://dpaste.de/VH3C/raw</a><br>
          <br>
          <br>
        </tt><br>
        <br>
        <br>
      </div>
      <blockquote type="cite">
        <div dir="ltr"><br>
        </div>
        <br>
        <div class="gmail_extra"><br>
          <div class="gmail_quote">On Tue, Dec 10, 2013 at 4:28 PM, Mark
            Biggers <span dir="ltr">
              <<a href="mailto:mbiggers@ine.com" target="_blank">mbiggers@ine.com</a>></span>
            wrote:<br>
            <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
              Hello ONE team,<br>
              <br>
              So... after the upgrade to 4.4 OpenNebula on openSuse
              Linux 12.3<br>
              (x86_64), I can no longer create VMs.<br>
              <br>
              The log seems to indicate a SSH login-failure (requiring
              passsword?)<br>
              <br>
              Seen below at the end of this message, it's clear that
              'oneadmin' user<br>
              can do passwordless logins...<br>
              <br>
              Please let me know what may be going on; the log is not
              that<br>
              informative.  I did run (as 'oneadmin') the Ruby/ONE
              "clone" command by<br>
              hand, with the results, below...<br>
              <br>
              (thanks in advance for any insights - this is a
              *showstopper*...)<br>
              <br>
----------------------------------------------------------------<br>
              <br>
              oneadmin@sealion:~ > cat /var/log/one/61.log | dpaste<br>
              <a href="https://dpaste.de/6I9O/raw" target="_blank">https://dpaste.de/6I9O/raw</a><br>
              <br>
              oneadmin@sealion:~/vms > oneds list | dpaste<br>
              <a href="https://dpaste.de/b0Tj/raw" target="_blank">https://dpaste.de/b0Tj/raw</a><br>
              <br>
              oneadmin@sealion:~ > onevm show 61 -x | dpaste<br>
              <a href="https://dpaste.de/mgT3/raw" target="_blank">https://dpaste.de/mgT3/raw</a><br>
              <br>
              oneadmin@sealion:~ > onevm list<br>
                  ID USER     GROUP    NAME            STAT UCPU    UMEM<br>
              HOST             TIME<br>
                  48 oneadmin oneadmin ttylinux-00     unkn   14    192M
              <a href="http://sealion.in" target="_blank">
                sealion.in</a><br>
              4d 21h31<br>
                  49 oneadmin oneadmin Vyatta Router 6 unkn    0    768M
              <a href="http://sealion.in" target="_blank">
                sealion.in</a><br>
              4d 21h27<br>
                  59 oneadmin oneadmin ttylinxr-0001   fail    0      0K<br>
              0d 00h00<br>
                  61 oneadmin oneadmin ttylnx-raw-02   fail    0      0K<br>
              0d 00h00<br>
              <br>
              oneadmin@sealion:~/vms >
              /var/lib/one/remotes/tm/shared/clone<br>
sealion.ine.corp:/var/lib/one/datastores/1/20288f3556d15e65b1dfdc540a450226<br>
              sealion.ine.corp:/var/lib/one//datastores/0/61/disk.0
              2>&1 | dpaste<br>
              <a href="https://dpaste.de/oZJw/raw" target="_blank">https://dpaste.de/oZJw/raw</a><br>
              <br>
              ---------------------------------------------- ssh
              attempts: all OK<br>
              <br>
              oneadmin@sealion:~/vms > ssh oneadmin@sealion<br>
              Last login: Tue Dec 10 10:05:59 2013 from 10.7.1.30<br>
              oneadmin@sealion:~ > exit<br>
              logout<br>
              Connection to sealion closed.<br>
              <br>
              oneadmin@sealion:~/vms > ssh sealion<br>
              Last failed login: Tue Dec 10 10:07:00 EST 2013 from
              sealion.ine.corp on<br>
              ssh:notty<br>
              There were 12 failed login attempts since the last
              successful login.<br>
              Last login: Tue Dec 10 09:45:29 2013 from 10.7.1.30<br>
              sealion.ine.corp:2526 $ exit<br>
              Connection to sealion closed.<br>
              <br>
              oneadmin@sealion:~/vms > ssh oneadmin@localhost<br>
              Last login: Tue Dec 10 10:13:13 2013 from sealion.ine.corp<br>
              oneadmin@sealion:~ > exit<br>
              logout<br>
              Connection to localhost closed.<br>
              <br>
              oneadmin@sealion:~/vms > ssh localhost<br>
              Last login: Tue Dec 10 10:13:20 2013 from sealion.ine.corp<br>
              sealion.ine.corp:2527 $ exit<br>
              Connection to localhost closed<br>
              <br>
              _______________________________________________<br>
              Users mailing list<br>
              <a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
              <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
            </blockquote>
          </div>
          <br>
          <br clear="all">
          <div><br>
          </div>
          -- <br>
          <div dir="ltr">
            <div>
              <div>-- <br>
              </div>
            </div>
            Ruben S. Montero, PhD<br>
            Project co-Lead and Chief Architect
            <div>OpenNebula - Flexible Enterprise Cloud Made Simple<br>
              <a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> |
              <a href="mailto:rsmontero@opennebula.org" target="_blank">
                rsmontero@opennebula.org</a> | @OpenNebula</div>
          </div>
        </div>
      </blockquote>
      <br>
      <br>
    </div>
    <br>
  </div></div></div>

<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org" target="_blank">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org<br clear="all"><div><br></div>-- <br></a><div dir="ltr"><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank"><div>

<div>-- <br></div></div>Ruben S. Montero, PhD<br>Project co-Lead and Chief Architect</a><div><a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">OpenNebula - Flexible Enterprise Cloud Made Simple<br>

</a><a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:rsmontero@opennebula.org" target="_blank">rsmontero@opennebula.org</a> | @OpenNebula</div></div>

</blockquote></div></div></div>