PowerFlex: Kan REST API-oproepen niet uitvoeren op PowerFlex IM Gateway

Summary: IM Gateway retourneert HTTP-fout 428 bij het testen van de REST API van de IM of bij het gebruik van een REST API-tool (bijvoorbeeld 'curl') op het IP-adres.

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

Dit probleem kan zich voordoen bij het gebruik van IM Gateway als rest API-eindpunt. 

Fout bij het gebruik van "Test REST configuration" van de gateway:
 
IM.png

Fout bij het maken van verbinding met de API-server (gateway):
 
Browser.png

Foutmelding bij het gebruik van '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...
*  Verbonden met 10.200.x.x (10.200.x.x) poort 443 (#0)
* Initialiseren van NSS met certpath: sql:/etc/pki/nssdb
* SSL peer certificate verification *
SSL-verbinding overslaan met behulp van TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 *
Servercertificaat:
*       subject: CN=ScaleIO-10-200-x-x-GW.sioesxinode06,OU=ASD,O=EMC,L=Hopkinton,ST=Massachusetts,C=US
* startdatum: 02 dec 2019 07:30:05 GMT
* vervaldatum: 5 nov 2024 07:30:05 GMT
* algemene naam: ScaleIO-10-200-x-x-GW.sioesxinode06
* uitgever: CN=ScaleIO-10-200-x-x-GW.sioesxinode06,OU=ASD,O=EMC,L=Hopkinton,ST=Massachusetts,C=US
* Serverauth met behulp van Basic met gebruiker 'admin'
> GET /api/login HTTP/1.1
> Authorization: Basic YWRtaW46U2NhbAFAta==
> User-Agent: curl/7.29.0
> Host: 10.200.x.x
> Accepteren: */*
>
< HTTP/1.1 428
< Cache-Control: no-cache
< expires: do 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: vr 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 Gateway "scaleio.log":


2021-06-25 05:14:27,153 [https-jsse-nio-443-exec-7] INFO c.e.s.s.s.ConnectionServiceImpl - Kregen uitzondering bij het maken van verbinding met cluster: tcp://10.200.x.x:6611 (met geconfigureerde 10 gelijktijdige aanvragen)
com.emc.ecs.net.exceptions.SecureConnectionDisabledException: null 

 

Impact
Kan REST API niet gebruiken met PowerFlex.

Cause

Het MDM-cluster is geconfigureerd met beveiligde beheercommunicatie uitgeschakeld:


# scli --query_all | grep -i secure
Management Clients beveiligde communicatie: Uitgeschakeld

 

De IM Gateway is geconfigureerd om te werken met de volgende configuratie:


# 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


Als gevolg van een softwareprobleem is de communicatie tussen de gateway en de MDM niet gelukt.

Resolution

Stel MDM Management Clients-communicatie in op beveiliging:
scli --set_management_client_communication --enable_client_secure_communication

Additional Information

Getroffen versies:
PowerFlex-besturingssysteem 3.0.x.x.

Behandeld in versie:
PowerFlex-besturingssysteem 3.0.1.4 en hoger.

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.