XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Blocker
    • 4.3.1.CR1
    • 4.3.1.CR1
    • openshift
    • None
    • devex #4 March 2016
    • Hide
      • create an openshift server adapter for an EAP app
      • start the server
      • it'll rsync files to the server
      • stop the server
      • right click on the matching service in openshift explorer, do Deploy Latest
      • wait for the pod to redeploy
      • start the server
        => publishing will fail, as remote ROOT.war binary can't be copied over local exploded ROOT.war folder
      Show
      create an openshift server adapter for an EAP app start the server it'll rsync files to the server stop the server right click on the matching service in openshift explorer, do Deploy Latest wait for the pod to redeploy start the server => publishing will fail, as remote ROOT.war binary can't be copied over local exploded ROOT.war folder

    Description

      While testing the debugging support on the server adapter, I got the following error:

      Could not sync all pods to folder /Users/xcoulon/workspaces/runtime-Eclipse-mars.2/.metadata/.plugins/org.jboss.ide.eclipse.as.core/sample@eap-app/deploy
      OpenShiftBinaryCapability process exited: rsync: delete_file: rmdir "/Users/xcoulon/workspaces/runtime-Eclipse-mars.2/.metadata/.plugins/org.jboss.ide.eclipse.as.core/sample@eap-app/deploy/ROOT.war" failed: Directory not empty (66)
      rsync error: some files could not be transferred (code 23) at /SourceCache/rsync/rsync-45/rsync/main.c(1400) [generator=2.6.9]
      error: exit status 23
      

      The content of the .../deploy directory was:

      drwxr-xr-x  9 xcoulon  staff      306 Mar 25 12:19 ./
      drwxr-xr-x  4 xcoulon  staff      136 Mar 25 11:55 ../
      -rw-r--r--  1 xcoulon  staff     9041 Mar 27  2015 README.txt
      drwxr-xr-x  7 xcoulon  staff      238 Mar 25 11:59 ROOT.war/
      -rw-r--r--  1 xcoulon  staff        8 Mar 23 17:59 ROOT.war.deployed
      -rw-r--r--  1 xcoulon  staff        8 Mar 25 12:18 ROOT.war.isdeploying
      -rw-r--r--  1 xcoulon  staff  8415373 Aug 11  2015 activemq-rar.rar
      -rw-r--r--  1 xcoulon  staff       16 Aug 11  2015 activemq-rar.rar.deployed
      -rw-r--r--  1 xcoulon  staff       16 Mar 25 12:18 activemq-rar.rar.isdeploying
      

      Attachments

        Issue Links

          Activity

            People

              rob.stryker Rob Stryker (Inactive)
              xcoulon@redhat.com Xavier Coulon
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: