[one-users] "onevm create" fails
Andrei Vakhnin
Andrey.A.Vakhnin at nasa.gov
Wed Aug 8 13:46:41 PDT 2012
Carlos
I am having similar problem with ttylinux when testing my new opennebula 3.6 deployment. VM is in pending state and no log file produced. Thanks in advance.
NAME = ttylinux
PATH = "/data/images/ttylinux.img"
TYPE = OS
NAME = ttylinux
CPU = 0.1
MEMORY = 64
DISK = [ IMAGE_ID = 2 ]
NIC = [ NETWORK_ID = 0 ]
FEATURES=[ acpi="no" ]
#CONTEXT = [
# hostname = "$NAME",
# ip_public = "PUBLIC_IP",
# files = "/path/to/init.sh /path/to/id_dsa.pub",
# target = "hdc",
# root_pubkey = "id_dsa.pub",
# username = "opennebula",
# user_pubkey = "id_dsa.pub"
#]
NAME = "Small network"
TYPE = FIXED
#Now we'll use the cluster private network (physical)
BRIDGE = br2
LEASES = [ IP="10.4.10.01"]
LEASES = [ IP="10.4.10.02"]
LEASES = [ IP="10.4.10.03"]
onevm list
ID USER GROUP NAME STAT UCPU UMEM HOST TIME
0 oneadmin oneadmin ttylinux pend 0 0K 0d 00h20
onevm show 0
VIRTUAL MACHINE 0 INFORMATION
ID : 0
NAME : ttylinux
USER : oneadmin
GROUP : oneadmin
STATE : PENDING
LCM_STATE : LCM_INIT
RESCHED : No
START TIME : 08/08 16:29:45
END TIME : -
DEPLOY ID : -
VIRTUAL MACHINE MONITORING
NET_TX : 0K
NET_RX : 0K
USED MEMORY : 0K
USED CPU : 0
PERMISSIONS
OWNER : um-
GROUP : ---
OTHER : ---
VIRTUAL MACHINE TEMPLATE
CPU="0.1"
DISK=[
CLONE="YES",
DATASTORE="default",
DATASTORE_ID="1",
DEV_PREFIX="hd",
DISK_ID="0",
IMAGE="ttylinux",
IMAGE_ID="2",
READONLY="NO",
SAVE="NO",
SOURCE="/var/lib/one/datastores/1/4aae0eb7a037be69f2fceb14209eb986",
TARGET="hda",
TM_MAD="shared",
TYPE="FILE" ]
FEATURES=[
ACPI="no" ]
MEMORY="64"
NAME="ttylinux"
NIC=[
BRIDGE="br2",
IP="10.4.10.1",
MAC="02:00:0a:04:0a:01",
NETWORK="Small network",
NETWORK_ID="0",
VLAN="NO" ]
VMID="0"
On Jun 11, 2012, at 9:16 AM, Carlos Martín Sánchez wrote:
> 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 | cmartin at opennebula.org | @OpenNebula
>
>
>
> On Mon, Jun 11, 2012 at 10:54 AM, Massimo Canonico <mex at 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/
>
> 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 at 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/3c376e0cc8bef2f3bc8b43b22fe88a9a",
> 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/3c376e0cc8bef2f3bc8b43b22fe88a9a 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 at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120808/e598e1de/attachment-0002.htm>
More information about the Users
mailing list