Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-2899

not possible to remove deployment-overlay in mixed domain when slave host is EAP 6.3. or older

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 3.0.0.Beta24
    • 3.0.0.Beta23
    • Management
    • None
    • Hide

      Setup mixed domain, I used WildFly 11 Alpha master and EAP 6.3.0.GA slave, used default profile copied from EAP6 and renamed to eap6-default

      1. start master
        jboss-eap-7.1/bin/domain.sh --host-config=host-master.xml
      2. start slave - one server in group eap6-main-server-group
        jboss-eap-6.3/bin/domain.sh --host-config=host-slave.xml -Djboss.domain.master.address=127.0.0.1 -Djboss.management.native.port=19999

      connect to DC with CLI

      1. deploy war
        deploy ~/Downloads/simple-servlet.war --server-groups=eap6-main-server-group
      2. add deployment overlay
        deployment-overlay add --name=overlay-test --content=WEB-INF/web.xml=/tmp/web.xml --server-groups=eap6-main-server-group --deployments=simple-servlet.war
      3. redeploy affected (optional, there is the same error without redeploy)
        deployment-overlay redeploy-affected --name=overlay-test
      4. try to remove deployment-overlay
        deployment-overlay remove --name=overlay-test
      Show
      Setup mixed domain, I used WildFly 11 Alpha master and EAP 6.3.0.GA slave, used default profile copied from EAP6 and renamed to eap6-default start master jboss-eap-7.1/bin/domain.sh --host-config=host-master.xml start slave - one server in group eap6-main-server-group jboss-eap-6.3/bin/domain.sh --host-config=host-slave.xml -Djboss.domain.master.address=127.0.0.1 -Djboss.management.native.port=19999 connect to DC with CLI deploy war deploy ~/Downloads/simple-servlet.war --server-groups=eap6-main-server-group add deployment overlay deployment-overlay add --name=overlay-test --content=WEB-INF/web.xml=/tmp/web.xml --server-groups=eap6-main-server-group --deployments=simple-servlet.war redeploy affected (optional, there is the same error without redeploy) deployment-overlay redeploy-affected --name=overlay-test try to remove deployment-overlay deployment-overlay remove --name=overlay-test

      It's not possible to remove deployment-overlay in mixed domain when slave host is EAP 6.3. or older. The error is:

      {"WFLYDC0074: Operation failed or was rolled back on all servers. Server failures:" => {"server-group" => {"eap6-server-group" => {"host" => {"msimka-t450.brq.redhat.com" => {"server-one" => {"JBAS014653: Composite operation failed and was rolled back. Steps that failed:" => {"Operation step-1" => "JBAS014762: Removing services has lead to unsatisfied dependencies:
      Service jboss.deploymentOverlayIndexService.deploymentOverlayService.overlay-test was depended upon by service jboss.deploymentOverlayIndexService.deploymentOverlayService.contentService.overlay-test.\"WEB-INF/web.xml\", service jboss.deploymentOverlayIndexService.deploymentOverlayLinkService.overlay-test.\"simple-servlet.war\""}}}}}}}}
      

      It works when slave is EAP 6.4.0.

            ehugonne1@redhat.com Emmanuel Hugonnet
            ehugonne1@redhat.com Emmanuel Hugonnet
            Martin Simka Martin Simka
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: