Hello, I upgraded my installation from ONE 3.2 -> 3.6 with running virtual machines without trouble, but I am facing some problems with the new LVM datastore. I have some hosts with LVM (no CLVM!) and the volume group vg_cloud.
Creating the datastore works without problems. The image is already on the host in a logical volume. I can register the image with the SOURCE attribute pointing to the path: /dev/vg_cloud/execnode If I try to instantiate the image, ONE creates a wrong path to clone the image: Fri Jul 13 09:36:21 2012 [TM][D]: Message received: LOG I 861 Command execution fail: /var/lib/one/remotes/tm/lvm/clone host01:/dev/vg_cloud /execnode host03:/var/lib/one//datastores/0/861/disk.0 861 104 Fri Jul 13 09:36:21 2012 [TM][D]: Message received: LOG E 861 clone: Command " set -e Fri Jul 13 09:36:21 2012 [TM][D]: Message received: LOG I 861 mkdir -p /var/lib/one/datastores/0/861 Fri Jul 13 09:36:21 2012 [TM][D]: Message received: LOG I 861 sudo lvcreate -s -L512 -n /dev/vg_cloud/execnode-861-0 /dev//dev/vg_clou d/execnode//dev/vg_cloud/execnode Fri Jul 13 09:36:21 2012 [TM][D]: Message received: LOG I 861 ln -s "/dev//dev/vg_cloud/execnode//dev/vg_cloud/execnode-861-0" "/ var/lib/one/datastores/0/861/disk.0"" failed: "/dev//dev/vg_cloud/execnode//dev/vg_cloud/execnode": Invalid path for Logical Vo lume Fri Jul 13 09:36:21 2012 [TM][D]: Message received: LOG I 861 The origin name should include the volume group. Fri Jul 13 09:36:21 2012 [TM][D]: Message received: LOG I 861 Run `lvcreate --help' for more information. Fri Jul 13 09:36:21 2012 [TM][D]: Message received: LOG E 861 Error cloning /dev//dev/vg_cloud/execnode//dev/vg_cloud/execnode to /dev//dev/vg_cloud/execnode//dev/vg_cloud/execnode-861-0 Fri Jul 13 09:36:21 2012 [TM][D]: Message received: LOG I 861 ExitCode: 3 Fri Jul 13 09:36:21 2012 [TM][D]: Message received: TRANSFER FAILURE 861 Error cloning /dev//dev/vg_cloud/execnode//dev/vg_cloud/execnode to /dev//dev/vg_cloud/execnode//dev/vg_cloud/execnode-861-0 I created the datastore with the following configfile: NAME = LVMHOST DS_MAD = lvm TM_MAD = lvm VG_NAME = vg_cloud HOST = host03 I tried to create the datastore with the DISK_TYPE attribute, but this did not help. Image with the source attribute: SOURCE = "/dev/vg_cloud/execnode" I am at the moment stuck at this point, in the old installation this worked without problems. Regards, Stefan -- Stefan Dietrich <[email protected]> _______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
