[one-users] Trying to use LVM with 3.4.2
Mark Snarked
marksnarked at gmail.com
Thu Jun 7 06:21:28 PDT 2012
Hello,
I'm attempting to use LVM(via CLVM and shared disk) datastores with
OpenNebula 3.4.2, I found the drivers and looked at the mailing list
archive linked to from here
http://opennebula.org/documentation:rel3.4:lvm but I'm getting the
following error, which I think means there's no SOURCE in the disk
image, but I'm not sure... The Mailing list says I should use PATH
instead of SOURCE, but maybe this error is misleading as well, I did
see where this error could indicate I need an IMAGE_ID, but I have
that...
Thu Jun 7 07:51:18 2012 [DiM][I]: New VM state is ACTIVE.
Thu Jun 7 07:51:18 2012 [LCM][I]: New VM state is PROLOG.
Thu Jun 7 07:51:18 2012 [TM][E]: prolog, undefined source disk image
in VM template
Thu Jun 7 07:51:18 2012 [DiM][I]: New VM state is FAILED
oneadmin at dsunstone1:~$ onedatastore show 101
DATASTORE 101 INFORMATION
ID : 101
NAME : OpenNebula_1
USER : oneadmin
GROUP : oneadmin
CLUSTER : TEST
DS_MAD : lvm
TM_MAD : lvm
BASE PATH : /var/lib/one/datastores/101
PERMISSIONS
OWNER : um-
GROUP : u--
OTHER : ---
DATASTORE TEMPLATE
DS_MAD="lvm"
TM_MAD="lvm"
VG_NAME="OpenNebula_1"
IMAGES
3
4
oneadmin at dsunstone1:~$ oneimage show 3
IMAGE 3 INFORMATION
ID : 3
NAME : ubuntu-lucid
USER : oneadmin
GROUP : oneadmin
DATASTORE : OpenNebula_1
TYPE : OS
REGISTER TIME : 06/05 08:07:52
PERSISTENT : No
SOURCE :
PATH : /var/lib/one/configuration_files/images/ubuntu-lucid.raw
SIZE : 0
STATE : used
RUNNING_VMS : 1
PERMISSIONS
OWNER : um-
GROUP : ---
OTHER : ---
IMAGE TEMPLATE
BUS="virtio"
DESCRIPTION="Ubuntu 10.04 Base"
DEV_PREFIX="hd"
DRIVER="raw"
oneadmin at dsunstone1:~$ onetemplate show 3
TEMPLATE 3 INFORMATION
ID : 3
NAME : testdev1
USER : oneadmin
GROUP : oneadmin
REGISTER TIME : 06/05 08:25:29
PERMISSIONS
OWNER : um-
GROUP : ---
OTHER : ---
TEMPLATE CONTENTS
CPU="1000"
DISK=[
BUS="virtio",
DRIVER="raw",
IMAGE_ID="3" ]
FEATURES=[
PAE="no" ]
MEMORY="4095"
NAME="testdev1"
NIC=[
IP="10.2.72.111",
MODEL="virtio",
NETWORK="TEST" ]
OS=[
ARCH="x86_64",
BOOT="hd" ]
RAW=[
TYPE="kvm" ]
TEMPLATE_ID="3"
VCPU="10"
oneadmin at dsunstone1:~$ onevm show 8
VIRTUAL MACHINE 8 INFORMATION
ID : 8
NAME : one-8
USER : oneadmin
GROUP : oneadmin
STATE : FAILED
LCM_STATE : LCM_INIT
START TIME : 06/07 07:50:50
END TIME : 06/07 07:51:18
DEPLOY ID :
VIRTUAL MACHINE MONITORING
USED CPU : 0
USED MEMORY : 0
NET_RX : 0
NET_TX : 0
PERMISSIONS
OWNER : um-
GROUP : ---
OTHER : ---
VIRTUAL MACHINE TEMPLATE
CPU="1000"
DISK=[
BUS="virtio",
CLONE="YES",
CLUSTER_ID="103",
DATASTORE="OpenNebula_1",
DATASTORE_ID="101",
DISK_ID="0",
DRIVER="raw",
IMAGE="ubuntu-lucid",
IMAGE_ID="3",
READONLY="NO",
SAVE="NO",
TARGET="hda",
TM_MAD="lvm",
TYPE="DISK" ]
FEATURES=[
PAE="no" ]
MEMORY="4095"
NAME="one-8"
NIC=[
BRIDGE="br0",
IP="10.2.72.111",
MAC="02:00:0a:02:48:6f",
MODEL="virtio",
NETWORK="TEST",
NETWORK_ID="18",
PHYDEV="bond0",
VLAN="YES",
VLAN_ID="72" ]
OS=[
ARCH="x86_64",
BOOT="hd" ]
RAW=[
TYPE="kvm" ]
REQUIREMENTS="CLUSTER_ID = 103"
TEMPLATE_ID="3"
VCPU="10"
VMID="8"
VIRTUAL MACHINE HISTORY
SEQ HOSTNAME REASON START TIME PTIME
0 dcloud00 erro 06/07 07:51:18 0d 00:00 0d 00:00
More information about the Users
mailing list