[
https://issues.jboss.org/browse/JBIDE-25700?page=com.atlassian.jira.plugi...
]
Andre Dietisheim commented on JBIDE-25700:
------------------------------------------
[~aurelien.pupier] just tried with the wildfly sample that's available on
https://console.starter-us-east-1.openshift.com and it works fine.
Files are owned by default/root but files created by oc rsync are owned by an unknown user
beloging to the root group
{code}
drwxrwxr-x. 3 default root 4096 Feb 27 14:12 configuration
drwxr-xr-x. 6 1113880000 root 84 Feb 27 14:12 data
drwxrwxr-x. 3 default root 81 Feb 27 14:28 deployments
drwxrwxr-x. 3 default root 17 Jan 29 2016 lib
drwxr-xr-x. 2 1113880000 root 24 Feb 27 14:11 log
drwxrwxr-x. 5 default root 67 Feb 27 14:12 tmp
{code}
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.AM2
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)