[one-users] problems connecting to VM using ssh
Daniele Fetoni
daniele.fetoni at hotmail.it
Fri Jun 4 01:30:41 PDT 2010
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
_________________________________________________________________
Gratis per te Avatar per Messenger e sfondi per il PC
http://www.experience.windows.com/landing2.aspx?culture=it-it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100604/a49ce0f5/attachment-0002.htm>
More information about the Users
mailing list