[one-users] I can't run a virtual machine by ONE

tcnuo2010 tcnuo2010 at gmail.com
Mon Jun 28 18:13:39 PDT 2010


I followed your doucment:<< OpenNebula Express: Install your Cloud in 4 steps>> to buid a OpenNebula envrionment,

Adding worker nodes is ok, but I can't run a virtual machine by the "ttylinux image".

Can you give me some help information or advise?

Thank you very much and look forward for your reply.

log information as following:

 Mon Jun 28 21:15:40 2010 [DiM][I]: New VM state is ACTIVE.
Mon Jun 28 21:15:40 2010 [LCM][I]: New VM state is PROLOG.
Mon Jun 28 21:15:40 2010 [VM][I]: Virtual Machine has no context
Mon Jun 28 21:15:40 2010 [TM][I]: tm_clone.sh: localhost.localdomain:/tmp/ttylinux.img 192.168.0.3:/srv/cloud/one/var//4/images/disk.0
Mon Jun 28 21:15:40 2010 [TM][I]: tm_clone.sh: DST: /srv/cloud/one/var//4/images/disk.0
Mon Jun 28 21:15:40 2010 [TM][I]: tm_clone.sh: Creating directory /srv/cloud/one/var//4/images
Mon Jun 28 21:15:40 2010 [TM][I]: tm_clone.sh: Executed "mkdir -p /srv/cloud/one/var//4/images".
Mon Jun 28 21:15:40 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//4/images".
Mon Jun 28 21:15:40 2010 [TM][I]: tm_clone.sh: Cloning /tmp/ttylinux.img
Mon Jun 28 21:15:40 2010 [TM][I]: tm_clone.sh: Executed "cp /tmp/ttylinux.img /srv/cloud/one/var//4/images/disk.0".
Mon Jun 28 21:15:40 2010 [TM][I]: tm_clone.sh: Executed "chmod a+w /srv/cloud/one/var//4/images/disk.0".
Mon Jun 28 21:15:40 2010 [LCM][I]: New VM state is BOOT
Mon Jun 28 21:15:40 2010 [VMM][I]: Generating deployment file: /srv/cloud/one/var/4/deployment.0
Mon Jun 28 21:15:40 2010 [VMM][E]: No kernel or bootloader defined and no default provided.
Mon Jun 28 21:15:40 2010 [VMM][E]: deploy_action, error generating deployment file: /srv/cloud/one/var/4/deployment.0
Mon Jun 28 21:15:40 2010 [DiM][I]: New VM state is FAILED
Mon Jun 28 21:15:40 2010 [TM][W]: Ignored: LOG - 4 tm_delete.sh: Deleting /srv/cloud/one/var//4/images
Mon Jun 28 21:15:40 2010 [TM][W]: Ignored: LOG - 4 tm_delete.sh: Executed "rm -rf /srv/cloud/one/var//4/images".

ttylinux.one as following:

 NAME   = ttylinux
CPU    = 0.1
MEMORY = 64
OS = [ kernel = "/boot/vmlinuz",
    root     = "hda1",
    kernel_cmd = "ro xencons=tty console=tty1"]
DISK   = [
  source   = "/srv/cloud/one/one-templete/ttylinux.img",
  target   = "hda",
  readonly = "no" 
]
NIC    = [ NETWORK = "Small network" ]
FEATURES=[ acpi="no" ]
#CONTEXT = [
#    hostname    = "$NAME",
#    ip_public   = "PUBLIC_IP",
    files      = "/srv/cloud/one/one-templete/init.sh /srv/cloud/one/.ssh/id_dsa.pub"
#    target      = "hdc",
#    root_pubkey = "id_dsa.pub",
    username    = "opennebula"
#    user_pubkey = "id_dsa.pub"
#]
ip_public="192.168.0.4"

Best regards,

2010-06-29 



tcnuo2010 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20100629/23302858/attachment-0001.htm>


More information about the Users mailing list