[one-users] problem with vifs
ahernandez at tesla.cujae.edu.cu
ahernandez at tesla.cujae.edu.cu
Thu Feb 28 06:33:56 PST 2013
Tino, I edit the vmfs.conf, and setting the BRIDGE_LIST. I not work. I
work in two scenarios : The firts DS=vmfs - TM=vmfs - sytemTM=ssh, the
secound DS=vmware TM=ssh - sytemTM=ssh. (scenarios 2.1 and 2.3 in
http://opennebula.org/documentation:rel3.8:vmware_ds).
In the first scenario(DS=vmfs - TM=vmfs - sytemTM=ssh), I edit firts
the oned.conf (DATASTORE_LOCATION = /vmfs/volumes). In secound time I
create a DATASTORE with Disk type:BLOCK, and I obtain this log when try
create image of type OS:
Fri Feb 22 05:52:32 2013 [ImG][D]: Message received: LOG I 105 Command
execution fail: /var/lib/one/remotes/datastore/vmfs/cp
PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjEwNTwvSUQ+PFVJRD4wPC9VSUQ+PEdJRD4wPC9HSUQ+PFVOQU1FPm9uZWFkbWluPC9VTkFNRT48R05BTUU+b25lYWRtaW48L0dOQU1FPjxOQU1FPnNjZW5hcmlvMi4xKHZtZnMpPC9OQU1FPjxQRVJNSVNTSU9OUz48T1dORVJfVT4xPC9PV05FUl9VPjxPV05FUl9NPjE8L09XTkVSX00+PE9XTkVSX0E+MDwvT1dORVJfQT48R1JPVVBfVT4wPC9HUk9VUF9VPjxHUk9VUF9NPjA8L0dST1VQX00+PEdST1VQX0E+MDwvR1JPVVBfQT48T1RIRVJfVT4wPC9PVEhFUl9VPjxPVEhFUl9NPjA8L09USEVSX00+PE9USEVSX0E+MDwvT1RIRVJfQT48L1BFUk1JU1NJT05TPjxUWVBFPjA8L1RZUEU+PERJU0tfVFlQRT4wPC9ESVNLX1RZUEU+PFBFUlNJU1RFTlQ+MDwvUEVSU0lTVEVOVD48UkVHVElNRT4xMzYxNTQxMTUwPC9SRUdUSU1FPjxTT1VSQ0U+PC9TT1VSQ0U+PFBBVEg+L29wZW5uZWJ1bGEvdHR5bGludXgudm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DwvRElTS19UWVBFPjxDTFVTVEVSX0lEPjEwMDwvQ0xVU1RFUl9JRD48Q0xVU1RFUj5jbHVzdGVyIzE8L0NMVVNURVI+PElNQUdFUz48L0lNQUdFUz48VEVNUExBVEU+PERJU0tfVFlQRT48IVtDREFUQVtibG9ja11dPjwvRElTS19UWVBFPjxEU19NQUQ+PCFbQ0RBVEFbdm1mc11dPjwvRFNfTUFEPjxUTV9NQUQ+PCFbQ0RBVEFbdm1mc11dPjwvVE1f
TUFEPjwv
VEVNUExBVEU+PC9EQVRBU1RPUkU+PC9EU19EUklWRVJfQUNUSU9OX0RBVEE+
105
Fri Feb 22 05:52:32 2013 [ImG][D]: Message received: LOG I 105 expr:
division by zero
Fri Feb 22 05:52:32 2013 [ImM][I]: expr: division by zero
Fri Feb 22 05:52:32 2013 [ImG][D]: Message received: LOG E 105 cp:
Command "vifs --server das-vsilo23.cimex.com.cu --username oneadmin
--password DataCimex --mkdir [125]848aed33e9c4c6bb47e5d96324d87c4b"
failed: Unable to create directory [125]
848aed33e9c4c6bb47e5d96324d87c4b:
Fri Feb 22 05:52:32 2013 [ImM][E]: cp: Command "vifs --server
das-vsilo23.cimex.com.cu --username oneadmin --password DataCimex
--mkdir [125]848aed33e9c4c6bb47e5d96324d87c4b" failed: Unable to create
directory [125] 848aed33e9c4c6bb47e5d96324d87c4b:
Fri Feb 22 05:52:32 2013 [ImG][D]: Message received: LOG I 105 Invalid
datastore format '125'.
Fri Feb 22 05:52:32 2013 [ImM][I]: Invalid datastore format '125'.
Fri Feb 22 05:52:32 2013 [ImG][D]: Message received: LOG E 105 Cannot
create [125]848aed33e9c4c6bb47e5d96324d87c4b in
Fri Feb 22 05:52:32 2013 [ImM][E]: Cannot create
[125]848aed33e9c4c6bb47e5d96324d87c4b in
Fri Feb 22 05:52:32 2013 [ImG][D]: Message received: LOG I 105
ExitCode: 1
Fri Feb 22 05:52:32 2013 [ImM][I]: ExitCode: 1
Fri Feb 22 05:52:32 2013 [ImG][D]: Message received: CP FAILURE 105
Cannot create [125]848aed33e9c4c6bb47e5d96324d87c4b in
Fri Feb 22 05:52:32 2013 [ImM][E]: Error copying image in the
datastore: Cannot create [125]848aed33e9c4c6bb47e5d96324d87c4b in
Fri Feb 22 05:52:34 2013 [InM][I]: --Mark--
TE IMPORTANT OF THIS LOG IS:
vifs --server das-vsilo23.cimex.com.cu --username oneadmin --password
DataCimex --mkdir [125]848aed33e9c4c6bb47e5d96324d87c4b
BECAUSE WHEN YOU TRY EXECUTE THIS COMMAND LINE, RETURNS THAT
"Invalid datastore format", I check the documentation of VMware and
don't see nothing about datastore format, only see documentation about
command line of virtual machine format.
Firt ask : ?Some person know something about solution for this
problem?????
IN THE SECOND SCENARIO(DS=vmware TM=ssh - sytemTM=ssh ..... SCENARIO
2.3) I edit firts the oned.conf (DATASTORE_LOCATION =
/vmfs/volumes/opennebula_NFS because I exported the directory
opennebula_NFS how NFS and included in the datastores of ESXi).
In this scenario I can create datastore (Disk Type: BLOCK), image, and
templeate (Current disks:
DISK=[
IMAGE="scenario2.3(ssh)",
IMAGE_UNAME="oneadmin" ]
DISK=[
SIZE="512",
TYPE="swap" ].
BUT when I try create a virtual machine I obtain this log:
Fri Feb 22 06:25:32 2013 [TM][D]: Message received: LOG I 24 Command
execution fail: /var/lib/one/remotes/tm/ssh/mkswap 512
das-vsilo23.cimex.com.cu:/vmfs/volumes/opennebula_NFS/0/24/disk.1 24 0
Fri Feb 22 06:25:32 2013 [TM][D]: Message received: LOG I 24 mkimage:
Making filesystem of 512M and type swap at
das-vsilo23.cimex.com.cu:/vmfs/volumes/opennebula_NFS/0/24/disk.1
Fri Feb 22 06:25:32 2013 [TM][D]: Message received: LOG E 24 mkimage:
Command "export PATH=/usr/sbin:/sbin:$PATH
Fri Feb 22 06:25:32 2013 [TM][D]: Message received: LOG I 24 dd
if=/dev/zero of=/vmfs/volumes/opennebula_NFS/0/24/disk.1 bs=1 count=1
seek=512M
Fri Feb 22 06:25:32 2013 [TM][D]: Message received: LOG I 24 mkswap
/vmfs/volumes/opennebula_NFS/0/24/disk.1" failed: 1+0 records in
Fri Feb 22 06:25:32 2013 [TM][D]: Message received: LOG I 24 1+0
records out
Fri Feb 22 06:25:32 2013 [TM][D]: Message received: LOG I 24 sh:
mkswap: not found
Fri Feb 22 06:25:32 2013 [TM][D]: Message received: LOG E 24 Could not
create image /vmfs/volumes/opennebula_NFS/0/24/disk.1
Fri Feb 22 06:25:32 2013 [TM][D]: Message received: LOG I 24 ExitCode:
127
Fri Feb 22 06:25:32 2013 [TM][D]: Message received: TRANSFER FAILURE 24
Could not create image /vmfs/volumes/opennebula_NFS/0/24/disk.1
THE IMPORTANT OF THIS LOG, IS THAT when try mkswap to disk1 (disk
swap), The program try run mkswap in the ESXi, but in the ESXi no such
command. But I see that in the Front-End there are mkswap.?Why try
mkswap in the ESXi?
?One idea for solution this problem? ... I think run first create disk
in the front-end and format this wiht mkswap in the frnt end, and next
copy the this to datastore, but I don't understand how modify scripts
for this action.... ?one idea???
El 2013-02-28 05:21, Tino Vazquez escribió:
> Hi,
>
> I think the datastore is needing some extra information, which can be
> found here [1]. You are lacking the BRDIGE_LIST option:
>
> BRIDGE_LIST
> Space separated list of ESX servers that are going to be used as
> proxies to stage images into the datastore (vmfs datastores only)
>
> Set it to one of your ESX hosts.
>
> Regards,
>
> -Tino
>
>
> [1] http://opennebula.org/documentation:rel3.8:vmware_ds#configuring_the_datastore_drivers_for_vmware
> [4]
>
> --
> Constantino Vázquez Blanco, PhD, MSc | dsa-research.org/tinova [5]
> Virtualization Technology Engineer / Researcher
> OpenNebula - The Open-Source Solution for Data Center Virtualization
> www.OpenNebula.org [6] | @tinova79 | @OpenNebula
>
> On Wed, Feb 27, 2013 at 8:45 PM, <ahernandez at tesla.cujae.edu.cu>
> wrote:
>
>> Tino, please tell something about the problem
>>
>> 48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de
>> diciembre de 1964 | http://cujae.edu.cu [1]
>>
>> Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu
>> [2]
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [3]
>
>
>
> Links:
> ------
> [1] http://cujae.edu.cu
> [2] http://www.ecured.cu
> [3] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> [4]
>
> http://opennebula.org/documentation:rel3.8:vmware_ds#configuring_the_datastore_drivers_for_vmware
> [5] http://dsa-research.org/tinova
> [6] http://www.OpenNebula.org
48 Aniversario de la Cujae, Una obra de la Revolucion Cubana | 2 de diciembre de 1964 | http://cujae.edu.cu
Consulte la enciclopedia colaborativa cubana. http://www.ecured.cu
More information about the Users
mailing list