[one-users] vm in pending state

Kannan Govindarajan kannan.gridlab at gmail.com
Mon Aug 29 10:36:27 PDT 2011


Dear Sir/Madam,

Greetings. Thanks for your immediate respone. I have deleted the oneadmin
user and again i have reconfigured opennebula. Now i have solved the
previous now when i tried to create the vm, vm is always in pending state.

[oneadmin at smscluster ~]$ onevm list
   ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME
   17 oneadmin myttyser pend   0      0K                 00 00:01:21

please help me to solve this issue.


This is network file i have configured
============================

[oneadmin at smscluster ~]$ vim red.net

NAME = "LAN"
TYPE = RANGED

# This vnet can be only used by the owner user
PUBLIC = NO

#Now we'll use the cluster private network (physical)
BRIDGE = virbr0

NETWORK_SIZE    = C
NETWORK_ADDRESS = 192.168.116.0

#Custom Attributes to be used in Context
GATEWAY = 192.168.116.1
DNS     = 192.168.116.1

This is the image configuration file

[oneadmin at smscluster ~]$ vim ttyimage.one

NAME          = "TTYLINUX"
PATH          = /srv/cloud/one/var/images/gt_compute_centos5.3.img
PUBLIC        = YES
DESCRIPTION   = "Just for testing"

This is the vm configuration file

[oneadmin at smscluster ~]$ vim ttylinux.one

NAME   = myttyserver
CPU    = 0.1
MEMORY = 64
OS = [
  kernel   = "/boot/vmlinuz-2.6.18-238.12.1.el5xen",
  initrd   = "/boot/initrd-sl4.img",
  root     = "sda" ]
DISK   = [
  source   = "/srv/cloud/one/var/images/gt_compute_centos5.3.img",
  target   = "hda",
  readonly = "no" ]
NIC    = [ NETWORK = "LAN" ]

FEATURES=[ acpi="no" ]
RAW = [ type = "xen", data = " <serial type='pty'> <source
path='/dev/pts/3'/> <target port='1'/> </serial>" ]

# Context example
CONTEXT = [
  hostname   = "$NAME",
        ip_public = "$NIC[IP, NETWORK=\"LAN\"]",
        files                           = "/home/oneadmin/init.sh
/home/oneadmin/id_rsa.pub",
  target     = "hdc",
        root_pubkey = "id_rsa.pub",
        username = "oneadmin",
        user_pubkey = "id_rsa.pub"
]


Host Status
=========

[oneadmin at smscluster ~]$ onehost list
  ID NAME              CLUSTER  RVM   TCPU   FCPU   ACPU    TMEM    FMEM
STAT
   3 smscluster.care.m default    0    100     96    100   1015M    251M
on


[oneadmin at smscluster ~]$ cat /srv/cloud/one/var/oned.log
Mon Aug 29 23:05:28 2011 [ONE][I]: Init OpenNebula Log system
Mon Aug 29 23:05:28 2011 [ONE][I]: Log Level: 3
[0=ERROR,1=WARNING,2=INFO,3=DEBUG]
Mon Aug 29 23:05:28 2011 [ONE][I]: ----------------------------------------
Mon Aug 29 23:05:28 2011 [ONE][I]:      OpenNebula Configuration File
Mon Aug 29 23:05:28 2011 [ONE][I]: ----------------------------------------
Mon Aug 29 23:05:28 2011 [ONE][I]:
----------------------------------
AUTH_MAD=EXECUTABLE=one_auth_mad
DB=BACKEND=sqlite
DEBUG_LEVEL=3
DEFAULT_DEVICE_PREFIX=xvd
DEFAULT_IMAGE_TYPE=OS
HM_MAD=EXECUTABLE=one_hm
HOST_HOOK=ARGUMENTS=$HID -r
n,COMMAND=host_error.rb,NAME=error,ON=ERROR,REMOTE=no
HOST_MONITORING_INTERVAL=600
IMAGE_REPOSITORY_PATH=/srv/cloud/var/one/images
IM_MAD=ARGUMENTS=xen,EXECUTABLE=one_im_ssh,NAME=im_xen
IM_MAD=ARGUMENTS=ganglia,EXECUTABLE=one_im_sh,NAME=im_ganglia
MAC_PREFIX=02:00
MANAGER_TIMER=15
NETWORK_SIZE=254
PORT=2633
SCRIPTS_REMOTE_DIR=/var/tmp/one
TM_MAD=ARGUMENTS=tm_ssh/tm_ssh.conf,EXECUTABLE=one_tm,NAME=tm_ssh
VM_DIR=/srv/cloud/one/var
VM_HOOK=ARGUMENTS=$VMID,COMMAND=image.rb,NAME=image,ON=DONE
VM_HOOK=ARGUMENTS=$VMID,COMMAND=/usr/bin/env onevm
delete,NAME=on_failure_delete,ON=FAILED
VM_HOOK=ARGUMENTS=$VMID,COMMAND=/usr/bin/env onevm
resubmit,NAME=on_failure_resubmit,ON=FAILED
VM_HOOK=ARGUMENTS=one-$VMID,COMMAND=ebtables-xen,NAME=ebtables-start,ON=running,REMOTE=yes
VM_HOOK=ARGUMENTS="",COMMAND=ebtables-flush,NAME=ebtables-flush,ON=done,REMOTE=yes
VM_MAD=ARGUMENTS=xen,DEFAULT=vmm_ssh/vmm_ssh_xen.conf,EXECUTABLE=one_vmm_ssh,NAME=vmm_xen,TYPE=xen
VM_POLLING_INTERVAL=600
VNC_BASE_PORT=5900
----------------------------------
Mon Aug 29 23:05:28 2011 [ONE][I]: Bootstraping OpenNebula database.
Mon Aug 29 23:05:28 2011 [VMM][I]: Starting Virtual Machine Manager...
Mon Aug 29 23:05:28 2011 [LCM][I]: Starting Life-cycle Manager...
Mon Aug 29 23:05:28 2011 [InM][I]: Starting Information Manager...
Mon Aug 29 23:05:28 2011 [TrM][I]: Starting Transfer Manager...
Mon Aug 29 23:05:28 2011 [DiM][I]: Starting Dispatch Manager...
Mon Aug 29 23:05:28 2011 [ReM][I]: Starting Request Manager...
Mon Aug 29 23:05:28 2011 [VMM][I]: Virtual Machine Manager started.
Mon Aug 29 23:05:28 2011 [LCM][I]: Life-cycle Manager started.
Mon Aug 29 23:05:28 2011 [InM][I]: Information Manager started.
Mon Aug 29 23:05:28 2011 [TrM][I]: Transfer Manager started.
Mon Aug 29 23:05:28 2011 [DiM][I]: Dispatch Manager started.
Mon Aug 29 23:05:28 2011 [ReM][I]: Request Manager started.
Mon Aug 29 23:05:28 2011 [ReM][I]: Starting XML-RPC server, port 2633 ...
Mon Aug 29 23:05:28 2011 [HKM][I]: Starting Hook Manager...
Mon Aug 29 23:05:28 2011 [AuM][I]: Starting Auth Manager...
Mon Aug 29 23:05:28 2011 [HKM][I]: Hook Manager started.
Mon Aug 29 23:05:28 2011 [AuM][I]: Authorization Manager started.
Mon Aug 29 23:05:30 2011 [VMM][I]: Loading Virtual Machine Manager drivers.
Mon Aug 29 23:05:30 2011 [VMM][I]:      Loading driver: vmm_xen (XEN)
Mon Aug 29 23:05:30 2011 [VMM][I]:      Driver vmm_xen loaded.
Mon Aug 29 23:05:30 2011 [InM][I]: Loading Information Manager drivers.
Mon Aug 29 23:05:30 2011 [InM][I]:      Loading driver: im_xen
Mon Aug 29 23:05:30 2011 [InM][I]:      Driver im_xen loaded
Mon Aug 29 23:05:30 2011 [InM][I]:      Loading driver: im_ganglia
Mon Aug 29 23:05:30 2011 [InM][I]:      Driver im_ganglia loaded
Mon Aug 29 23:05:30 2011 [TM][I]: Loading Transfer Manager drivers.
Mon Aug 29 23:05:30 2011 [VMM][I]:      Loading driver: tm_ssh
Mon Aug 29 23:05:30 2011 [TM][I]:       Driver tm_ssh loaded.
Mon Aug 29 23:05:30 2011 [HKM][I]: Loading Hook Manager driver.
Mon Aug 29 23:05:30 2011 [HKM][I]:      Hook Manager loaded
Mon Aug 29 23:05:30 2011 [AuM][I]: Loading Auth. Manager driver.
Mon Aug 29 23:05:30 2011 [MAD][E]: MAD did not answer INIT command
Mon Aug 29 23:07:24 2011 [ReM][D]: UserPoolInfo method invoked
Mon Aug 29 23:07:32 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Aug 29 23:07:32 2011 [ReM][D]: VirtualNetworkPoolInfo method invoked
Mon Aug 29 23:10:58 2011 [InM][I]: Monitoring host smscluster.care.mit.in(3)
Mon Aug 29 23:11:01 2011 [InM][D]: Host 3 successfully monitored.
Mon Aug 29 23:11:03 2011 [ReM][D]: HostPoolInfo method invoked
Mon Aug 29 23:11:27 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Mon Aug 29 23:11:35 2011 [ReM][D]: VirtualMachineAllocate invoked
Mon Aug 29 23:11:37 2011 [ReM][D]: VirtualMachineAllocate invoked
Mon Aug 29 23:11:39 2011 [ReM][D]: VirtualMachineAllocate invoked
Mon Aug 29 23:11:41 2011 [ReM][D]: VirtualMachinePoolInfo method invoked

with thanks and regards,
G.Kannan,
Research Associate,
CARE,MIT,
Anna University Chennai.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110829/bb3e618f/attachment-0002.htm>


More information about the Users mailing list