'Action run failed with following error: "HTTP Error 403: Forbidden"' when deploying DSM 9.0.1 DB via Aria Automation
search cancel

'Action run failed with following error: "HTTP Error 403: Forbidden"' when deploying DSM 9.0.1 DB via Aria Automation

book

Article ID: 417514

calendar_today

Updated On:

Products

VMware Data Services Manager

Issue/Introduction

  • Data Services Manager (DSM) 9.0.1 has been integrated with Aria Automation, following the steps in Download and Install the VMware Aria Automation Plug-in

  • Deployment of a DB using DSM via Aria Automation by a user with appropriate permsissions on DSM fails with error: 'Action run failed with following error: "HTTP Error 403: Forbidden"'

Cause

  • The required configuration change to DSM 9.0.1 "advanced-systems-config" configMap in dsm-system namespace, to allow clusters in default namespace, which is specified in the AriaAutomation_DataServicesManager.zip README file has not been completed.

    (For location of the AriaAutomation_DataServicesManager.zip file and its readMe file, see: Download and Install the VMware Aria Automation Plug-in)


Verification:

  • DSM log /var/log/tdm/provider/containers/dsm-tsql-provisioner-service.log which reports: "cannot create cluster in namespace 'default': only dsm-managed namespaces are allowed

container_name/dsm-tsql-provisioner-service[1344]: {"level":"error","timestamp":"<timestamp>,"logger":"admission.validateClusterCreate","C":"database/database.go:150","message":"Validation failed on cluster create","webhookGroup":"databases.dataservices.vmware.com","webhookKind":"PostgresCluster","PostgresCluster":{"name":"<dbClusterName>","namespace":"default"},"namespace":"default","name":"<dbClusterName>","resource":{"group":"databases.dataservices.vmware.com","version":"v1alpha1","resource":"postgresclusters"},"user":"<user>","requestID":"e5448930-b053-48b9-bf60-2a53a435bd06","cluster":{"name":"<dbClusterName>","namespace":"default"},"error":"cannot create cluster in namespace 'default': only dsm-managed namespaces are allowed"...

Resolution

Apply the configuration change to the DSM "advanced-systems-config" configMap in dsm-system namespace specified in the AriaAutomation_DataServicesManager.zip README file.