[one-users] vm still in pending state problem

Saravanan S dearsaravanan at gmail.com
Mon Oct 25 06:55:49 PDT 2010


Hi Fred,

I did a system wide installation, so it resides in,

/var/log/one/

but the log files are empty, my case it is 12.log which is empty.

Also, # onevm show 12 gives the below output, No logs are written.


# onevm show 12
VIRTUAL MACHINE 12 INFORMATION
ID             : 12
NAME           : centos-base
STATE          : PENDING
LCM_STATE      : LCM_INIT
START TIME     : 10/25 19:17:41
END TIME       : -
DEPLOY ID:     : -

VIRTUAL MACHINE MONITORING
NET_RX         : 0
USED MEMORY    : 0
USED CPU       : 0
NET_TX         : 0

VIRTUAL MACHINE TEMPLATE
CONTEXT=[
  FILES=/service/init.sh /service/certificates /service/service.conf,
  TARGET=hdb ]
CPU=1
DESCRIPTION=Centos 5.5 base image
DISK=[
  CLONE=YES,
  DISK_ID=0,
  IMAGE=Centos_base_image,
  IMAGE_ID=2,
  READONLY=NO,
  SAVE=NO,
  SOURCE=/var/lib/one//images/b69da959cd333e52d102d871da9cacf751bccde1,
  TARGET=hda,
  TYPE=DISK ]
DISK=[
  DISK_ID=1,
  READONLY=no,
  SIZE=256,
  TARGET=hdd,
  TYPE=swap ]
MEMORY=128
NAME=centos-base
OS=[
  INITRD=/opt/VMS/initrd-2.6.18-194.17.1.el5xen.img,
  KERNEL=/opt/VMS/vmlinuz-2.6.18-194.17.1.el5xen,
  ROOT=sda ]
PUBLIC=YES
RANK=FREECPU
VMID=12


Could any ne guide me if i am wrong?

Thanks,
Saravanan Sundaramoorthy

On Mon, Oct 25, 2010 at 6:54 PM, Fred <fredericoliveira at gmail.com> wrote:

> Hi Saravanan,
>
>
> I'm quite new working with opennebula, and in the begging I had this kind
> of problem. So the tip that I can give to you is, take a look at
> $OPENNEBULA/var/oned.log and when someone create a VM it has a ID you can
> check with this ID the specific log, at $OPENNEBULA/var/<machine_id>/vm.log.
>
> Logs are very clear, I hope this could help you as It helps me.
>
> Cheers,
>
> On Mon, Oct 25, 2010 at 10:43 AM, Saravanan S <dearsaravanan at gmail.com>wrote:
>
>> Hi all,
>>
>> I am quite new to Open nebula, Trien with 2.0 today,
>>
>> I installed open Nebula from Karan Repo,  installed and Configured the
>> setup successfully,
>>
>> I have a Xen Node on another machine, which i can see with
>>
>> [root at sios-centos-test centos]# onehost list
>>   ID NAME              CLUSTER  RVM   TCPU   FCPU   ACPU    TMEM    FMEM
>> STAT
>>    6 hostx21     default    0   1600   1599   1600     32G    127M   on
>>
>> [root at sios-centos-test centos]# oneimage list
>>   ID     USER                 NAME TYPE              REGTIME PUB PER STAT
>> #VMS
>>    1    user1          Centos-jeos   OS   Oct 25, 2010 09:36 Yes  No
>> rdy     0
>>    2    user1    Centos_base_image   OS   Oct 25, 2010 11:18 Yes  No
>> used     1
>>
>> when i try to run a vm, it is still in pending state
>>
>> [root at sios-centos-test centos]# onevm list
>>    ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME
>>     7    user1 centos-b pend   0      0K                 00 00:40:26
>>
>> and the configuration file we used to create a VM with
>>
>> # onevm create vmtest.one
>>
>> [root at sios-centos-test centos]# cat vmtest.one
>> NAME          = "centos-base"
>> PUBLIC        = YES
>> DESCRIPTION   = "Centos 5.5 base image"
>>
>> CPU    = 1
>> MEMORY = 512
>>
>> # --- kernel & boot device ---
>>
>> OS = [
>>   kernel   = "/opt/VMS/vmlinuz-2.6.18-194.17.1.el5xen",
>>   initrd   = "/opt/VMS/initrd-2.6.18-194.17.1.el5xen.img",
>>   root     = "sda" ]
>>
>> # --- 3 disks ---
>>
>> DISK = [
>>   image     = "Centos_base_image" ]
>>
>> DISK = [
>>   type     = swap,
>>   size     = 1024,
>>   readonly = "no" ]
>>
>> # --- 1 NIC ---
>>
>> # NIC = [ network = "Private lab 3 LAN" ]
>>
>> # --- Placement options ---
>>
>> RANK         = FREECPU
>>
>> # --- Contextualization ---
>>
>> CONTEXT = [
>>   files     = "/service/init.sh /service/certificates
>> /service/service.conf"  ]
>>
>> Could anyone please guide me creating a vm in xen, with open nebula?
>>
>> Thanks,
>> Saravanan Sundaramoorthy
>>
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
>
> --
> Best Regards,
>
> Frederico de Oliveira
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20101025/5ff2bd84/attachment-0003.htm>


More information about the Users mailing list