TeamCity Run RA Deployment - No active template
search cancel

TeamCity Run RA Deployment - No active template

book

Article ID: 145453

calendar_today

Updated On:

Products

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

Issue/Introduction

While trying to run a build step in TeamCity, using the Nolio RA Plugin: RunRADeployment Nolio, we receive the following message:

 

[22:41:34]The build is removed from the queue to be prepared for the start
[22:41:34]Collecting changes in 1 VCS root
[22:41:34]Starting the build on the agent "Default Agent"
[22:41:35]Updating tools for build
[22:41:35]Clearing temporary directory: /usr/local/TeamCity-2019.2/TeamCity/buildAgent/temp/buildTmp
[22:41:35]Publishing internal artifacts
[22:41:35]Using vcs information from agent file: 46dd11c8a3572aa0.xml
[22:41:35]Checkout directory: /usr/local/TeamCity-2019.2/TeamCity/buildAgent/work/46dd11c8a3572aa0
[22:41:35]Updating sources: auto checkout (on server)
[22:41:35]Step 1/1: Step1 (Run RA Deployment)
[22:41:35][Step 1/1] Running a RA deployment plan for build 2
[22:41:35][Step 1/1] Getting the parameters from Teamcity server
[22:41:35][Step 1/1] Initializing parameters
[22:41:35][Step 1/1] User: user1;
[22:41:35][Step 1/1] Password was set;
[22:41:35][Step 1/1] Application: TestApp2;
[22:41:35][Step 1/1] Project: ArtifactDeployments;
[22:41:35][Step 1/1] timeout: 120;
[22:41:35][Step 1/1] Build: Build1;
[22:41:35][Step 1/1] Template Category Name: ArtifactDeploymentTC1;
[22:41:35][Step 1/1] Template Name: ArtifactDeploymentTemplate;
[22:41:35][Step 1/1] Deployment Plan Name: ADP4;
[22:41:35][Step 1/1] Deployment Plan Description: Artifact Deployment Plan4 - created from TeamCity;
[22:41:35][Step 1/1] Deployment Name: ArtifactDeployment4 - From TeamCity;
[22:41:35][Step 1/1] Deployment Description: Deployment Description - created from TeamCity;
[22:41:35][Step 1/1] Environments: Env1;
[22:41:35][Step 1/1] Use SSL: false;
[22:41:35][Step 1/1] Run asynchronously: false;
[22:41:35][Step 1/1] Generating HTTP RESTFul request
[22:41:35][Step 1/1] With Parameters: Hostname: mynoliorahost.fqdn, Port: 8080, User: user1, Password: ******, Application: TestApp2, Project: ArtifactDeployments, timeout: 120, Artifact Package Name: null, Artifact Package Desc: null, Build: Build1, Template Category: ArtifactDeploymentTC1, Template: ArtifactDeploymentTemplate, Deployment Plan: ADP4, Deployment Plan Description: Artifact Deployment Plan4 - created from TeamCity, Deployment: ArtifactDeployment4 - From TeamCity, Deployment Description: Deployment Description - created from TeamCity, Deployment Stage To Execute: Full, Manifest XML: null, UseSSL: false, Prop List: null, Param Value List: null
[22:41:35][Step 1/1] Environment: Env1
[22:41:35][Step 1/1] result is false
[22:41:35][Step 1/1] description is No active template [ArtifactDeploymentTC1] was found
[22:41:35][Step 1/1] Env is null
[22:41:35][Step 1/1] id is -1
[22:41:35][Step 1/1] response body is null
[22:41:35][Step 1/1] nolio result is GENERAL_ERROR
[22:41:35][Step 1/1] release status is null
[22:41:35][Step 1/1] release error is null
[22:41:35][Step 1/1] stage is null
[22:41:35][Step 1/1] stage state is null
[22:41:35][Step 1/1] Error occurred while trying to run a Deployment Plan. Reason:No active template [ArtifactDeploymentTC1] was found
[22:41:35][Step 1/1] Error occurred while trying to run a Deployment Plan. Reason:No active template [ArtifactDeploymentTC1] was found
[22:41:35][Step 1/1] Step Step1 (Run RA Deployment) failed
[22:41:35]Publishing internal artifacts (4s)
[22:41:40]Unknown build problem reported on agent
[22:41:40]Build finished

Environment

Release : 6.6

Component : CA RELEASE AUTOMATION RELEASE OPERATIONS CENTER
TeamCity Plugin: 5.0.9+

Cause

The user specified in the build configuration does not have the appropriate permissions. 

Resolution

Available Solutions:
1. Configure the build step with a user that does have permissions.
2. Configure the user, in the build step, to be a superuser.
3. Configure the user, in the build step, to be a user with application permissions: Release Template Designer, Deployment Plan Designer