Subscribe
Accepted Solution

vmware acquisition - data truncation error

version 1.1.1

when acquiring from vcenter - get data truncation error: data too long for column "name" at row 1

Found errors in the wfa log (attached) but not sure what it means - error at end of file

Re: vmware acquisition - data truncation error

I have run into this issue a few times and it is always a different cause.  The two most common for me

  1. vCenter database contains unrecognized characters or bad data
  2. Duplicate names of datastores (typically the local VMFS datastore on the server) cause weird errors

It looks like the failure is due to getting Lun information

Caused by: com.netapp.wfa.util.SqlShellException: <localhost> Failed to load from 'C:\Program Files (x86)\NetApp\WFA\jboss\server\default\tmp\wfa\192.168.1.51-vc.lun-3443510657525740650.dump' into wfa_staging.vc_lun

    at com.netapp.wfa.util.SqlShell.loadFromFile(SqlShell.java:215)

Also, are you using vCenter 4.x and not 5.x?

Re: vmware acquisition - data truncation error

I'm using VC 5.  Strange - I dont have any LUNs - just local datastores

What I am wonderingis, does this prevent all acquisition, or is it possible I am acquiring partial data. I dont know enough about WFA yet.

Re: vmware acquisition - data truncation error

Currently, WFA 1.1.1 only supports up to VC 4.1 so mileage may vary with VC 5.0.  This is suppose to be corrected soon... hopefully.

The local datastore is 'technically' a Lun (VMware ESX considers all VMFS type datastores as Luns including the local).  With that said, rename the local datastores to be unique and then try again. 

Yes, acquisition fails and rolls back to an empty set of cache tables. 

Re: vmware acquisition - data truncation error

Hi Jeremi, Stephen et all,

I believe that a short search in our community would dig up the following thread:

https://communities.netapp.com/message/89769#89769

It helped several of our users trying to cache from Vcenter and facing some lun-related issue.

Stephen, Please download the file attached in that thread and restore it on your system.

Kindly let us know whether it helped your issue or not.

Many thanks,

Yaron Haimsohn

WFA Team

Re: vmware acquisition - data truncation error

Hi Stephen,

Can you comment or confirm?

Thanks,

Yaron

Re: vmware acquisition - data truncation error

After download the file attached in  the thread https://communities.netapp.com/message/89769#89769 and restore it on our system and reset the vc cache we still have the same issue with vCenter 4.1.

Re: vmware acquisition - data truncation error

Restored and reset cache - still failing on acquire

Re: vmware acquisition - data truncation error

installed WFA 2.0 beta - getting same data trunc error

Re: vmware acquisition - data truncation error

Thanks Stephen,

This is a very important bit of information.

We would like to analyze this issue, as it may require an update to the queries due to some unforseen configuration settings.

We would like to get ASUP file from the machine.

Also, is the WFA machine internal? And the vcenter?

If so we would like to access them.

I will get in touch with you and Jerome ASAP for details.

Thanks for sharing this.

Yaron