Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-25916

OpenShift Server Adapter: Error in Log after "Restart in Debug"

XMLWordPrintable

    • devex #148 April 2018, devex #149 May 2018, devex #150 June 2018
    • 10
    • Hide

      1. Create OpenShift 3 connection to https://api.engint.openshift.com
      2. Create project and create application based on template eap70-basic-s2i
      3. Wait until app is running
      4. Create server adapter
      5. Wait until adapter is Started and Synchronized
      6. Restart adapter in Debug

      Show
      1. Create OpenShift 3 connection to https://api.engint.openshift.com 2. Create project and create application based on template eap70-basic-s2i 3. Wait until app is running 4. Create server adapter 5. Wait until adapter is Started and Synchronized 6. Restart adapter in Debug
    • Workaround Exists
    • Hide

      delete the launch config (which causes the adapter to create a new one) and then restart the adapter into debug.

      Show
      delete the launch config (which causes the adapter to create a new one) and then restart the adapter into debug.

      An error occurs when restarting server adapter in debug:

      eclipse.buildId=11.3.0.GA-v20180410-1152-B2341
      java.version=1.8.0_162
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product
      Command-line arguments:  -data file:/home/jkopriva/devstudio_B2341/workspace/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
      
      org.jboss.tools.openshift.core
      Warning
      Wed Apr 11 18:09:03 CEST 2018
      Error while publishing server eap-app (Service) at OpenShift 3 (api.engint.openshift.com).  Could not sync all pods to folder /home/jkopriva/devstudio_B2341/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/oc2@eap-app/deploy
      
      org.eclipse.core.runtime.CoreException: Error while publishing server eap-app (Service) at OpenShift 3 (api.engint.openshift.com).  Could not sync all pods to folder /home/jkopriva/devstudio_B2341/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/oc2@eap-app/deploy
      	at org.jboss.tools.openshift.core.server.behavior.OpenShiftPublishController.handleSyncDownFailure(OpenShiftPublishController.java:92)
      	at org.jboss.tools.openshift.core.server.behavior.OpenShiftPublishController.publishStart(OpenShiftPublishController.java:61)
      	at org.jboss.ide.eclipse.as.wtp.core.server.behavior.CachedPublisherProfileBehavior.publishStart(CachedPublisherProfileBehavior.java:47)
      	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:942)
      	at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:774)
      	at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3182)
      	at org.eclipse.wst.server.core.internal.Server.publish(Server.java:1340)
      	at org.jboss.tools.openshift.core.server.behavior.OpenShiftLaunchController$1.run(OpenShiftLaunchController.java:261)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)
      Contains: Syncing com.openshift.restclient.capability.resources.IRSyncable$PodPeer@e159132 to com.openshift.restclient.capability.resources.IRSyncable$LocalPeer@e822802 failed: could not make way for new regular file: ROOT.war
      rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1659) [generator=3.1.3]
      error: exit status 23
      
      eclipse.buildId=11.3.0.GA-v20180410-1152-B2341
      java.version=1.8.0_162
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product
      Command-line arguments:  -data file:/home/jkopriva/devstudio_B2341/workspace/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
      
      org.jboss.tools.openshift.core
      Error
      Wed Apr 11 18:09:03 CEST 2018
      Error while publishing server eap-app (Service) at OpenShift 3 (api.engint.openshift.com).  Could not sync all pods to folder /home/jkopriva/devstudio_B2341/workspace/.metadata/.plugins/org.jboss.ide.eclipse.as.core/oc2@eap-app/deploy
      
      eclipse.buildId=11.3.0.GA-v20180410-1152-B2341
      java.version=1.8.0_162
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product
      Command-line arguments:  -data file:/home/jkopriva/devstudio_B2341/workspace/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
      
      org.jboss.tools.openshift.core
      Error
      Wed Apr 11 18:09:03 CEST 2018
      Syncing com.openshift.restclient.capability.resources.IRSyncable$PodPeer@e159132 to com.openshift.restclient.capability.resources.IRSyncable$LocalPeer@e822802 failed: could not make way for new regular file: ROOT.war
      rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1659) [generator=3.1.3]
      error: exit status 23
      
      

              adietish@redhat.com André Dietisheim
              jkopriva@redhat.com Josef Kopriva
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: