[one-users] VM in FAILED state

Preetham Nagaraju preetham.nagaraju at gmail.com
Tue May 7 00:45:22 PDT 2013


*Hi Sir,*

I have with this problem problem from pas 1 week.... Please help me out to
solve this problem.....

I have two machines, 1st m/c as Frontend & as well as Node 1 and other m/c
as Node2.... In m/c 1 i have Ubuntu 12.04 LTS os in it, i have installed
Opennebula 3.9.80 & KVM hypervisor in it... In the 2 m/c i have Ubuntu
12.04 LTS os and installed XEN hypervisor and xen tools in it....

I have added both the host m/c to opennebula and both are in "ON" state....
And also i can do ssh passwordless from m/c or Node1 to Node 2 and
vice-versa and also i have made automatic mounting from Frontend/Node 1 to
Node 2....

First, in frontend m/c i imported the *"CentOS Server 5.8 - xen" *os from
marketplace and after it came to *"Ready"* state, i started creating
template... I tried creating template using sunstone gui but the vm was
going to error so i tried creating template manually.... My template is as
follows:-

#-----------------------------
----------
# VM definition example
#---------------------------------------

NAME = "VmXen"
CPU    = 0.5
MEMORY = 512

#REQUIREMENTS = "HOSTNAME=\"node\""

RANK         = FREECPU

# --- kernel & boot device ---

OS = [
kernel = "/boot/vmlinuz-3.2.0-41-generic-pae",
initrd = "/boot/initrd.img-3.2.0-41-generic-pae",
    root = "sda1",
    boot = "sda",
    KERNEL_CMD = "ro"
    ]
#OS     = [ bootloader=/usr/lib/xen-4.1/bin/pygrub ]

DISK = [
#    image = "CentOS Server 5.8 - xen",
    IMAGE_ID = 10,
    target = "sda",
    readonly = "no"
    ]

#DISK = [ type   = swap,        size   = 512]

NIC = [ NETWORK_ID = 1 ]
#NIC    = [ NETWORK = "localhost" ]
#NIC    = [ NETWORK = "Private network" ]

FEATURES=[ acpi="no" ]

GRAPHICS = [
type    = "vnc",
listen  = "localhost",
port    = "5902"
]

#CONTEXT = [
#    hostname = "$NAME",
#    ip_public = "$NIC[IP, NETWORK=\"localhost\"]",
#    files  = "/var/lib/one/templates/init.sh",
#    target = "sdc"
#    ]

RAW    = [type  = "xen", data  = "vcpus=1"]

I tried creating vm in Node 2 since i have XEN hypervisor in Node 2 and not
in Node 1, but the vm got stuck in *"PROLOG"* state only and after sometime
it goes to *"FAILED"* state.....

After creating template gave instantiate and the vm got created but it is
going to *"PROLOG"* state and then goes to *"FAILED"* state and not coming
to *"ON"* state......

*And please find below the vm log details:-*

Tue May 7 10:58:35 2013 [DiM][I]: New VM state is ACTIVE.
Tue May 7 10:58:35 2013 [LCM][I]: New VM state is PROLOG.
Tue May 7 10:58:35 2013 [VM][I]: Virtual Machine has no context
Tue May 7 11:04:24 2013 [LCM][E]: monitor_done_action, VM in a wrong state
Tue May 7 11:04:24 2013 [LCM][E]: monitor_done_action, VM in a wrong state
Tue May 7 11:14:56 2013 [LCM][E]: monitor_done_action, VM in a wrong state
Tue May 7 11:14:59 2013 [LCM][E]: monitor_done_action, VM in a wrong state
Tue May 7 11:18:37 2013 [TM][I]: clone: Cloning /var/lib/one/var/datastores/
100/d985d5a5d29de9cfa8094ed02db3081d in
node1:/var/lib/one/var//datastores/0/55/disk.0
Tue May 7 11:18:37 2013 [TM][I]: ExitCode: 0
Tue May 7 11:18:37 2013 [LCM][I]: New VM state is BOOT
Tue May 7 11:18:37 2013 [VMM][I]: Generating deployment file:
/var/lib/one/var/vms/55/deployment.0
Tue May 7 11:18:38 2013 [VMM][I]: ExitCode: 0
Tue May 7 11:18:38 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Tue May 7 11:18:43 2013 [VMM][I]: Command execution fail: cat << EOT |
/var/tmp/one/vmm/xen3/deploy /var/lib/one/var//datastores/0/55/deployment.0
node1 55 node1
Tue May 7 11:18:43 2013 [VMM][I]: Error: Domain 'one-55' does not exist.
Tue May 7 11:18:43 2013 [VMM][E]: Unable
Tue May 7 11:18:43 2013 [VMM][I]: ExitCode: 3
Tue May 7 11:18:43 2013 [VMM][I]: Failed to execute virtualization driver
operation: deploy.
Tue May 7 11:18:43 2013 [VMM][E]: Error deploying virtual machine: Unable
Tue May 7 11:18:43 2013 [DiM][I]: New VM state is FAILED

Sir, i request you to please help me out in this problem.... I dont have
any other option...Pelase help me out in this...

Awaiting for your kind help........


-- 

*?** Regards,***

*Preetham. N*

*9945072638*
*



*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20130507/0064b63e/attachment.htm>


More information about the Users mailing list