[one-users] problems connecting to VM using ssh
Daniele Fetoni
daniele.fetoni at hotmail.it
Fri Jun 4 05:00:50 PDT 2010
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
_________________________________________________________________
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/20100604/9e38657d/attachment-0003.htm>
More information about the Users
mailing list