PowerFlex:PowerFlex IMゲートウェイに対してREST APIコールを実行できない

Summary: IMゲートウェイは、IMからREST APIをテストしようとした場合、またはREST APIツール(「curl」など)をそのIPアドレスに対して使用しようとした場合に、HTTPエラー428を返します。

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

この問題は、IMゲートウェイをREST APIエンドポイントとして使用しようとすると発生することがあります。

ゲートウェイから「TEST REST configuration」を使用しようとすると、次のエラーが発生します。
 
IM.png

APIサーバー(ゲートウェイ)に接続しようとすると次のエラーが発生します。
 
Browser.png

「curl」を使用しようとすると、次のエラー メッセージが表示されます。
 
curl -k -v --basic --user admin:password https://10.200.x.x/api/login [10.200.x.x]
 
* About to connect() to 10.200.x.x port 443 (#0)
*   Trying 10.200.x.x...
* Connected to 10.200.x.x (10.200.x.x) port 443 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* skipping SSL peer certificate verification
* SSL connection using TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256
* Server certificate:
*       subject: CN=ScaleIO-10-200-x-x-GW.sioesxinode06,OU=ASD,O=EMC,L=Hopkinton,ST=Massachusetts,C=US
*       start date: Dec 02 07:30:05 2019 GMT
*       expire date: Nov 05 07:30:05 2024 GMT
*       common name: ScaleIO-10-200-x-x-GW.sioesxinode06
*       issuer: CN=ScaleIO-10-200-x-x-GW.sioesxinode06,OU=ASD,O=EMC,L=Hopkinton,ST=Massachusetts,C=US
* Server auth using Basic with user 'admin'
> GET /api/login HTTP/1.1
> Authorization: Basic YWRtaW46U2NhbAFAta==
> User-Agent: curl/7.29.0
> Host: 10.200.x.x
> Accept: */*
>
< HTTP/1.1 428
< Cache-Control: no-cache
< Expires: Thu, 01 Jan 1970 00:00:00 GMT
< Pragma: no-cache
< Cache-Control: no-store
< Content-Type: application/json;charset=UTF-8
< Transfer-Encoding: chunked
< Vary: Accept-Encoding
< Date: Fri, 25 Jun 2021 14:00:00 GMT
< Server: ScaleIO Gateway
<
* Connection #0 to host 10.200.x.x left intact
{"message":"Failed connecting to cluster: 10.200.x.x 10.200.x.x","httpStatusCode":428,"errorCode":0}

IMゲートウェイの「scaleio.log」に次のエラー メッセージが表示されます。


2021-06-25 05:14:27,153 [https-jsse-nio-443-exec-7] INFO  c.e.s.s.s.ConnectionServiceImpl - Got exception when trying to connect to cluster: tcp://10.200.x.x:6611 (with configured 10 concurrent requests)
com.emc.ecs.net.exceptions.SecureConnectionDisabledException: null 

 

影響
PowerFlexでREST APIを使用できません。

Cause

MDMクラスターがセキュアな管理通信を無効にした状態で構成されました。


# scli --query_all | grep -i secure
        Management Clients secure communication: 無効

 

IMゲートウェイが次の構成で動作するように構成されました。


# grep -i secure /opt/emc/scaleio/gateway/webapps/ROOT/WEB-INF/classes/gatewayUser.properties
#######Secure connection with MDM properties#######
# Allow a non-secured REST connection to the MDM if a secured connection can't be established
gateway-security.allow_non_secure_communication=true


ソフトウェアの問題により、ゲートウェイとMDM間の通信が正常に行われませんでした。

Resolution

MDM管理クライアントの通信をセキュアに設定します。
scli --set_management_client_communication --enable_client_secure_communication

Additional Information

問題が発生するバージョン:
PowerFlexオペレーティング システム3.0.x.x

対処済みバージョン:
PowerFlexオペレーティング システム3.0.1.4以降。

Affected Products

PowerFlex Software
Article Properties
Article Number: 000189979
Article Type: Solution
Last Modified: 12 Nov 2025
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.