[one-users] vm not reachable via ssh
Denis Jurkovic
DenisJurkovic at web.de
Wed Jun 10 03:09:30 PDT 2009
hi,
So here you go, as far as i can tell there are no significant differences.
maybe i am missing something in the template file of my vm.
Thanks for your help !
cheers
Denis
/////////////////////////////////xen deployment file////////////////////////////////////////////
# Configuration file for the Xen instance testimage4, created
# by xen-tools 3.9 on Thu Jun 4 17:33:54 2009.
#
#
# Kernel + memory size
#
kernel = '/boot/vmlinuz-2.6.26-2-xen-686'
ramdisk = '/boot/initrd.img-2.6.26-2-xen-686'
memory = '128'
#
# Disk device(s).
#
root = '/dev/xvda2 ro'
disk = [
'file:/home/denis/Desktop/domains/testimage4/swap.img,xvda1,w',
'file:/home/denis/Desktop/domains/testimage4/disk.img,xvda2,w',
]
#
# Hostname
#
name = 'testimage4'
#
# Networking
#
vif = [ 'ip=141.28.94.111,mac=00:16:3E:17:1A:69' ]
#
# Behaviour
#
on_poweroff = 'destroy'
on_reboot = 'restart'
on_crash = 'restart'
///////////////////////////////////////deployment.0///////////////////////////////////////////////
name = 'one-20'
#O CPU_CREDITS = 26
memory = '128'
kernel = '/boot/vmlinuz-2.6.26-2-xen-686'
ramdisk = '/boot/initrd.img-2.6.26-2-xen-686'
root = '/dev/xvda2'
disk = [
'tap:aio:/var/lib/one//20/images/disk.0,xvda1,w',
'tap:aio:/var/lib/one//20/images/disk.1,xvda2,w',
]
vif = [
'mac=00:16:3E:17:1A:69',
]
> -----Ursprüngliche Nachricht-----
> Von: "Denis Jurkovic" <Denisjurkovic at web.de>
> Gesendet: 09.06.09 00:43:36
> An: <denisjurkovic at web.de>
> Betreff: WG: [one-users] VM unreachable via ssh
////////////////////////////////////// vm.log ////////////////////////////////////////////////////////////////////////////
Wed Jun 10 11:35:29 2009 [DiM][I]: New VM state is ACTIVE.
Wed Jun 10 11:35:29 2009 [LCM][I]: New VM state is PROLOG.
Wed Jun 10 11:35:29 2009 [TM][I]: tm_mkswap.sh: Creating 1Mb image in /var/lib/one//20/images/disk.0
Wed Jun 10 11:35:31 2009 [TM][I]: tm_mkswap.sh: Executed "ssh humilis mkdir -p /var/lib/one//20/images".
Wed Jun 10 11:35:33 2009 [TM][I]: tm_mkswap.sh: Executed "ssh humilis dd if=/dev/zero of=/var/lib/one//20/images/disk.0 bs=1 count=1 seek=1M".
Wed Jun 10 11:35:33 2009 [TM][I]: tm_mkswap.sh: Initializing swap space
Wed Jun 10 11:35:36 2009 [TM][I]: tm_mkswap.sh: Executed "ssh humilis /sbin/mkswap /var/lib/one//20/images/disk.0".
Wed Jun 10 11:35:38 2009 [TM][I]: tm_mkswap.sh: Executed "ssh humilis chmod a+w /var/lib/one//20/images/disk.0".
Wed Jun 10 11:35:38 2009 [TM][I]: tm_clone.sh: mediocris:/home/denis/Desktop/domains/testimage4/disk.img humilis:/var/lib/one//20/images/disk.1
Wed Jun 10 11:35:38 2009 [TM][I]: tm_clone.sh: DST: /var/lib/one//20/images/disk.1
Wed Jun 10 11:35:38 2009 [TM][I]: tm_clone.sh: Creating directory /var/lib/one//20/images
Wed Jun 10 11:35:40 2009 [TM][I]: tm_clone.sh: Executed "ssh humilis mkdir -p /var/lib/one//20/images".
Wed Jun 10 11:35:40 2009 [TM][I]: tm_clone.sh: Cloning mediocris:/home/denis/Desktop/domains/testimage4/disk.img
Wed Jun 10 11:38:45 2009 [TM][I]: tm_clone.sh: Executed "scp mediocris:/home/denis/Desktop/domains/testimage4/disk.img humilis:/var/lib/one//20/images/disk.1".
Wed Jun 10 11:38:47 2009 [TM][I]: tm_clone.sh: Executed "ssh humilis chmod a+w /var/lib/one//20/images/disk.1".
Wed Jun 10 11:38:47 2009 [LCM][I]: New VM state is BOOT
Wed Jun 10 11:38:47 2009 [VMM][I]: Generating deployment file: /var/lib/one/20/deployment.0
Wed Jun 10 11:38:47 2009 [VMM][I]: Command: scp /var/lib/one/20/deployment.0 humilis:/var/lib/one//20/images/deployment.0
Wed Jun 10 11:38:49 2009 [VMM][I]: Copy success
Wed Jun 10 11:38:49 2009 [VMM][I]: Setting credits for the VM
Wed Jun 10 11:38:49 2009 [VMM][I]: Command: sudo /usr/sbin/xm create /var/lib/one//20/images/deployment.0 \&\& sudo /usr/sbin/xm sched-cred -d one-20 -w 26
Wed Jun 10 11:38:54 2009 [LCM][I]: New VM state is RUNNING
Wed Jun 10 11:39:04 2009 [VMM][I]: Monitor Information:
CPU : 0
Memory: 131072
Net_TX: 0
Net_RX: 7
//////////////////////////////////////////////////Template/////////////////////////////////////////////////////////////////////////////
NAME = debian
CPU = 0.1
MEMORY = 128
OS = [
kernel = "/boot/vmlinuz-2.6.26-2-xen-686",
initrd = "/boot/initrd.img-2.6.26-2-xen-686",
root = "xvda2"
]
DISK = [
type = "swap",
source = "/home/denis/Desktop/domains/testimage4/swap.img",
target = "xvda1",
readonly = "no" ]
DISK = [
source = "/home/denis/Desktop/domains/testimage4/disk.img",
target = "xvda2",
readonly = "no" ]
NIC = [ip=141.28.94.111,mac=00:16:3E:17:1A:69]
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
>
> -----Ursprüngliche Nachricht-----
> Von: users-bounces at lists.opennebula.org
> [mailto:users-bounces at lists.opennebula.org] Im Auftrag von Ruben S. Montero
> Gesendet: Monday, June 08, 2009 8:32 PM
> An: Denis Jurkovic
> Cc: users at lists.opennebula.org
> Betreff: Re: [one-users] VM unreachable via ssh
>
> Hi Denis,
>
> This should be something really easy to solve, Could you compare the
> $ONE_LOCATION/var/$VID/deployment.0 file with the Xen deployment file
> you are using?. Maybe you can send us these files along with vm.log,
> in case the error is not so easy
>
> Cheers
>
> Ruben
>
> On Mon, Jun 8, 2009 at 12:50 PM, Denis Jurkovic <DenisJurkovic at web.de>
> wrote:
> > Hi ,
> >
> > i created a Xen Image via xen-tools an tried to start a VM with the
> xm-Commands. the Vm was up and running and i was able to reach it via ssh.
> so far so good.
> > I next tried to deploy a vm via openebula based on the same image. the
> onevm list command says that the vm is running, but when i try to log in via
> ssh i can't connect to the VM.
> >
> > i also tried to log in with the xm console, it didn't work because of some
> device isn't mounted or is waited for and can't be mounted
> >
> > Do one of you know what im doing wrong ? or is there some kind of other
> way to connect ?
> >
> > Any hint would be great !
> >
> > best regards
> >
> > Denis
___________________________________________________________________
WEB.DE FreeDSL Komplettanschluss mit DSL 6.000 Flatrate und
Telefonanschluss für 17,95 Euro/mtl.! http://produkte.web.de/go/02/
More information about the Users
mailing list