[
https://issues.jboss.org/browse/JBIDE-25700?page=com.atlassian.jira.plugi...
]
Andre Dietisheim edited comment on JBIDE-25700 at 4/12/18 6:34 AM:
-------------------------------------------------------------------
I cannot reproduce this. Here's my rsync output:
{code}
building file list ... done
classes/.DS_Store
classes/application.properties
classes/logback.xml
classes/META-INF/
classes/META-INF/MANIFEST.MF
classes/META-INF/spring-devtools.properties
classes/META-INF/fabric8/
classes/META-INF/fabric8/kubernetes.json
classes/META-INF/fabric8/kubernetes.yml
classes/META-INF/fabric8/openshift.json
classes/META-INF/fabric8/openshift.yml
classes/META-INF/fabric8/kubernetes/
classes/META-INF/fabric8/kubernetes/camel-ose-springboot-xml-deployment.yml
classes/META-INF/fabric8/kubernetes/camel-ose-springboot-xml-svc.yml
classes/META-INF/fabric8/openshift/
classes/META-INF/fabric8/openshift/camel-ose-springboot-xml-deploymentconfig.yml
classes/META-INF/fabric8/openshift/camel-ose-springboot-xml-svc.yml
classes/META-INF/maven/
classes/META-INF/maven/org.mycompany/
classes/META-INF/maven/org.mycompany/camel-ose-springboot-xml/
classes/META-INF/maven/org.mycompany/camel-ose-springboot-xml/pom.properties
classes/META-INF/maven/org.mycompany/camel-ose-springboot-xml/pom.xml
classes/org/.DS_Store
classes/org/mycompany/Application.class
classes/org/mycompany/MyTransformer.class
classes/spring/camel-context.xml
sent 41670 bytes received 528 bytes 6492.00 bytes/sec
total size is 43320 speedup is 1.03
building file list ... done
classes/.DS_Store
classes/application.properties
classes/logback.xml
classes/META-INF/
classes/META-INF/MANIFEST.MF
classes/META-INF/spring-devtools.properties
classes/META-INF/fabric8/
classes/META-INF/fabric8/kubernetes.json
classes/META-INF/fabric8/kubernetes.yml
classes/META-INF/fabric8/openshift.json
classes/META-INF/fabric8/openshift.yml
classes/META-INF/fabric8/kubernetes/
classes/META-INF/fabric8/kubernetes/camel-ose-springboot-xml-deployment.yml
classes/META-INF/fabric8/kubernetes/camel-ose-springboot-xml-svc.yml
classes/META-INF/fabric8/openshift/
classes/META-INF/fabric8/openshift/camel-ose-springboot-xml-deploymentconfig.yml
classes/META-INF/fabric8/openshift/camel-ose-springboot-xml-svc.yml
classes/META-INF/maven/
classes/META-INF/maven/org.mycompany/
classes/META-INF/maven/org.mycompany/camel-ose-springboot-xml/
classes/META-INF/maven/org.mycompany/camel-ose-springboot-xml/pom.properties
classes/META-INF/maven/org.mycompany/camel-ose-springboot-xml/pom.xml
classes/org/.DS_Store
classes/org/mycompany/Application.class
classes/org/mycompany/MyTransformer.class
classes/spring/camel-context.xml
sent 41670 bytes received 528 bytes 9377.33 bytes/sec
total size is 43320 speedup is 1.03
building file list ... done
sent 825 bytes received 20 bytes 187.78 bytes/sec
total size is 43320 speedup is 51.27
{code}
was (Author: adietish):
I cannot reproduce this.
Server adapter: hot deploy of Spring Boot errors with permission
issues when rsyncing local->pod (OS Online and CDK)
--------------------------------------------------------------------------------------------------------------------
Key: JBIDE-25700
URL:
https://issues.jboss.org/browse/JBIDE-25700
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.5.2.Final
Reporter: Aurélien Pupier
Assignee: Andre Dietisheim
Priority: Critical
Labels: server_adapter, springboot
Fix For: 4.5.3.AM3
neither with
open.paas.redhat.com
so only when using the CDK.
it seems to be due to the fact that the user in the pod are not the same.
Jeff said:
{quote}
For SpringBoot deployments, the application file is called a fat jar and it placed in the
/deployments folder (images are upstream fabric8/s2i-java or imagestream
redhat-openjdk18-openshift). In order to get live update the file is then unzipped to the
/deployments folder leaded to new sub folders BOOT-INF and META-INF
The user permissions on those folders are the following:
/deployments: writable by user jboss and group root
/deployments/BOOT-INF: writable by user jboss readable only by group root
/deployments/META-INF: writable by user jboss readable only by group root
The rsync process with create some sub folders under /deployments/BOOT-INF. The problem
that we have is that the user that is assigned for the rsync operation (or when you open a
terminal in the OpenShift console) is not jboss (as opposed to Minishift/CDK) and thus we
have permissions errors during the rsync operation.
{quote}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)