-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Done
-
Affects Version/s: FIS 2.0
-
Fix Version/s: fuse-7.0
-
Component/s: FIS-Fabric8, FIS-STI
-
Labels:None
-
Sprint:Fuse 7.0 Sprint 23
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