Upgrading the NAC fails with error "Checking for running jobs..Active jobs were found, Please stop all active jobs and continue the upgrade process"
search cancel

Upgrading the NAC fails with error "Checking for running jobs..Active jobs were found, Please stop all active jobs and continue the upgrade process"

book

Article ID: 5078

calendar_today

Updated On:

Products

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

Issue/Introduction

Upgrading Release Automation may fail even though all steps as listed in the documentation for upgrading Release Automation are followed.

In the ROC dashboard there are no processes under running state, yet during the upgrade, the following error shows up:  "Checking for running jobs..Active jobs were found. Please stop all active jobs and continue the upgrade process".

Environment

Can occur during any upgrade between versions.  For example upgrading from  6.4 to 6.6 or to 6.8

Cause

Even though the dashboard does not list any running or long running jobs, there may still be jobs within the database that prevent the upgrade from succeeding.

Resolution

1. Login to the JMX Management Console: http://<NAC IP/FQDN>:20203/ (it will prompt for a username and password, both of which are, by default, "nolio"). 

2. From the "Server view" tab, locate the "Domain: noliocenter" category. 

3. Click on "noliocenter:type=ExecutionCaches" option. It will then open MBean "noliocenter:type=ExecutionCaches" under the "Mbean view" tab. 

4. Under the "Operations" category, click the "Invoke" button for the "showJobsCache" option. If there are any current deployments, they will be listed here. Various details about each deployment will show, including the Job ID, which should be noted down. 

5. From the "Server view" tab, return to the "Domain: noliocenter" category. 

6. Select "noliocenter:type=info" to open it under the "Mbean view" tab. 

7. Under the "Operations" category, enter the Job ID in the field for the "Parameters" option for "removeProcessRun". 

* Click the "Invoke" button to kill the process.

Additional Information