<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: WFA - Custom Data Source Load Error in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/150307#M27115</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;It seems that the data contained in your .csv file doesn't match the data type defined in MySQL table structure.&lt;BR /&gt;But without knowing what the csv file contains, nor the table structure it's difficult to be more specific.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Does your CSV files contains a header displaying the column names ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;Could you may be share the first line of your csv file and a 'describe&amp;nbsp;&lt;SPAN&gt;wfa_staging.mytable_dfstarget' ?&lt;BR /&gt;(You can remove the sensible data if any from this csv extract, the value matter less than knowing what kind of data this field contains)&lt;BR /&gt;&lt;BR /&gt;As documented in the releases notes, here are the main changes introduced by WFA 5.0 :&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;• Added security hardening to secure WFA systems &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;• New features for OnCommand Workflow Automation (WFA) 5.0 &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ HTML5-based UI for Operator Portal &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ The wfa-server service on Linux runs as a non-root user. This is done to improve security for WFA on Linux &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ HTTP access to the WFA Web UI and REST interface is unavailable. All WFA HTTP Web URLs redirect to HTTPs &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;• Upgraded software The following software versions are included:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ Wildfly upgrade from Wildfly 8.2 to Wildfly 12.0 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ ActiveState ActivePerl 5.24.3 (2404) with OpenSSL 1.0.2k (Windows only) &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ Perl components of NetApp Manageability SDK 9.5 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ Data ONTAP PowerShell Toolkit 4.7.0.0 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ Oracle Java SE Runtime Environment (JRE) 1.8.0_192 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ MySQL Community Edition 5.7.24&lt;BR /&gt;&lt;BR /&gt;Your script may be affected by the upgrade of either the Powershell Toolkit or the Manageability SDK.&lt;BR /&gt;Have a look at their respective releases notes foor further details regarding the changes introduced and if they may affect your code.&lt;BR /&gt;&lt;BR /&gt;Bests Regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 16 Aug 2019 13:12:58 GMT</pubDate>
    <dc:creator>Yanic</dc:creator>
    <dc:date>2019-08-16T13:12:58Z</dc:date>
    <item>
      <title>WFA - Custom Data Source Load Error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/150306#M27114</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I have an issue to load data into my scheme wince we upgraded in WFA v5.0 (before we were running WFA4.2).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the error during acquisition :&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Incorrect integer value: 'N' for column 'id' at row 1&lt;BR /&gt;Query is: LOAD DATA INFILE 'C:/Program Files/NetApp/WFA/jboss/standalone/tmp/wfa/dfstarget.csv' INTO TABLE wfa_staging.mytable_dfstarget&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone knows what changed since WFA v5.0 ?&lt;/P&gt;
&lt;P&gt;Or should I change my script ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks in advance for your help&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 10:17:55 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/150306#M27114</guid>
      <dc:creator>Gab</dc:creator>
      <dc:date>2019-08-16T10:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Custom Data Source Load Error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/150307#M27115</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;It seems that the data contained in your .csv file doesn't match the data type defined in MySQL table structure.&lt;BR /&gt;But without knowing what the csv file contains, nor the table structure it's difficult to be more specific.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Does your CSV files contains a header displaying the column names ?&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;Could you may be share the first line of your csv file and a 'describe&amp;nbsp;&lt;SPAN&gt;wfa_staging.mytable_dfstarget' ?&lt;BR /&gt;(You can remove the sensible data if any from this csv extract, the value matter less than knowing what kind of data this field contains)&lt;BR /&gt;&lt;BR /&gt;As documented in the releases notes, here are the main changes introduced by WFA 5.0 :&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;• Added security hardening to secure WFA systems &lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;• New features for OnCommand Workflow Automation (WFA) 5.0 &lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ HTML5-based UI for Operator Portal &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ The wfa-server service on Linux runs as a non-root user. This is done to improve security for WFA on Linux &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ HTTP access to the WFA Web UI and REST interface is unavailable. All WFA HTTP Web URLs redirect to HTTPs &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;• Upgraded software The following software versions are included:&lt;/STRONG&gt; &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ Wildfly upgrade from Wildfly 8.2 to Wildfly 12.0 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ ActiveState ActivePerl 5.24.3 (2404) with OpenSSL 1.0.2k (Windows only) &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ Perl components of NetApp Manageability SDK 9.5 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ Data ONTAP PowerShell Toolkit 4.7.0.0 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ Oracle Java SE Runtime Environment (JRE) 1.8.0_192 &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;◦ MySQL Community Edition 5.7.24&lt;BR /&gt;&lt;BR /&gt;Your script may be affected by the upgrade of either the Powershell Toolkit or the Manageability SDK.&lt;BR /&gt;Have a look at their respective releases notes foor further details regarding the changes introduced and if they may affect your code.&lt;BR /&gt;&lt;BR /&gt;Bests Regards,&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 13:12:58 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/150307#M27115</guid>
      <dc:creator>Yanic</dc:creator>
      <dc:date>2019-08-16T13:12:58Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Custom Data Source Load Error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/150308#M27116</link>
      <description>&lt;P&gt;Hi Yanic,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We haven't any header in the clumns.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is our script, you would see how we build our two CSVs files:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;$fldrfile='.\dfsfolder.csv'&lt;BR /&gt;$targetfile='.\dfstarget.csv'&lt;BR /&gt;new-item -type file $fldrfile -Force&lt;BR /&gt;new-item -type file $targetfile -Force&lt;/P&gt;
&lt;P&gt;$mydfsnroots=(get-dfsnroot).path&lt;BR /&gt;$mydfstargets=&lt;/P&gt;
&lt;P&gt;foreach ($dfsroot in $mydfsnroots){&lt;BR /&gt;$mydfsnfolders=get-dfsnfolder "$dfsroot\*"&lt;BR /&gt;foreach ($dfsnfolder in $mydfsnfolders){&lt;BR /&gt;&amp;gt;Add-Content $fldrfile ([byte[]][Char[]] ("\N`t"+(($dfsnfolder.path+"`t"+$dfsnfolder.state+"`t"+$dfsnfolder.timetolivesec) -replace '\\','/')+"`n")) -Encoding utf8&lt;BR /&gt;Get-DfsnFolderTarget $dfsnfolder.path |% {Add-Content $targetfile ([byte[]][Char[]] ("\N`t"+(($_.path+"`t"+$_.targetpath+"`t"+$_.state+"`t"+$_.ReferralPriorityClass+"`t"+$_.ReferralPriorityRank) -replace '\\','/')+"`n")) -Encoding utf8}&lt;BR /&gt;}&lt;BR /&gt;}&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As we don't query any information to the netapp, only our DFS, is it really impacted by Powershell Toolkit and Manageability SDK ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 13:53:31 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/150308#M27116</guid>
      <dc:creator>Gab</dc:creator>
      <dc:date>2019-08-16T13:53:31Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Custom Data Source Load Error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/150309#M27117</link>
      <description>&lt;P&gt;Find below an example of both CSVs content.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1st CSV (dfsfolder):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;\N	//domain/ou/share	Online	300&lt;/PRE&gt;
&lt;P&gt;2nd CSV (dfstarget):&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;\N //domain/ou/share //vserver/share/folder Online sitecost-normal 0&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 14:07:38 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/150309#M27117</guid>
      <dc:creator>Gab</dc:creator>
      <dc:date>2019-08-16T14:07:38Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Custom Data Source Load Error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/150310#M27118</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://community.netapp.com/t5/user/viewprofilepage/user-id/30408"&gt;@Gab&lt;/a&gt;&amp;nbsp;wrote:
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As we don't query any information to the netapp, only our DFS, is it really impacted by Powershell Toolkit and Manageability SDK ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;I'm encline to reply "NO !", if you don't query a NetApp filer, it shouldn't affect you.&lt;/P&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 14:14:56 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/150310#M27118</guid>
      <dc:creator>Yanic</dc:creator>
      <dc:date>2019-08-16T14:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Custom Data Source Load Error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/150311#M27119</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;I think this is where it hurts.&lt;BR /&gt;&lt;BR /&gt;Your rows are composed as following :&lt;BR /&gt;&amp;lt;string&amp;gt;&amp;nbsp; &amp;lt;string&amp;gt;&amp;nbsp; &amp;lt;string&amp;gt;&amp;nbsp; &amp;lt;integer&amp;gt;&lt;BR /&gt;Is the '\N' value expected ?&lt;BR /&gt;&lt;BR /&gt;Where, based on MySQL error message, the first column of your table is a numeric id.&lt;BR /&gt;&lt;BR /&gt;It then looks to me that you need to either :&lt;BR /&gt;1) Adapt your CSV to ensure that the first field of each row contains a numeric id, which will be used as primary key in your DB&lt;BR /&gt;2) Make use of "&lt;SPAN class="sqlkeywordcolor"&gt;NOT&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="sqlkeywordcolor"&gt;NULL&lt;/SPAN&gt;&lt;SPAN&gt;&amp;nbsp;AUTO_INCREMENT" in your table for the column 'id'.&lt;BR /&gt;&lt;/SPAN&gt;&amp;nbsp; &amp;nbsp; This way, if the id value is not specified, MySQL will pick the next available id automagically for you&lt;BR /&gt;&amp;nbsp; &amp;nbsp; Exemple :&amp;nbsp;&lt;A href="https://www.w3schools.com/sql/sql_autoincrement.asp" target="_blank"&gt;https://www.w3schools.com/sql/sql_autoincrement.asp&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;&lt;BR /&gt;Bests Regards,&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2019 14:21:19 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/150311#M27119</guid>
      <dc:creator>Yanic</dc:creator>
      <dc:date>2019-08-16T14:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Custom Data Source Load Error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/150339#M27125</link>
      <description>&lt;P&gt;Hi Yanic,&lt;/P&gt;
&lt;P&gt;As my colleague is on vacation, I took over his issue.&lt;/P&gt;
&lt;P&gt;As he mentioned, the issue started after the upgrade from 4.x to version 5.&lt;/P&gt;
&lt;P&gt;We had followed the instructions from the video below:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.netapp.com/t5/Data-Infrastructure-Management-Software-Articles-and-Resources/Video-Building-your-first-script-based-custom-datasource-using-a-file/ta-p/87679" target="_self"&gt;https://community.netapp.com/t5/Data-Infrastructure-Management-Software-Articles-and-Resources/Video-Building-your-first-script-based-custom-datasource-using-a-file/ta-p/87679&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;The \N was mandatory to be inserted in the CSV file, so WFA could recognize it as a new line.&lt;/P&gt;
&lt;P&gt;There was also a reference to it in the following thread:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.netapp.com/t5/Data-Infrastructure-Management-Software-Discussions/How-to-create-an-own-data-source/td-p/78018" target="_self"&gt;https://community.netapp.com/t5/Data-Infrastructure-Management-Software-Discussions/How-to-create-an-own-data-source/td-p/78018&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;We haven't modified the script, which was working well until the upgrade.&lt;/P&gt;
&lt;P&gt;So far, it seems that it doesn't recognize the " \N" as an integer, which makes sense of course.&lt;/P&gt;
&lt;P&gt;Maybe there is a new method to populate the custom database, but I haven't found any information so far.&lt;/P&gt;</description>
      <pubDate>Mon, 19 Aug 2019 13:13:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/150339#M27125</guid>
      <dc:creator>jcbettinelli</dc:creator>
      <dc:date>2019-08-19T13:13:02Z</dc:date>
    </item>
    <item>
      <title>Re: WFA - Custom Data Source Load Error</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/158764#M27927</link>
      <description>&lt;P&gt;I'm experiencing the same issue when upgrading from 4.x to 5.1&lt;/P&gt;
&lt;P&gt;our customer datasources are breaking because before leaving integer blank was recognized as null&lt;/P&gt;
&lt;P&gt;but now WFA 5.x expects \N for all integer fields.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Is there any way to disable this behavior ?&lt;/P&gt;</description>
      <pubDate>Wed, 19 Aug 2020 02:48:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/WFA-Custom-Data-Source-Load-Error/m-p/158764#M27927</guid>
      <dc:creator>DavidK12</dc:creator>
      <dc:date>2020-08-19T02:48:43Z</dc:date>
    </item>
  </channel>
</rss>

