Unable to stop release, stuck in artifact distribution
search cancel

Unable to stop release, stuck in artifact distribution

book

Article ID: 186467

calendar_today

Updated On:

Products

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

Issue/Introduction

We are not able to stop process from ROC(Release Operation Center) even after clicking stop button. It keep running stating Distributing artifacts. How can we stop/cancell this release

 

Environment

Release : 6.6 or higher

Component : CA RELEASE AUTOMATION RELEASE OPERATIONS CENTER

Resolution

To resolve the above scenario we will follow the below steps
Note: It is preferred to take backup of the table/rows where you are going to perform update.
  1. The first preference to stop such a release is via REST API, which can either be executed via swagger (Login to ROC-> Help- > REST API Swagger) interface provided by Release Automation. The release id can be obtained via visiting the release and copying the id from URL *releases/16916185000
  2. If the above not able to stop the release than an only than we proceed with below step which is going to execute the query against the DB.
    • SELECTION: This will give us current status of the release where exactly it is hanged in which stage
      • SELECT * FROM rc_releases WHERE id=16916185000
  •  
    • UPDATE: This will be updating the stage to CANCELLED_DEPLOYMENT making release as cancelled.
      • UPDATE rc_releases
        SET release_result='CANCELLED_DEPLOYMENT'
        WHERE id=16916185000;

Additional Information

We recommend DB updates to be only used by experience users, in case of doubt please feel free to reach to Technical Support.

Attachments