Article ID: 111503, created on Jun 20, 2011, last review on Jan 17, 2016

  • Applies to:
  • Operations Automation

Symptoms

An APS application task fails in Operations Automation (OA) with this error message:

Another operation on instance of application / service is already in progress.

Cause

The task Initiating operation on instance with id <ID> or Finalizing operation on instance with id <ID> that previously was scheduled for the problem APS application instance was canceled or removed.

When OA performs an operation on an APS application, the following three tasks are created with the same mutex (in the same queue):

  • Initiating operation on instance - Marks an APS application instance as being (re)configured in the OA database

  • Executing configuration scripts - Performs actual operations on the APS application instance

  • Finalizing operation on instance - Marks an APS application instance in the OA database as being completely (re)configured

Therefore, if the task Initiating operation on instance or Finalizing operation on instance is canceled, the application instance will be marked in the OA database as still being (re)configured and successive operations under the application instance will fail. This is because the previous operation still is running according to the OA database.

Resolution

Please never cancel or delete the Initiating operation <ID> or Finalizing operation <ID> APS tasks in OA. This will lead to inconsistent data in the OA database and to the problem described in this article.

Canceled OA tasks can be re-executed, so find all the tasks related to the problem APS application instance in Task Manager in the OA Provider Control Panel and re-run them. Depending on the version of OA you are using, you can find these tasks in:

  • OA 5.4: System Director > Task Manager > Canceled Tasks
  • OA >= 5.5: Operations > Tasks > Canceled Tasks

Tasks may be found by searching for the same Subscription ID or queue name as the failed task, or by the name of the APS application through the "Name" column. In the latter case, please use asterisks around the name, like: *<APS name>*.

You can find additional information in this Knowledgebase article: How to find OA tasks for particular application instance.

Open a ticket with the Odin Support Team if the problem is not resolved after all the canceled tasks are re-run and executed successfully.

Search Words

aps initiating operation

failed tasks

APS application 'WordPress', id 105, instance 4356 -> service 'wordpress', instance 5930: Initiating disabling, site

Failed task because of another instance already running

aps application Initiating operation failed

sitebuilder

Premium Antivirus 4.16+ license not renewed automatically

Another operation on instance of application

Task 'APS application 'Drupal', id 108, instance 1550 -> service 'drupal', instance 1317: Initiating unprovisioning

Another operation on instance of application / service is already in progress.

Configuring Service

APS task failed - Another operation on instance of application / service is already in progress

failed task

Acronis application - update instances fails

service is already in progress.

APS application Initiating operation

failed

erro delete list

resource downgrade failed task

taskInitiateOperationOnApplicationInstance

Task failing in the Task Manager

5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07

Email subscription for changes to this article
Save as PDF