[one-users] Fwd: Re: showstopper -- can't create VMs after upgrade to OpenNebula 4.4

Mark Biggers mbiggers at ine.com
Tue Dec 10 14:36:48 PST 2013


Already did all that...  "sealion" is just an alias in /etc/hosts, for sealion.ine.corp.

Perhaps this StackEx note, is related to my issue??   With the ONE (ruby) command "clone"?
    http://unix.stackexchange.com/questions/37884/how-to-copy-with-scp-between-two-servers-using-key-auth

Here's my failure, on another attempt  --  onevm delete --recreate 62

Tue Dec 10 17:32:30 2013 [TM][E]: clone: Command "scp -r sealion.ine.corp:/var/lib/one/datastores/1/20288f3556d15e65b1dfdc540a450226 sealion.ine.corp:/var/lib/one//datastores/0/62/disk.0" failed: Permission denied (publickey,keyboard-interactive).
Tue Dec 10 17:32:30 2013 [TM][E]: Error copying sealion.ine.corp:/var/lib/one/datastores/1/20288f3556d15e65b1dfdc540a450226 to sealion.ine.corp:/var/lib/one//datastores/0/62/disk.0
Tue Dec 10 17:32:30 2013 [TM][I]: ExitCode: 1
Tue Dec 10 17:32:30 2013 [TM][E]: Error executing image transfer script: Error copying sealion.ine.corp:/var/lib/one/datastores/1/20288f3556d15e65b1dfdc540a450226 to sealion.ine.corp:/var/lib/one//datastores/0/62/disk.0
Tue Dec 10 17:32:31 2013 [DiM][I]: New VM state is FAILED
Should the "clone" ing create a *source hostname* for the scp command (as above), and why?  How would the ssh pubkey authentication work, in this case??   (If I drop the "source hostname" in the scp command above, the scp works fine...)

Thank you for your assistance,
----mark

On 12/10/2013 05:27 PM, Ruben S. Montero wrote:
Ok, I was mislead by the manual clone output and that of vm.log. So yes it is a permission problem.

In your tests you are using

oneadmin at sealion:~/vms > ssh oneadmin at sealion

BUT the name of the host is sealion.ine.corp

Can you double check with the same hostname, just in case you are not facing a hostname resolution issue.

Cheers


On Tue, Dec 10, 2013 at 8:25 PM, Mark Biggers <mbiggers at ine.com<mailto:mbiggers at ine.com>> wrote:
oops... now, to the list!


-------- Original Message --------
Subject:        Re: [one-users] showstopper -- can't create VMs after upgrade to OpenNebula 4.4
Date:   12/10/2013 11:23 AM
From:   Mark Biggers <mbiggers at ine.com><mailto:mbiggers at ine.com>
To:     Ruben S. Montero <rsmontero at opennebula.org><mailto:rsmontero at opennebula.org>


On 12/10/2013 11:00 AM, Ruben S. Montero wrote:

Hello Ruben, thanks much for the quick! response:

   > So it seems more a problem with a non-existing file. The problem is with cp:
   > cp: cannot create regular file '/var/lib/one/datastores/0/61/disk.0': No such file or directory
   > So can you double check:
   > 1.- All files can be accessed in the hosts /var/lib/one/datastores/0 and /var/lib/one/datastores/1/20288f3556d15e65b1dfdc540a450226

These look fine to me, other than missing folders under datastores (by VM id), when the clone command runs...

oneadmin at sealion:~ > ll /var/lib/one/datastores/0 /var/lib/one/datastores/1/20288f3556d15e65b1dfdc540a450226 | dpaste
https://dpaste.de/2coQ/raw

oneadmin at sealion:~ > ll  -d /var/lib/one/datastores/[012] | dpaste
https://dpaste.de/wfR8/raw


   > 2.- If you are using SSH can you check that the datastores are configured properly.

   > 3.- If no progress send the configuration of the datasotres onedatastore show 0 and 1, and vm.log file.
   >

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.

oneadmin at sealion:~ > oneds list
  ID NAME                SIZE AVAIL CLUSTER      IMAGES TYPE DS       TM
   0 system             22.1G 61%   -                 0 sys  -        shared
   1 default            22.1G 61%   -                 3 img  fs       shared
   2 files              22.1G 61%   -                 0 fil  fs       ssh

oneadmin at sealion:~ > oneds show 0 | dpaste
https://dpaste.de/v53t/raw
oneadmin at sealion:~ > oneds show 1 | dpaste
https://dpaste.de/OIj7/raw
oneadmin at sealion:~ > oneds show 2 | dpaste
https://dpaste.de/WYA6/raw

# ---- images & templates

oneadmin at sealion:~ > oneimage show 9 | dpaste
https://dpaste.de/Avna/raw

oneadmin at sealion:~ > onetemplate list | dpaste
https://dpaste.de/LUBa/raw

oneadmin at sealion:~ > onetemplate show 48 | dpaste
https://dpaste.de/Z48S/raw

oneadmin at sealion:~ > onetemplate show 52 | dpaste
https://dpaste.de/VH3C/raw








On Tue, Dec 10, 2013 at 4:28 PM, Mark Biggers <mbiggers at ine.com<mailto:mbiggers at ine.com>> wrote:
Hello ONE team,

So... after the upgrade to 4.4 OpenNebula on openSuse Linux 12.3
(x86_64), I can no longer create VMs.

The log seems to indicate a SSH login-failure (requiring passsword?)

Seen below at the end of this message, it's clear that 'oneadmin' user
can do passwordless logins...

Please let me know what may be going on; the log is not that
informative.  I did run (as 'oneadmin') the Ruby/ONE "clone" command by
hand, with the results, below...

(thanks in advance for any insights - this is a *showstopper*...)

----------------------------------------------------------------

oneadmin at sealion:~ > cat /var/log/one/61.log | dpaste
https://dpaste.de/6I9O/raw

oneadmin at sealion:~/vms > oneds list | dpaste
https://dpaste.de/b0Tj/raw

oneadmin at sealion:~ > onevm show 61 -x | dpaste
https://dpaste.de/mgT3/raw

oneadmin at sealion:~ > onevm list
    ID USER     GROUP    NAME            STAT UCPU    UMEM
HOST             TIME
    48 oneadmin oneadmin ttylinux-00     unkn   14    192M sealion.in<http://sealion.in>
4d 21h31
    49 oneadmin oneadmin Vyatta Router 6 unkn    0    768M sealion.in<http://sealion.in>
4d 21h27
    59 oneadmin oneadmin ttylinxr-0001   fail    0      0K
0d 00h00
    61 oneadmin oneadmin ttylnx-raw-02   fail    0      0K
0d 00h00

oneadmin at sealion:~/vms > /var/lib/one/remotes/tm/shared/clone
sealion.ine.corp:/var/lib/one/datastores/1/20288f3556d15e65b1dfdc540a450226
sealion.ine.corp:/var/lib/one//datastores/0/61/disk.0 2>&1 | dpaste
https://dpaste.de/oZJw/raw

---------------------------------------------- ssh attempts: all OK

oneadmin at sealion:~/vms > ssh oneadmin at sealion
Last login: Tue Dec 10 10:05:59 2013 from 10.7.1.30
oneadmin at sealion:~ > exit
logout
Connection to sealion closed.

oneadmin at sealion:~/vms > ssh sealion
Last failed login: Tue Dec 10 10:07:00 EST 2013 from sealion.ine.corp on
ssh:notty
There were 12 failed login attempts since the last successful login.
Last login: Tue Dec 10 09:45:29 2013 from 10.7.1.30
sealion.ine.corp:2526 $ exit
Connection to sealion closed.

oneadmin at sealion:~/vms > ssh oneadmin at localhost
Last login: Tue Dec 10 10:13:13 2013 from sealion.ine.corp
oneadmin at sealion:~ > exit
logout
Connection to localhost closed.

oneadmin at sealion:~/vms > ssh localhost
Last login: Tue Dec 10 10:13:20 2013 from sealion.ine.corp
sealion.ine.corp:2527 $ exit
Connection to localhost closed

_______________________________________________
Users mailing list
Users at lists.opennebula.org<mailto:Users at lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org



--
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org<http://www.OpenNebula.org> | rsmontero at opennebula.org<mailto:rsmontero at opennebula.org> | @OpenNebula




_______________________________________________
Users mailing list
Users at lists.opennebula.org<mailto:Users at lists.opennebula.org>
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

--
<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
--
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - Flexible Enterprise Cloud Made Simple
<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>www.OpenNebula.org<http://www.OpenNebula.org> | rsmontero at opennebula.org<mailto:rsmontero at opennebula.org> | @OpenNebula

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20131210/1ba8f02e/attachment-0002.htm>


More information about the Users mailing list