PowerFlex: Impossibile eseguire chiamate API REST su gateway IM PowerFlex

Summary: Il gateway IM restituisce l'errore HTTP 428 quando si tenta di testare l'API REST dall'IM o quando si tenta di utilizzare uno strumento API REST (ad esempio "curl") rispetto al relativo indirizzo IP. ...

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

Questo problema può verificarsi quando si tenta di utilizzare il gateway di messaggistica istantanea come endpoint API REST. 

Errore durante il tentativo di utilizzare "Test REST configuration" dal gateway:
 
Im.png

Errore durante il tentativo di connessione al server API (gateway):
 
Browser.png

Messaggio di errore quando si tenta di utilizzare "curl":
 
curl -k -v --basic --user admin:password https://10.200.x.x/api/login [10.200.x.x]

* Informazioni sulla connessione() alla porta 10.200.x.x 443 (#0)
* Tentativo 10.200.x.x...
*  Connesso alla porta 10.200.x.x (10.200.x.x) 443 (#0)
* Inizializzazione NSS con certpath: sql:/etc/pki/nssdb * ignorando la verifica del
certificato peer SSL * Connessione SSL tramite TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 * Certificato

server:
*       subject: CN=ScaleIO-10-200-x-GW.sioesxinode06,OU=ASD,O=EMC,L=Hopkinton,ST=Massachusetts,C=US
* data di inizio: 02 dic 07:30:05 2019 GMT
* data di scadenza: 05 nov 07:30:05 2024 GMT
* nome comune: ScaleIO-10-200-x-GW.sioesxinode06
* issuer: CN=ScaleIO-10-200-x-GW.sioesxinode06,OU=ASD,O=EMC,L=Hopkinton,ST=Massachusetts,C=US * Autenticazione server
con basic con user 'admin' > GET
/api/login HTTP/1.1
> Authorization: Basic YW LargeW46U2NhbAFAta»
> User-Agent: curl/7.29.0
> Host: 10.200.x.x
> Accetta: */*
>
< HTTP/1.1 428
< Cache-Control:
no-cache < Expires: Gio, 01 gen 1970 00:00:00 GMT
< Pragma: no-cache
< Cache-Control: no-store
< Content-Type: application/json;charset=UTF-8
< Transfer-Encoding: chunked
< Vary: Accetta-
Data < codifica: Ven 25 giu 2021 14:00:00 GMT
< server: ScaleIO Gateway
<
* Connessione n. 0 all'host 10.200.x.x lasciato intatto
{"message":"Failed connecting to cluster: 10.200.x.x 10.200.x.x","httpStatusCode":428,"errorCode":0}

Gateway 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 

 

Impatto
Impossibile utilizzare l'API REST con PowerFlex.

Cause

Il cluster MDM è stato configurato con la comunicazione di gestione sicura disabilitata:


N. scli --query_all | grep -i secure
Management Client comunicazione sicura: Disabilitati

 

Il gateway IM è stato configurato per funzionare con la seguente configurazione:


# grep -i secure /opt/emc/scaleio/gateway/webapps/ROOT/WEB-INF/classes/gatewayUser.properties
#######Secure connessione con le proprietà MDM#######
# Consentire una connessione REST non protetta all'MDM se non è possibile stabilire una connessione protetta
gateway-security.allow_non_secure_communication=true


A causa di un problema software, la comunicazione tra il gateway e MDM non ha avuto esito positivo.

Resolution

Impostare la comunicazione client di gestione MDM su secure:
scli --set_management_client_communication --enable_client_secure_communication

Additional Information

Versioni interessate:
Sistema operativo PowerFlex 3.0.x.x.

Gestito nella versione:
Sistema operativo PowerFlex 3.0.1.4 e versioni successive.

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.