Hi,

oned.log should contain the error message, it will be marked as [E]. You
also have the individual VM log file in /var/log/one/<id>.log or
$ONE_LOCATION/var/datastores/0/<id>/vm.log

Regards
--
Carlos Martín, MSc
Project Engineer
OpenNebula - The Open-source Solution for Data Center Virtualization
www.OpenNebula.org | cmar...@opennebula.org |
@OpenNebula<http://twitter.com/opennebula><cmar...@opennebula.org>



On Mon, Jun 11, 2012 at 10:54 AM, Massimo Canonico <m...@di.unipmn.it> wrote:

> Hi,
> I was trying to make a simple ttylinux working on my opennebula
> installation.
>
> I have downloaded the ttylinux xen image frome here:
> http://www.suse.de/~garloff/**linux/xen/images/ttylinux/<http://www.suse.de/~garloff/linux/xen/images/ttylinux/>
>
> then I have create two file, in order to add this image in the openenbula
> installation,
> image.one:
> NAME = ttylinux
> PATH = "/home/oneadmin/images/**ttylinux/ttylinux.img"
> TYPE = OS
>
> ttylinux.one:
> [oneadmin@minicloud03 ttylinux]$ more ttylinux.one
> NAME   = ttylinux
> CPU    = 0.1
> MEMORY = 64
>
> DISK   = [ IMAGE_ID = 8 ]
>
> NIC    = [ NETWORK_ID = 0 ]
>
> FEATURES=[ acpi="no" ]
>
> #CONTEXT = [
> #    hostname    = "$NAME",
> #    ip_public   = "130.10.0.10",
> #    files      = "/home/oneadmin/images/**ttylinux/init.sh
> /home/oneadmin/.ssh/id_rsa.**pub",
> #    target      = "hdc",
> #    root_pubkey = "id_rsa.pub",
> #    username    = "opennebula",
> #    user_pubkey = "id_rsa.pub"
> #]
>
> So, I'm sure that I'm missing something since the image becomes "fail"
> after few second.
> Here the ourput of onevm show:
>
> VIRTUAL MACHINE 6 INFORMATION
> ID                  : 6
> NAME                : ttylinux
> USER                : oneadmin
> GROUP               : oneadmin
> STATE               : FAILED
> LCM_STATE           : LCM_INIT
> START TIME          : 06/11 11:16:43
> END TIME            : 06/11 11:17:12
> DEPLOY ID           : -
>
> VIRTUAL MACHINE MONITORING
> NET_RX              : 0
> USED CPU            : 0
> USED MEMORY         : 0
> NET_TX              : 0
>
> PERMISSIONS
> OWNER               : um-
> GROUP               : ---
> OTHER               : ---
>
> VIRTUAL MACHINE TEMPLATE
> CPU="0.1"
> DISK=[
>  CLONE="YES",
>  DATASTORE="minicloudDS",
>  DATASTORE_ID="100",
>  DISK_ID="0",
>  IMAGE="ttylinux",
>  IMAGE_ID="8",
>  READONLY="NO",
>  SAVE="NO",
>  SOURCE="/home/oneadmin/one-3.**0/var/datastores/100/**
> 3c376e0cc8bef2f3bc8b43b22fe88a**9a",
>  TARGET="hda",
>  TM_MAD="ssh",
>  TYPE="DISK" ]
> FEATURES=[
>  ACPI="no" ]
> MEMORY="64"
> NAME="ttylinux"
> NIC=[
>  BRIDGE="virbr0",
>  IP="130.10.0.3",
>  MAC="02:00:82:0a:00:03",
>  NETWORK="Public",
>  NETWORK_ID="0",
>  VLAN="NO" ]
> VMID="6"
>
> VIRTUAL MACHINE HISTORY
>  SEQ        HOSTNAME REASON           START        TIME       PTIME
>   0 minicloud.di.un   erro  06/11 11:17:10    0d 00:00    0d 00:00
>
> oned.log did not say anything useful:
> ------------------------------**---------
> Mon Jun 11 11:17:11 2012 [TM][D]: Message received: LOG I 6 clone: Cloning
> minicloud03.di.unipmn.it:/**home/oneadmin/one-3.0/var/**datastores/100/**
> 3c376e0cc8bef2f3bc8b43b22fe88a**9a in /var/lib/one/datastores/0/6/**disk.0
>
> Mon Jun 11 11:17:11 2012 [TM][D]: Message received: LOG I 6 ExitCode: 0
>
> Mon Jun 11 11:17:11 2012 [TM][D]: Message received: TRANSFER SUCCESS 6 -
> ------------------------------**--------
> even sched.log did not say much:
> ------------------------------**------
> Virtual Machine: 6
>        0       0
>
>
> Mon Jun 11 11:17:10 2012 [VM][I]: Dispatching virtual machine 6 to HID: 0
> Mon Jun 11 11:17:40 2012 [HOST][D]: Discovered Hosts (enabled): 0
> Mon Jun 11 11:17:40 2012 [VM][D]: Pending virtual machines :
> Mon Jun 11 11:17:40 2012 [SCHED][I]: Select hosts
>        PRI     HID
>
> ---------------------
>
> What can I do in order to figure out where is the problem?
>
> Thanks,
>  Massimo
>
>
>
> ______________________________**_________________
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-opennebula.**org<http://lists.opennebula.org/listinfo.cgi/users-opennebula.org>
>
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
  • [one... Massimo Canonico
    • ... Carlos Martín Sánchez
      • ... Andrei Vakhnin
        • ... Daniel Molina
          • ... Vakhnin, Andrey A. (LARC-E302)[SCIENCE SYSTEMS AND APPLICATIONS, INC]

Reply via email to