[one-users] Onevm in Failed state
Tobias Honacker
t.honacker at googlemail.com
Thu Mar 14 04:10:14 PDT 2013
Hi,
Did u create a bridge named "br0"?
Please provide the output of ifconfig a
It could also be a permission problem, follow these guide [1] and provide us
the output of:
grep -vE '^($|#)' /etc/libvirt/qemu.conf
grep -vE '^($|#)' /etc/libvirt/libvirtd.conf
cat /var/lib/one/var/datastores/0/10/deployment.1
Best regards,
Tobias
Von: Preetham Nagaraju <preetham.nagaraju at gmail.com>
Datum: Donnerstag, 14. März 2013 12:01
An: <users at lists.opennebula.org>, <users-owner at lists.opennebula.org>
Betreff: [one-users] Onevm in Failed state
Hi
I am using Opennebula 3.8.3 on Ubuntu with KVM hypervisor in it.
I added the host successfully, and created the image and template.
But the virtual machine starts with pending, prolog , boot and then goes to
failed state......
Please get me out of this failed state.......
VM information is as follows:-
Virtual Machine information - one-10
ID 10
Name one-10
Owner preetham
Group users
State FAILED
LCM State LCM_INIT
Host --
Start time 16:02:14 03/14/2013
Deploy ID -
Permissions
Owner um-
Group ---
Other ---
Monitoring information
Net_TX 0
Net_RX 0
Used Memory 0K
Used CPU 0
VNC Session
My Vm template is as follows:-
VM template
VCPU 1
NIC
MAC 02:00:c0:a8:96:67
NETWORK_ID 1
VLAN NO
NETWORK_UNAME oneadmin
BRIDGE br0
NETWORK localhost
IP 192.168.150.103
ERROR
TIMESTAMP Thu Mar 14 16:16:41 2013
MESSAGE Error deploying virtual
machine: Could not create domain from
/var/lib/one/var//datastores/0/10/deployment.1
VMID 10
RAW
TYPE kvm
NAME one-10
DISK
0
DATASTORE user_ds
TYPE CDROM
TARGET hdb
SAVE NO
IMAGE cd-Ubuntu-precise
DISK_ID 0
DEV_PREFIX hd
CLONE YES
SOURCE
/var/lib/one/var/datastores/100/c2d97c815b985bece0b710a0675d1bb9
IMAGE_UNAME preetham
IMAGE_ID 11
READONLY YES
TM_MAD shared
DATASTORE_ID 100
1
DATASTORE user_ds
TYPE FILE
TARGET hda
SAVE YES
PERSISTENT YES
IMAGE Ubuntu-precise
DISK_ID 1
DEV_PREFIX hd
CLONE NO
SOURCE
/var/lib/one/var/datastores/100/c1e8082f7e34c0cc91254c086f9b72de
IMAGE_UNAME preetham
IMAGE_ID 12
READONLY NO
TM_MAD shared
DATASTORE_ID 100
OS
ARCH x86_64
BOOT cdrom
MEMORY 1024
CPU 1
TEMPLATE_ID 11
GRAPHICS
TYPE vnc
PORT 5910
KEYMAP es
My vm log is as follows:-
Thu Mar 14 16:02:37 2013 [DiM][I]: New VM state is ACTIVE.
Thu Mar 14 16:02:37 2013 [LCM][I]: New VM state is PROLOG.
Thu Mar 14 16:02:37 2013 [VM][I]: Virtual Machine has no context
Thu Mar 14 16:03:08 2013 [TM][I]: clone: Cloning
/var/lib/one/var/datastores/100/c2d97c815b985bece0b710a0675d1bb9 in
opennebula:/var/lib/one/var//datastores/0/10/disk.0
Thu Mar 14 16:03:08 2013 [TM][I]: ExitCode: 0
Thu Mar 14 16:03:09 2013 [TM][I]: ln: Linking
/var/lib/one/var/datastores/100/c1e8082f7e34c0cc91254c086f9b72de in
opennebula:/var/lib/one/var//datastores/0/10/disk.1
Thu Mar 14 16:03:09 2013 [TM][I]: ExitCode: 0
Thu Mar 14 16:03:09 2013 [LCM][I]: New VM state is BOOT
Thu Mar 14 16:03:09 2013 [VMM][I]: Generating deployment file:
/var/lib/one/var/vms/10/deployment.0
Thu Mar 14 16:03:10 2013 [VMM][I]: ExitCode: 0
Thu Mar 14 16:03:10 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Thu Mar 14 16:03:13 2013 [VMM][I]: Command execution fail: cat << EOT |
/var/tmp/one/vmm/kvm/deploy /var/lib/one/var//datastores/0/10/deployment.0
opennebula 10 opennebula
Thu Mar 14 16:03:13 2013 [VMM][I]: error: Failed to create domain from
/var/lib/one/var//datastores/0/10/deployment.0
Thu Mar 14 16:03:13 2013 [VMM][I]: error: Cannot get interface MTU on 'br0':
No such device
Thu Mar 14 16:03:13 2013 [VMM][E]: Could not create domain from
/var/lib/one/var//datastores/0/10/deployment.0
Thu Mar 14 16:03:13 2013 [VMM][I]: ExitCode: 255
Thu Mar 14 16:03:13 2013 [VMM][I]: Failed to execute virtualization driver
operation: deploy.
Thu Mar 14 16:03:13 2013 [VMM][E]: Error deploying virtual machine: Could
not create domain from /var/lib/one/var//datastores/0/10/deployment.0
Thu Mar 14 16:03:13 2013 [DiM][I]: New VM state is FAILED
Thu Mar 14 16:16:04 2013 [DiM][I]: New VM state is CLEANUP.
Thu Mar 14 16:16:04 2013 [TM][I]: delete: Deleting
/var/lib/one/var/datastores/0/10/disk.0
Thu Mar 14 16:16:04 2013 [TM][I]: ExitCode: 0
Thu Mar 14 16:16:04 2013 [TM][I]: delete: Deleting
/var/lib/one/var/datastores/0/10/disk.1
Thu Mar 14 16:16:04 2013 [TM][I]: ExitCode: 0
Thu Mar 14 16:16:05 2013 [TM][I]: delete: Deleting
/var/lib/one/var/datastores/0/10
Thu Mar 14 16:16:05 2013 [TM][I]: ExitCode: 0
Thu Mar 14 16:16:05 2013 [DiM][I]: New VM state is PENDING
Thu Mar 14 16:16:10 2013 [DiM][I]: New VM state is ACTIVE.
Thu Mar 14 16:16:10 2013 [LCM][I]: New VM state is PROLOG.
Thu Mar 14 16:16:10 2013 [VM][I]: Virtual Machine has no context
Thu Mar 14 16:16:36 2013 [TM][I]: clone: Cloning
/var/lib/one/var/datastores/100/c2d97c815b985bece0b710a0675d1bb9 in
opennebula:/var/lib/one/var//datastores/0/10/disk.0
Thu Mar 14 16:16:36 2013 [TM][I]: ExitCode: 0
Thu Mar 14 16:16:38 2013 [TM][I]: ln: Linking
/var/lib/one/var/datastores/100/c1e8082f7e34c0cc91254c086f9b72de in
opennebula:/var/lib/one/var//datastores/0/10/disk.1
Thu Mar 14 16:16:38 2013 [TM][I]: ExitCode: 0
Thu Mar 14 16:16:38 2013 [LCM][I]: New VM state is BOOT
Thu Mar 14 16:16:38 2013 [VMM][I]: Generating deployment file:
/var/lib/one/var/vms/10/deployment.1
Thu Mar 14 16:16:39 2013 [VMM][I]: ExitCode: 0
Thu Mar 14 16:16:39 2013 [VMM][I]: Successfully execute network driver
operation: pre.
Thu Mar 14 16:16:41 2013 [VMM][I]: Command execution fail: cat << EOT |
/var/tmp/one/vmm/kvm/deploy /var/lib/one/var//datastores/0/10/deployment.1
opennebula 10 opennebula
Thu Mar 14 16:16:41 2013 [VMM][I]: error: Failed to create domain from
/var/lib/one/var//datastores/0/10/deployment.1
Thu Mar 14 16:16:41 2013 [VMM][I]: error: Cannot get interface MTU on 'br0':
No such device
Thu Mar 14 16:16:41 2013 [VMM][E]: Could not create domain from
/var/lib/one/var//datastores/0/10/deployment.1
Thu Mar 14 16:16:41 2013 [VMM][I]: ExitCode: 255
Thu Mar 14 16:16:41 2013 [VMM][I]: Failed to execute virtualization driver
operation: deploy.
Thu Mar 14 16:16:41 2013 [VMM][E]: Error deploying virtual machine: Could
not create domain from /var/lib/one/var//datastores/0/10/deployment.1
Thu Mar 14 16:16:41 2013 [DiM][I]: New VM state is FAILED
Regards,
Preetham. N
_______________________________________________ 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/20130314/90358612/attachment-0002.htm>
More information about the Users
mailing list