]
Andre Dietisheim commented on JBIDE-25700:
------------------------------------------
[~rhuss] thanks for the update. File transfers now seem to happen but unfortunately I
still have permissions issues.
When using the camel-ose-springboot-xml example rsync is complaining about not being able
to set permissions:
{code}
rsync: failed to set permissions on
"/deployments/BOOT-INF/classes/application.properties": Operation not permitted
(1)
rsync: failed to set permissions on "/deployments/BOOT-INF/classes/logback.xml":
Operation not permitted (1)
rsync: failed to set permissions on
"/deployments/BOOT-INF/classes/org/mycompany/Application.class": Operation not
permitted (1)
rsync: failed to set permissions on
"/deployments/BOOT-INF/classes/org/mycompany/MyTransformer.class": Operation not
permitted (1)
rsync: failed to set permissions on
"/deployments/BOOT-INF/classes/spring/camel-context.xml": Operation not
permitted (1)
rsync error: some files could not be transferred (code 23) at
/BuildRoot/Library/Caches/com.apple.xbs/Sources/rsync/rsync-52/rsync/main.c(996)
[sender=2.6.9]
error: exit status 23
{code}
Any idea?
Hot deploy of Spring Boot on OpenShift is not working with OpenShift
Online
---------------------------------------------------------------------------
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: online, 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}