Ansible API is failing with 500 Error for device onboarding
search cancel

Ansible API is failing with 500 Error for device onboarding

book

Article ID: 244687

calendar_today

Updated On:

Products

CA Privileged Access Manager (PAM)

Issue/Introduction

We use Ansible to provision new devices in PAM. When this is initiated from two devices at about the same time, the "POST /api.php/v1/devices.json" Rest API call often fails with a 500 error for one of them. Sometimes the device running into the error is found in PAM afterwards, but typically not. A retry usually works.

Environment

Release : 4.0.0-4.0.3  and 4.1

Component : PRIVILEGED ACCESS MANAGEMENT

Cause

The Rest API calls were not fully synchronized and could step on each other.

Resolution

The problem will be fixed in the next maintenance releases 4.1.1 and 4.0.4, and in future releases. If you have the problem and cannot upgrade to a release that includes a solution for some time, please open a case with PAM Support.