I tried to execute ksysmgr discover command with EMC Unity storage and have the following error
cxl2csxkp01# ksysmgr discover host_group csrstage
11:09:59 Running discovery on Host Group csrstage, this may take a few minutes...
11:10:24 Storage state synchronization has started for Host Group csrstage
ERROR: Discovery has encountered an error for Host Group csrstage, please investigate
ERROR: Discovery has encountered a Disk Pair error for Host Group csrstage, please investigate
11:10:26 Discovery has finished for csrstage
0 out of 6 managed VMs have been successfully discovered
ERROR: KSYS has encountered storage subsystem related error.
SM ERROR:422:Storage Error, Error
Please check storage log file /var/ksys/log/ksys_unity.log for further investigation.
Please review errors. The "ksysmgr query system status" command may provide additional details.
After checking ksys_unity log, I found the error. Does anyone have experience to walk around the problem?
2023-11-24 11:09:56:43181:build_url:444:INFO: Query for resource type : lun:
2023-11-24 11:09:56:43181:build_url:452:INFO: Query Command :https://10.95.20.43/api/types/lun/instances?fields=id,name,sizeTotal,wwn&filter=id in )&compact=true&with_entrycount=true:
2023-11-24 11:09:56:43181:rest_command:520:INFO: Arguments :{'input_url': 'https://10.95.20.43/api/types/lun/instances?fields=id,name,sizeTotal,wwn&filter=id in )&compact=true&with_entrycount=true', 'type': 1, 'input_data': '', 'pexit': False, 'loc': 'SOURCE', 'member_check': False, 'gcounter': 0}:
2023-11-24 11:09:56:43181:rest_command:534:INFO: Get Request with URL:https://10.95.20.43/api/types/lun/instances?fields=id,name,sizeTotal,wwn&filter=id in )&compact=true&with_entrycount=true:
2023-11-24 11:09:56:43181:rest_command:655:ERROR: Request failed with error 422 error:{"error":{"errorCode":131150129,"httpStatusCode":422,"messages":[{"en-US":"Invalid syntax for filter parameter. Unexpected token: [)] (Error Code:0x7d13131)"}],"created":"2023-11-24T03:10:17.062Z"}}:
2023-11-24 11:09:56:43181:process_exit:3392:INFO: Arguments :{'MSG': 'ERROR:422:Error: post request having wrong contents Invalid syntax for filter parameter. Unexpected token: [)] (Error Code:0x7d13131)', 'Error_Code': -1}:
2023-11-24 11:09:56:43181:process_exit:3393:ERROR: ERROR:422:Error: post request having wrong contents Invalid syntax for filter parameter. Unexpected token: [)] (Error Code:0x7d13131):
------------------------------
JERRY WANG
------------------------------