[jbosstools-issues] [JBoss JIRA] (JBDS-4070) DevStudio / external OpenShift fails deployment

Rob Stryker (JIRA) issues at jboss.org
Fri Oct 21 12:48:00 EDT 2016


    [ https://issues.jboss.org/browse/JBDS-4070?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13310527#comment-13310527 ] 

Rob Stryker commented on JBDS-4070:
-----------------------------------

> Scan found incompletely copied file content for deployment /opt/eap/standalone/deployments/deploy/deploy/deploy/deploy/deploy/deploy/activemq-rar.rar.

I've seen errors like this when just generically playing with rsync (ie not related to openshift or even our eclipse tools).  Generally, it means something is wrong with the rsync process. 

Here is a very clear example you can replicate.
{code}
ssh user at someremote.com
# type pw

# make example folder structure
mkdir tmp
cd tmp
mkdir rsytest/
touch rsytest/a.txt
touch rsytest/c.txt
mkdir rsytest/out.war/
touch rsytest/out.war/b.txt
touch rsytest/out.war/c.txt

# go back to local machine
exit

rsync -av  user at someremote.com:~/tmp/rsytest .
# Watch as rsytest folder appears on local machine

rsync -av . user at someremote.com::~/tmp/rsytest 
# Watch as it syncs back up

ssh user at someremote.com

rob at arcaner:~$ cd tmp/rsytest
rob at arcaner:~/tmp/rsytest$ ls -1
a.txt
c.txt
out.war
rsytest
rob at arcaner:~/tmp/rsytest$ 

{code}

As you can see, we now have a nested rsytest due to an improper rsync. If this process is repeated 5 times, you will end up with 5 nested folders. 

I would guess that's what si occurring here. 


> DevStudio / external OpenShift fails deployment
> -----------------------------------------------
>
>                 Key: JBDS-4070
>                 URL: https://issues.jboss.org/browse/JBDS-4070
>             Project: Red Hat JBoss Developer Studio (devstudio)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 10.1.0.GA
>         Environment: DevStudio as used with an external OpenShift
>            Reporter: Rick Wagner
>            Assignee: Jeff MAURY
>              Labels: openshift_v3
>             Fix For: 10.2.0.AM3
>
>         Attachments: eap-app-server-adapter-publish.png, eap-app-server-adapter-settings.png, kitchensink-ear-deployed-succcessfully.png, kitchensink-ear-projects.png, new-openshift-server-adapter.png
>
>
> If DevStudio (with Server Adapter configured for external OpenShift) is used to deploy an application developed in DevStudio, errors result.
> The reporting user shows indications additional 'deploy' directories are being synthesized as the binary target location.   The log reports:
> 15:59:41,588 INFO  [org.jboss.as.server.deployment.scanner] (DeploymentScanner-threads - 2) WFLYDS0010: Scan found incompletely copied file content for deployment /opt/eap/standalone/deployments/deploy/deploy/deploy/deploy/deploy/deploy/activemq-rar.rar. 



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list