[one-users] problems connecting to VM using ssh
Daniele Fetoni
daniele.fetoni at hotmail.it
Mon Jun 7 01:38:36 PDT 2010
I have changed name in all networks and Vms templates as you said, but still nothing.
The ttylinux downloaded from opennebula repository should already have ssh server, isn't it?
Subject: RE: [one-users] problems connecting to VM using ssh
Date: Fri, 4 Jun 2010 15:04:17 -0400
From: tedbs at gtsum.com
To: users at lists.opennebula.org; daniele.fetoni at hotmail.it
OpenNebula might not like the period (.) in the NAME in your
template. Try something like Ubuntu10_04 instead.
Did you install openssh-server in your virtual machine? If not,
you won’t be able to ssh to it.
Please reply through the list, so that others can benefit from
this thread.
Ted Bodfish
From: Daniele Fetoni
[mailto:daniele.fetoni at hotmail.it]
Sent: June-04-10 9:29 AM
To: tedbs
Subject: RE: [one-users] problems connecting to VM using ssh
First, thanks for your time.
I have changed localhost in Graphics as you said and I managed to see ttylinux
with vnc, but still I cannot connect via ssh, and if I submit any other image,
then I got the same error.
Funny, isn't it?
Maybe I can't run any other VM because of Ubuntu 10.04 has a bug about kvm-pxe
package.
https://bugs.launchpad.net/ubuntu/+source/etherboot/+bug/574524
Anyway, I'm trying to submit this template
NAME = Ubuntu10.04
CPU = 0.5
MEMORY = 512
DISK = [
source =
"/srv/cloud/images/ubuntu-10.04-netbook-armel+imx51.img",
target = "hda",
save = "yes",
readonly = "no"
]
NIC = [network = "labtlc_LAN"]
GRAPHICS = [
type="vnc",
listen="localhost",
port="5858"
]
on the same network where ttylinux runs.
Something's worng in the template?
Subject: RE: [one-users] problems
connecting to VM using ssh
Date: Fri, 4 Jun 2010 09:04:50 -0400
From: tedbs at gtsum.com
To: daniele.fetoni at hotmail.it; users at lists.opennebula.org
I see two issues:
1) Try listen=”localhost” in GRAPHICS. The IP
address you used is not a valid address.
2) The virtual machines are managed by OpenNebula on the front
end. The virtual machines run on different computers, the hosts. virsh list on
the front end shows nothing. Try it on the host where the virtual machine is
running.
Ted Bodfish
From: Daniele Fetoni
[mailto:daniele.fetoni at hotmail.it]
Sent: June-04-10 8:01 AM
To: users at lists.opennebula.org
Subject: Re: [one-users] problems connecting to VM using ssh
I just found that there are no domains in
virsh list.
Due to this, even if VMs are running, I cannot suspend and restart them, or
everything else, because virsh has not a domain to call.
Maybe if I manage to connect to VMs, this problem will be solved too.
From: daniele.fetoni at hotmail.it
To: users at lists.opennebula.org
Subject: problems connecting to VM using ssh
Date: Fri, 4 Jun 2010 10:30:41 +0200
Hi there
I'm a researcher from università di Perugia, triying to create a cloud to make
some tests.
I'm having some troubles connecting to VM
I manage to create a virtual machine, its state is runn and through virtual
machine manager that the resources from node are taken.
But, I cannot connect via ssh to VMs, neither run one of these (VMM says
"graphical console not configured for guest").
so, I tried to put in VM templates this
GRAPHICS = [
type="vnc",
listen="192.168.0.0",
port="5858"
]
in order to see if I can connect via vnc, but if I add this, VM deployment
fails.
If I do not use Graphics, VM submission is OK, logs doesn't show everything
bad, but I cannot reach VMs, even ping fails.
If I use Graphics, submission will fail. This is oned.log
Fri Jun 4 10:09:35 2010 [VMM][D]: Message received: LOG - 90 Command
execution fail: 'mkdir -p /srv/cloud/one/var/90/images && cat >
/srv/cloud/one/var/90/images/deployment.0 && virsh --connect
qemu:///system create /srv/cloud/one/var/90/images/deployment.0'
Fri Jun 4 10:09:35 2010 [VMM][D]: Message received: LOG - 90 STDERR
follows.
Fri Jun 4 10:09:35 2010 [VMM][D]: Message received: LOG - 90
/usr/lib/ruby/1.8/open3.rb:73: warning: Insecure world writable dir
/srv/cloud/one/var in PATH, mode 040777
Fri Jun 4 10:09:35 2010 [VMM][D]: Message received: LOG - 90 error:
Failed to create domain from /srv/cloud/one/var/90/images/deployment.0
Fri Jun 4 10:09:35 2010 [VMM][D]: Message received: LOG - 90 error:
monitor socket did not show up.: Connection refused
Fri Jun 4 10:09:35 2010 [VMM][D]: Message received: LOG - 90 ExitCode: 1
Fri Jun 4 10:09:35 2010 [VMM][D]: Message received: DEPLOY FAILURE 90 -
And here is VM log
Fri Jun 4 10:09:05 2010 [VMM][I]: Generating deployment file:
/srv/cloud/one/var/90/deployment.0
Fri Jun 4 10:09:35 2010 [VMM][I]: Command execution fail: 'mkdir -p
/srv/cloud/one/var/90/images && cat >
/srv/cloud/one/var/90/images/deployment.0 && virsh --connect
qemu:///system create /srv/cloud/one/var/90/images/deployment.0'
Fri Jun 4 10:09:35 2010 [VMM][I]: STDERR follows.
Fri Jun 4 10:09:35 2010 [VMM][I]: /usr/lib/ruby/1.8/open3.rb:73: warning:
Insecure world writable dir /srv/cloud/one/var in PATH, mode 040777
Fri Jun 4 10:09:35 2010 [VMM][I]: error: Failed to create domain from
/srv/cloud/one/var/90/images/deployment.0
Fri Jun 4 10:09:35 2010 [VMM][I]: error: monitor socket did not show up.:
Connection refused
Fri Jun 4 10:09:35 2010 [VMM][I]: ExitCode: 1
Fri Jun 4 10:09:35 2010 [VMM][E]: Error deploying virtual machine
Fri Jun 4 10:09:35 2010 [DiM][I]: New VM state is FAILED
Probably, submission fails because the front end cannot ssh the virtual
machine, so the problem is: why I can't connect to VMs using ssh, or even ping?
I tried using both ttylinux.img and ubuntu 10.04.img as image files, but
nothing changed.
Please, give me a tip!!
Cheers
Daniele Fetoni
Il
tuo mondo MSN a portata di clic. Scarica IE8 per MSN
Messenger
Radio. La radio che si
fa cliccare!
Un
mondo di personalizzazioni per Messenger, PC e cellulare, scaricale gratis!
_________________________________________________________________
Non sei a casa? Accedi a Messenger dal Web.
http://www.messenger.it/web/default.aspx
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100607/aade3069/attachment-0003.htm>
More information about the Users
mailing list