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

jstat in container does not work

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • fuse-7.0
    • FIS 2.0
    • FIS-Fabric8, FIS-STI
    • 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

      Attachments

        Activity

          People

            Unassigned Unassigned
            maschmid@redhat.com Marek Schmidt
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: