[one-users] VMFS datastore image creation issue

Michael Curran michael.curran at connectsolutions.com
Mon Jul 8 04:25:14 PDT 2013


Thanks Tino -- that helped select a server (documentation made it seem like I needed to put it in vmfs.conf, which didn't work)

But now I get invalid datastore format errors ?




Mon Jul  8 04:17:52 2013 [ImM][E]: cp: Command "vifs --server 192.168.250.38 --username oneadmin --password c0NN3cT4 --mkdir [1]36f2381589196c82e8cffd46b53c3e49" failed: Unable to create directory [1] 36f2381589196c82e8cffd46b53c3e49:
Mon Jul  8 04:17:52 2013 [ImG][D]: Message received: LOG I 7 Invalid datastore format '1'.

Mon Jul  8 04:17:52 2013 [ImM][I]: Invalid datastore format '1'.
Mon Jul  8 04:17:52 2013 [ImG][D]: Message received: LOG E 7 Cannot create [1]36f2381589196c82e8cffd46b53c3e49 in 192.168.250.38

Mon Jul  8 04:17:52 2013 [ImM][E]: Cannot create [1]36f2381589196c82e8cffd46b53c3e49 in 192.168.250.38
Mon Jul  8 04:17:52 2013 [ImG][D]: Message received: LOG I 7 ExitCode: 1

Mon Jul  8 04:17:52 2013 [ImM][I]: ExitCode: 1
Mon Jul  8 04:17:52 2013 [ImG][D]: Message received: CP FAILURE 7 Cannot create [1]36f2381589196c82e8cffd46b53c3e49 in 192.168.250.38

Mon Jul  8 04:17:52 2013 [ImM][E]: Error copying image in the datastore: Cannot create [1]36f2381589196c82e8cffd46b53c3e49 in 192.168.250.38

Michael Curran | connectsolutions | Lead Network Architect
Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com

-----Original Message-----
From: Tino Vazquez [mailto:cvazquez at c12g.com] 
Sent: Monday, July 08, 2013 5:22 AM
To: Michael Curran
Cc: users at lists.opennebula.org
Subject: Re: [one-users] VMFS datastore image creation issue

Hi Michael,

It looks like you are missing the ESX hosts' to be used as bridge to stage in the images. The OpenNebula front-end applies a round robin to the list of ESX hosts to be used this way, so it doesn't saturate them.

This list has to be added space separated to a variable called BRIDGE_LIST into the template of the images datastore (in your case it appears to be the one with id = 1, so you will need to execute "onedatastore update 1"). See [1] for more details.

Regards,

-Tino

[1] http://opennebula.org/documentation:rel4.0:vmware_ds#datastore_driver_configuration_vmfs
--
Constantino Vázquez Blanco, PhD, MSc
C12G Labs - OpenNebula for the Enterprise www.c12g.com | cvazquez at c12g.com | @C12G

--
Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the "To" and "cc" box). They are the property of C12G Labs S.L..
Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at abuse at c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation.


On Sun, Jul 7, 2013 at 2:00 PM, Michael Curran <michael.curran at connectsolutions.com> wrote:
> Has anyone used OpenNebula 4.0 with vmware / VMFS only drivers (all 
> datastores are on the VMFS infrastructure) and uploaded vmdk.tar.gz 
> successfully? Maybe I'm missing something in the VMFS setups?
>
>
>
> Sun Jul  7 04:56:44 2013 [ImM][I]: Copying
> /var/tmp/sunstone-upload20130707-1109-z25g3l-0 to repository for image 
> 5
>
> Sun Jul  7 04:56:44 2013 [ReM][D]: Req:5600 UID:0 ImageAllocate result 
> SUCCESS, 5
>
> Sun Jul  7 04:56:44 2013 [ReM][D]: Req:7200 UID:0 ImageInfo invoked, 5
>
> Sun Jul  7 04:56:44 2013 [ReM][D]: Req:7200 UID:0 ImageInfo result 
> SUCCESS, "<IMAGE><ID>5</ID><UI..."
>
> Sun Jul  7 04:56:45 2013 [ImG][D]: Message received: LOG I 5 Command 
> execution fail: /var/lib/one/remotes/datastore/vmfs/cp
> PERTX0RSSVZFUl9BQ1RJT05fREFUQT48SU1BR0U+PElEPjU8L0lEPjxVSUQ+MDwvVUlEPjxHSUQ+MDwvR0lEPjxVTkFNRT5vbmVhZG1pbjwvVU5BTUU+PEdOQU1FPm9uZWFkbWluPC9HTkFNRT48TkFNRT5WYW5pb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R1JPVVBfTT4wPC9HUk9VUF9NPjxHUk9VUF9BPjA8L0dST1VQX0E+PE9USEVSX1U+MTwvT1RIRVJfVT48T1RIRVJfTT4wPC9PVEhFUl9NPjxPVEhFUl9BPjA8L09USEVSX0E+PC9QRVJNSVNTSU9OUz48RFNfTUFEPnZtZnM8L0RTX01BRD48VE1fTUFEPnZtZnM8L1RNX01BRD48QkFTRV9QQVRIPi92YXIvbGliL29uZS9kYXRhc3RvcmVzLzE8L0JBU0VfUEFUSD48VFlQRT4wPC9UWVBFPjxESVNLX1RZUEU+MDwvRElTS19UWVBFPjxDTFVTVEVSX0lEPi0xPC9DTFVTVEVSX0lEPjxDTFVTVEVSPjwvQ0xVU1RFUj48SU1BR0VTPjxJRD4wPC9JRD48L0lNQUdFUz48VEVNUExBVEU+PERTX01BRD48IVtDREFUQVt2bWZzXV0+PC9EU19NQUQ+PFRNX01BRD48IVtDREFUQVt2bWZzXV0+PC9UTV9NQUQ+PFRZUEU+PCFbQ0RBVEFbSU1BR0VfRFNdXT48L1RZUEU+PC9URU1QTEFURT48L0RBVEFTVE9SRT48L0RTX0RSSVZFUl9BQ1RJT05fREFUQT4=
> 5
>
> Sun Jul  7 04:56:45 2013 [ImG][D]: Message received: LOG I 5 expr: 
> division by zero
>
>
>
> Sun Jul  7 04:56:45 2013 [ImM][I]: expr: division by zero
>
> Sun Jul  7 04:56:45 2013 [ImG][D]: Message received: LOG E 5 cp: 
> Command "vifs --server  --username oneadmin --password c0NN3cT4 
> --mkdir [1]18bbec44ae8696cae5d7f6941f21c293" failed: Use of 
> uninitialized value $username in scalar chomp at /usr/share/perl/5.14/VMware/VILib.pm line 687.
>
>
>
> Sun Jul  7 04:56:45 2013 [ImM][E]: cp: Command "vifs --server  
> --username oneadmin --password c0NN3cT4 --mkdir [1]18bbec44ae8696cae5d7f6941f21c293"
> failed: Use of uninitialized value $username in scalar chomp at 
> /usr/share/perl/5.14/VMware/VILib.pm line 687.
>
> Sun Jul  7 04:56:45 2013 [ImG][D]: Message received: LOG E 5 Cannot 
> create
> [1]18bbec44ae8696cae5d7f6941f21c293 in
>
>
>
> Sun Jul  7 04:56:45 2013 [ImM][E]: Cannot create
> [1]18bbec44ae8696cae5d7f6941f21c293 in
>
> Sun Jul  7 04:56:45 2013 [ImG][D]: Message received: LOG I 5 ExitCode: 
> 1
>
>
>
> Sun Jul  7 04:56:45 2013 [ImM][I]: ExitCode: 1
>
> Sun Jul  7 04:56:45 2013 [ImG][D]: Message received: CP FAILURE 5 
> Cannot create [1]18bbec44ae8696cae5d7f6941f21c293 in
>
>
>
>
>
> Michael Curran | connectsolutions | Lead Network Architect
>
> Phone 614.568.2285 | Mobile 614.403.6320 | www.connectsolutions.com
>
>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



More information about the Users mailing list