JBoss ON bundle handover deployment action fails to update existing deployment due to resource not found or duplicate deployment error when deployment's runtime-name does not match deployment name

Solution Unverified - Updated -

Issue

  • Handover failed during execution:

    JBAS014807: Management resource '[("deployment" => "kitchensink-ear")]' not found, rolled-back=true
    
  • Deploy a new version of same bundle I get the message:

    domain-failure-description={JBAS014653: Composite operation failed and was rolled back. Steps that failed:={Operation step-1=JBAS014803: Duplicate resource [("deployment" => "MyApp.ear")]}}}, rolled-back=true
    
  • Way to delete the previously deployed application with the new bundle's recipe

Environment

  • Red Hat JBoss Operations Network (ON) 3.3
  • Red Hat JBoss Enterprise Application Platform (EAP) 6.4
  • Existing application deployment that uses a runtime-name attribute value that is different from the deployment's name. For example, deployment=jboss-kitchensink-ear.ear, runtime-name=kitchensink-v1
  • JBoss ON Provisioning Bundle that uses the rhq:handover action="deployment" task to update the existing application deployment with a new version

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In