Uploaded image for project: 'Red Hat Fuse'
  1. Red Hat Fuse
  2. ENTESB-8669

jstat in container does not work

    XMLWordPrintable

    Details

    • 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

      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

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                maschmid Marek Schmidt
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: