Insight数据源上的Brocade portShow失败
适用场景
- OnCommand Insight (Insight) 7.3.33
- Brocade 数据源
问题描述
portShow命令失败、并在Insight数据源上显示错误:
20XX-01-02 00:31:41,290 WARN [com.onaro.sanscreen.acquisition.datasource.brocade.builders.BrocadeAbstractBuilder] [foundation] stars_ant_fab_A - XX.X.XXX.XXX - Unable to parse portshow: Invalid hex FCID length: 4 (expected 6)
20XX-01-02 00:31:41,290 INFO [com.onaro.sanscreen.acquisition.datasource.brocade.builders.BrocadeAbstractBuilder] [foundation] stars_ant_fab_A - XX.X.XXX.XXX - Attempting to execute portshow on single ports from port index: 0
20XX-01-02 00:31:43,228 FATAL [com.onaro.sanscreen.acquisition.framework.datasource.BaseDataSource] [foundation] stars_ant_fab_A - Runtime exception: Command failed: portshow
java.lang.RuntimeException: Command failed: portshow
...
Caused by: java.lang.IllegalArgumentException: Invalid hex FCID length: 4 (expected 6)
at com.onaro.sanscreen.acquisition.common.Fcid.toValue(Fcid.java:91) ~[brocade_cli.jar:?]
at co
m.onaro.sanscreen.acquisition.common.Fcid.<init>(Fcid.java:60) ~[brocade_cli.jar:?]
at com.onaro.sanscreen.acquisition.datasource.brocade.builders.BrocadePortBuilder.populateFromPortShowCommand
(BrocadePortBuilder.java:537) ~[brocade_cli.jar:?]
at com.onaro.sanscreen.acquisition.datasource.brocade.builders.BrocadePortBuilder.executeSinglePortShowCommand
(BrocadePortBuilder.java:722) ~[brocade