Uploaded image for project: 'JBoss Enterprise Application Platform'
  1. JBoss Enterprise Application Platform
  2. JBEAP-7475

Can not remove (unassign) deployment from subset of server groups only

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Done
    • Icon: Major Major
    • 7.1.0.DR10
    • 7.1.0.DR8
    • CLI, Management
    • None

      Reproducing
      Deploy deployment to more than one server groups:

      deploy /valid-path/my-war.war --name=my-war.war --server-groups=main-server-group,other-server-group
      

      Removing from one server groups only

      undeploy --name=my-war.war --server-groups=main-server-group
      

      returns

      Undeploy failed: {"WFLYCTL0062: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-3" => "WFLYDC0043: Cannot remove deployment my-war.war from the domain as it is still used by server groups [other-server-group]"}}
      

      Expected behavior
      Server will be removed from defined subset only - as it is possible via webconsole already.

              jdenise@redhat.com Jean Francois Denise
              jstefl@redhat.com Jan Štefl
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: