Details
-
Bug
-
Resolution: Done
-
Major
-
FIS 2.0
-
None
-
%
-
Fuse 7.0 Sprint 23
Description
Same as https://issues.jboss.org/browse/CLOUD-2070
jstat in a container built with the FIS images does not work
There are two reasons:
- jstat needs to have "whoami" reporting a valid username for the current UID (which is random on openshift)
- jstat needs to be able to write to /tmp/hsperfdata_<username> (probably "jboss") , if the given username was also used during s2i build, the directory would exist at runtime, but owned by a different UID. To fix that, /tmp/hsperdata_jboss should be removed during s2i build
see also
https://issues.jboss.org/browse/CLOUD-2070
and
https://issues.jboss.org/browse/CLOUD-1185