跳转到主内容

通过备份和还原方法升级后、在WFA中使用PowerShell获取自定义工作流数据源失败、并显示无效字符错误

Views:
3
Visibility:
Public
Votes:
0
Category:
oncommand-workflow-automation-wfa
Specialty:
legacy
Last Updated:

适用场景

  • OnCommand Workflow Automation (WFA 5.1.1P7
  • Windows安装
  • AIQM/ActiveIQ ONTAP (AIQUM)数据源

问题描述

  • WFA 通过备份/还原方法升级了5.1.1P3 5.1.1 P7
  • 升级后、通过PowerShell为ONTAP或AIQUM数据源获取数据源的工作流将失败
  • wfa.log出错:

INFO  [com.netapp.wfa.command.execution.instance.impl.ExecutionInstanceDaoImpl] (Thread-4 (ActiveMQ-client-global-threads)) [acquire_wfa_datasource]  ### Command 'acquire_wfa_datasource' in 'POWER_SHELL' ###

DEBUG [com.netapp.wfa.command.execution.impl.executors.CommandExecutorImpl] (Thread-4 (ActiveMQ-client-global-threads)) Executing command 'acquire_wfa_datasource':POWER_SHELL
...
...
 
DEBUG [com.netapp.wfa.command.execution.impl.CredentialDaoImpl] (default task-7) Looking command credential by IP addresses (exact match) '[<WFA_Server_IP>, 0:0:0:0:0:0:0:1]'
INFO  [com.netapp.wfa.rs.execution.ExecutionResource] (default task-7) Execution : Credential Request Successfully processed for array host '<WFA_server>'
INFO  [com.netapp.wfa.command.execution.instance.impl.ExecutionInstanceDaoImpl] (default task-7) [acquire_wfa_datasource]  Credentials successfully provided for '<WFA_server>'
 
...
...
 
DEBUG [com.netapp.wfa.common.stats.MethodInvocationStatsInterceptor] (Thread-4 (ActiveMQ-client-global-threads)) COMPLETED         milliseconds=1967           depth=25            class=ScriptHandlerBaseImpl             method=executeScriptCommand:Time taken to execute the script in a process  parameters=[[powershell, -ExecutionPolicy, remotesigned, -NonInteractive, -NoProfile, -InputFormat, Text, -OutputFormat, XML, -Command, $_Netapp_Uri = @($input)[0] ; D:\NetApp\WFA\jboss\..\PoSH\profile.ps1;Invoke-WfaCommand -Script './acquire_wfa_datasource14021644386637789484.ps1 -DataSourceName ''<ONTAP/AIQUM_Datasource>'' -Protocol ''https'' -WfaServer ''<WFA_server>'' ']]
[com.netapp.wfa.common.stats.MethodInvocationStatsInterceptor] (Thread-4 (ActiveMQ-client-global-threads)) FAILED    milliseconds=0    depth=25            class=ScriptHandlerBaseImpl             method=executeScriptCommand:reading error message from error stream      parameters=['_x0001_', hexadecimal value 0x01, is an invalid character. Line 1, position 559.]

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.