Avamar – Die neue Bereitstellung von Dell EMC Cloud Director Data Protection Extension (DPE) schlägt mit dem Fehler "Die Cloud-Zugangsdaten sind ungültig" fehl.

Summary: DPE: Die neue Bereitstellung schlägt mit der Fehlermeldung "Die Cloud-Zugangsdaten sind ungültig" fehl.

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

Während der erstmaligen Bereitstellung von Dell EMC Cloud Director Data Protection Extension (DPE) Version 19.3 oder höher schlägt der anfängliche Node-Bereitstellungsschritt in der vCloud 10.x-Umgebung

fehl. Die Ausgabe sieht wie folgt aus:
dpe.example.com: # vcp-cli node init -c=node-init.yaml
Input password:
Error:
The cloud credentials are invalid.

Die vCloud-Zugangsdaten in node-init.yaml sind jedoch korrekt und die Anmeldung bei der VMware Provider-Benutzeroberfläche (https://vcloud.example.com/provider ) in einem Browser ist erfolgreich.


Auf dem DPE-Node in /var/log/vcp/vcp-manager.log sehen wir Folgendes 
 
2021-04-22 14:47:04.218  INFO 12941 --- [https-jsse-nio-9000-exec-3] com.emc.vcp.dpem.service.NodeService     : login to cloud: vcloud.example.com by user administrator@system
2021-04-22 14:47:04.243  WARN 12941 --- [https-jsse-nio-9000-exec-3] c.e.v.d.e.ExceptionConfiguration         :
com.emc.vcp.dpem.exception.AppServerException: The cloud credentials are invalid.
        at com.emc.vcp.dpem.service.NodeService.cloudLogin(NodeService.java:391)
        at com.emc.vcp.dpem.service.NodeService.setCloud(NodeService.java:355)
        at com.emc.vcp.dpem.service.NodeService.init(NodeService.java:203)
        at com.emc.vcp.dpem.controller.NodeController.init(NodeController.java:50)
        at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 

Cause

Der VMware Cloud-Systemadministrator hat den Legacy-API-Endpunkt deaktiviert. 

Normalerweise ist dieser Service standardmäßig aktiviert und für DPE erforderlich.     In vcloud cell hat der VMware-Administrator diesen VCD-Zellenmanagementbefehl ausgeführt, um das API-Verhalten zu ändern. Dieser VMware-Befehl führt zu einem DPE-Bereitstellungsfehler. 
 
/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n vcloud.api.legacy.nonprovideronly -v true

Weitere Informationen finden Sie auf dieser Seite:  

https://docs.vmware.com/en/VMware-Cloud-Director/10.0/com.vmware.vcloud.install.doc/GUID-84390C8F-E8C5-4137-A1A5-53EC27FE0024.htmlFehlerbehebung: 

Nach VMware KB 56948 können wir sehen, dass selbst der API/Sitzungsendpunkt auch mit HTTP 401 fehlschlägt, unabhängig davon, welche API-Version oder Nutzername/Kennwort verwendet wird. 

Mit diesem curl-Befehl wird beispielsweise die Anmeldung bei api/sessions mithilfe von 30.0 username administrator@system/password getestet. 
curl -k -I --header "Accept: application/*;version=30.0"  --header "Authorization: Basic `echo -n administrator@system:Password |base64`"  --request POST https://vcloud.example.com/api/sessions

Wenn die Legacy-API aktiviert ist, sollte der Befehl curl den HTTP 200-Statuscode und das Authentifizierungstoken wie folgt zurückgeben: 
 
HTTP/1.1 200 OK
Date: Thu, 03 Jun 2021 19:59:20 GMT
X-VMWARE-VCLOUD-REQUEST-ID: c8cb4fe3-e9ea-4abc-a135-cb284b7e1ea5
X-VMWARE-VCLOUD-ACCESS-TOKEN: eyJhbGciOiJSUzI1NiJ9.eyJzdWIiOiJhZG1pbmlzdHJhdG9yIiwiaXNzIjoiYTkzYzlkYjktNzQ3MS0zMTkyLThkMDktYThmN2VlZGE4NWY5QGNhODM3MGRmLWFhM2QtNGE4YS1iZDNkLTM5MzZjOGJkMzAxNiIsImV4cCI6MTYyMjgzNjc2MCwidmVyc2lvbiI6InZjbG91ZF8xLjAiLCJqdGkiOiIyYjIyZDkwNDk1NTI0MDJjOTI4YzRmYzFiYzUyNGY5YiJ9.HttOVBg-mRm94c64GdTyvofcK6m22PSPbY-qNrKnVGg6ATcfabRsSJ_q-3YdKGx37BizRGOnxGwCG3mVc3O4suv6qU8WOQgmhd9-f-FF-xL9KHz3m5t2dxwSIUOJ0-0ePLfLrYdBy5l-H-1BHaU9bsMnGXem9ql1oAAuVAf5Epv0lZ7j9CBQG7-V1HP35dv2FAUuS5Mdppc1onOlOhxsBU8N9DKzy04wWkRAXpOz1z32lE4vKP-gqlw8nNxI6z_XpaUcg-BWuduhJt2jJrqTKyEo1lqvTixGyNIUI7XSJ1JDP76YgN1jO8qcl4NsYihRe60X8Fqv-z7xlcA_9j1Rpg
X-VMWARE-VCLOUD-TOKEN-TYPE: Bearer
x-vcloud-authorization: 2b22d9049552402c928c4fc1bc524f9b
Content-Type: application/vnd.vmware.vcloud.session+xml;version=30.0
X-VMWARE-VCLOUD-REQUEST-EXECUTION-TIME: 404
Cache-Control: no-store, must-revalidate
Vary: Accept-Encoding, User-Agent
Content-Length: 2512
dpe-test:~ #

Wenn api/sessions deaktiviert ist (vcloud.api.legacy.nonprovideronly -v true), ist die HTTP-Antwort immer HTTP 401, unabhängig vom Nutzernamen und Kennwort.  
dpe-test:~ # curl -k -I --header "Accept: application/*;version=30.0"  --header "Authorization: Basic `echo -n administrator@system:Password |base64`"  --request POST https://vcloud.example.com/api/sessions
HTTP/1.1 401 Unauthorized
Date: Thu, 03 Jun 2021 21:08:26 GMT
X-VMWARE-VCLOUD-REQUEST-ID: f620175f-0df2-43dd-8ac6-0b8246ca9e2f
Content-Length: 0

Resolution

Um Dell EMC Cloud Director Data Protection Extension (DPE) verwenden zu können, muss der vCloud-Systemadministrator den Legacy-API-Endpunkt wieder aktivieren, indem dieser Befehl in vCloud-Verzeichniszellen ausgeführt wird.  
/opt/vmware/vcloud-director/bin/cell-management-tool manage-config -n vcloud.api.legacy.nonprovideronly -v false

Affected Products

Avamar
Article Properties
Article Number: 000188038
Article Type: Solution
Last Modified: 10 مايو 2026
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.