通过备份和还原方法升级后、在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.]
- 已删除AIQUM数据源、并已重新设置以获取证书详细信息
- 已在 凭据下删除并添加ONTAP详细信息
- 手动触发的"
Acuire Now
"作业或计划的获取作业工作