error on ROC - Create Deployment From Deployment Plan action - after Upgrade from 6.5 or earlier

book

Article ID: 110887

calendar_today

Updated On:

Products

CA Release Automation - Release Operations Center (Nolio) CA Release Automation - DataManagement Server (Nolio)

Issue/Introduction

After updating we have started getting an error from the action "ROC - Create Deployment From Deployment Plan":

Error occurred during action execution: Failed to parse json: [{"result":false,"description":"Init Step not finished yet, or not successful. Init step status is [ACTIVE]"}] for class [class [Lcom.nolio.liquor.dtos.api.DeploymentResponseApiDto;].
 

Cause

Development confirmed the behavior experienced in RA 6.5 was a defect which was resolved in a recent cumulative patch and the behavior experienced in RA 6.6 was working as intended.
By design, you are not able to use the "ROC - Create Deployment From Deployment Plan" action in a Pre-Plan step to create a deployment based off of the deployment plan that the Pre-Plan step is running in.


Environment

Release: 6.6 and 6.7
Component: RAACPK

Resolution

When working with a Deployment Template with a Pre-Plan, the pre-plan must be completed prior to the creation of the Deployment Plan.  The pre-plan should be focused on making sure that the deployment plan being created is configured the way it is expected prior to initiation of the Deployment Plan. 

After moving to version 6.6 you will need to review and rethink your Deployment Template and pre-planning to ensure the pre-planning steps complete prior to the initiation of the Deployment Plan.