[
https://issues.jboss.org/browse/JBIDE-25700?page=com.atlassian.jira.plugi...
]
Andre Dietisheim edited comment on JBIDE-25700 at 3/14/18 2:51 PM:
-------------------------------------------------------------------
[~dbokde] I tried to pull the latest fabric8 image but I still have an image that
doesn't seem to have your changes:
{code}
docker images
REPOSITORY TAG
IMAGE ID CREATED SIZE
...
fabric8/s2i-java latest
992d04c9dc14 2 months ago 533MB
...
{code}
{code}
$ docker pull fabric8/s2i-java
Using default tag: latest
Trying to pull repository
registry.access.redhat.com/fabric8/s2i-java ...
Trying to pull repository docker.io/fabric8/s2i-java ...
sha256:9888dfb016bad29e4a48f8ec56bddbcdfefe95faf82734e1e0a2817a4940a866: Pulling from
docker.io/fabric8/s2i-java
c8838668d2c8: Already exists
a3ed95caeb02: Already exists
2c2e4de656f9: Already exists
1a4dbe2f4200: Already exists
b08937457aae: Already exists
8d73d0911e25: Already exists
73cbfc43e68c: Already exists
a110fd4351e7: Already exists
295565a18fa2: Already exists
658f48167ee5: Already exists
ec51e3b43a35: Already exists
e6f546e429ac: Already exists
a1795ccc147b: Already exists
b04703dfcd9a: Already exists
72665e3507c5: Already exists
0d5786bf8508: Already exists
2b854c9ab133: Already exists
e2077325b52b: Already exists
92b3a26daad2: Already exists
7a7dc272c13c: Already exists
f52a8d39604a: Already exists
306fa759ee23: Already exists
bb819bebf908: Already exists
95f393d11cbb: Already exists
2d20b1a85aa2: Already exists
Digest: sha256:9888dfb016bad29e4a48f8ec56bddbcdfefe95faf82734e1e0a2817a4940a866
Status: Image is up to date for docker.io/fabric8/s2i-java:latest
{code}
I therefore still face the permissions issue. I cannot change any file nor create new
ones.
Creating new ones is especially important if we want to be able to replace a library in
lib with a version that you edit in Eclipse (see JBIDE-25504 for further details).
What am I missing?
was (Author: adietish):
[~dbokde] I tried to pull the latest fabric8 image but I still have an image that
doesn't see to have your changes:
{code}
docker images
REPOSITORY TAG
IMAGE ID CREATED SIZE
...
fabric8/s2i-java latest
992d04c9dc14 2 months ago 533MB
...
{code}
{code}
$ docker pull fabric8/s2i-java
Using default tag: latest
Trying to pull repository
registry.access.redhat.com/fabric8/s2i-java ...
Trying to pull repository docker.io/fabric8/s2i-java ...
sha256:9888dfb016bad29e4a48f8ec56bddbcdfefe95faf82734e1e0a2817a4940a866: Pulling from
docker.io/fabric8/s2i-java
c8838668d2c8: Already exists
a3ed95caeb02: Already exists
2c2e4de656f9: Already exists
1a4dbe2f4200: Already exists
b08937457aae: Already exists
8d73d0911e25: Already exists
73cbfc43e68c: Already exists
a110fd4351e7: Already exists
295565a18fa2: Already exists
658f48167ee5: Already exists
ec51e3b43a35: Already exists
e6f546e429ac: Already exists
a1795ccc147b: Already exists
b04703dfcd9a: Already exists
72665e3507c5: Already exists
0d5786bf8508: Already exists
2b854c9ab133: Already exists
e2077325b52b: Already exists
92b3a26daad2: Already exists
7a7dc272c13c: Already exists
f52a8d39604a: Already exists
306fa759ee23: Already exists
bb819bebf908: Already exists
95f393d11cbb: Already exists
2d20b1a85aa2: Already exists
Digest: sha256:9888dfb016bad29e4a48f8ec56bddbcdfefe95faf82734e1e0a2817a4940a866
Status: Image is up to date for docker.io/fabric8/s2i-java:latest
{code}
I therefore still face the permissions issue. I cannot change any file nor create new
ones.
Creating new ones is especially important if we want to be able to replace a library in
lib with a version that you edit in Eclipse (see JBIDE-25504 for further details).
What am I missing?
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}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)