Symptoms
User failed to add ScaleIO to the VIPR Controller.
Error message: Failed to connect to ScaleIO MDM xxxx: urn:storageos:StorageProvider:xxxx:vdc1
com.emc.storageos.scaleio.ScaleIOException: Authentication Failure in connecting to scaleIO using https://xxxx:443.
Cause
This is a configuration issue in the ScaleIO storage system. The ScaleIO cluster system ID is different from the gateway system ID in gateway property files. In controller svc debug logs, ScaleIO returned the error "HTTP/1.1 500 Internal Server Error" due to System ID xxxx being different from gateway System ID.
DEBUG Wire.java (line 70) >> "Authorization: Basic YWRtaW46Q2RjbGNvbSMxMjM0[\r][\n]"
DEBUG Wire.java (line 70) >> "User-Agent: Jakarta Commons-HttpClient/3.1[\r][\n]"
DEBUG Wire.java (line 70) >> "Host: XXXXX[\r][\n]"
DEBUG Wire.java (line 70) >> "[\r][\n]"
DEBUG Wire.java (line 70) << "HTTP/1.1 500 Internal Server Error[\r][\n]"
DEBUG Wire.java (line 70) << "HTTP/1.1 500 Internal Server Error[\r][\n]"
DEBUG Wire.java (line 70) << "Cache-Control: no-cache[\r][\n]"
DEBUG Wire.java (line 70) << "Expires: Thu, 01 Jan 1970 00:00:00 GMT[\r][\n]"
DEBUG Wire.java (line 70) << "Pragma: no-cache[\r][\n]"
DEBUG Wire.java (line 70) << "Cache-Control: no-store[\r][\n]"
DEBUG Wire.java (line 70) << "Content-Type: application/json;charset=UTF-8[\r][\n]"
DEBUG Wire.java (line 70) << "Transfer-Encoding: chunked[\r][\n]"
DEBUG Wire.java (line 70) << "Vary: Accept-Encoding[\r][\n]"
DEBUG Wire.java (line 70) << "Date: Fri, 23 Jun 2017 04:55:46 GMT[\r][\n]"
DEBUG Wire.java (line 70) << "Connection: close[\r][\n]"
DEBUG Wire.java (line 70) << "Server: ScaleIO Gateway[\r][\n]"
DEBUG Wire.java (line 70) << "[\r][\n]"
DEBUG Wire.java (line 84) << "c"
DEBUG Wire.java (line 84) << "0"
DEBUG Wire.java (line 84) << "[\r]"
DEBUG Wire.java (line 70) << "[\n]"
DEBUG Wire.java (line 84) << "{"message":"System id XXXX is different from gateway SystemId (mdmAddresses points to a cluster and system id belongs to a different cluster)).","httpStatusCode":500,"errorCode":0}"
DEBUG Wire.java (line 84) << "[\r]"
DEBUG Wire.java (line 70) << "[\n]"
Resolution
Make the system ID in ScaleIO Gateway the same as the one in ScaleIO cluster.
Steps:
cd /opt/emc/scaleio/gateway/webapps/ROOT/WEB-INF/classes Edit gatewayUser.properties system ID and confirm that "system ID = null"To trigger system ID synchronize, run command service scaleio-gateway restartOpen the browser and input getaway IP https://xxxxx/api/loginCheck the system ID in the gateway to confirm whether it is the same as the one in the ScaleIO cluster.Add ScaleIO to the ViPR Controller again.