Uploaded image for project: 'OpenShift Console'
  1. OpenShift Console
  2. CONSOLE-4506

Enable Logging for Node Debugging Sessions in OpenShift Console

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • Product / Portfolio Work
    • False
    • Hide

      None

      Show
      None
    • False
    • 3
    • None
    • None
    • OCP Console - Sprint 268

      As an OpenShift Console user, I want to view logs of all commands executed during a node debugging session so that I can track and audit actions taken on the node via the console.

      Current behavior:

      • When debugging a node via CLI (oc debug node/<node_name>), the <NodeName>-debug pod logs all executed commands.
      • When debugging a node via the Console (Compute -> Node -> Terminal), the debug pod is created in a dynamically generated namespace (openshift-debug-node-xxx), but its logs are inaccessible from both CLI and Console.{}

      Potential Fix: Ensure that the dynamically created debug pod in openshift-debug-node-xxx namespace follows the same logging behavior as CLI-based debugging.

      RFE: https://issues.redhat.com/browse/RFE-2551

       

      Acceptance Criteria:

      • Ensure that logs for the <NodeName>-debug pod are accessible in the Console UI under Workloads -> Pods -> <NodeName-debug> -> Logs.
      • Ensure that logs for the <NodeName>-debug pod are accessible via the CLI using{{}}
      • Ensure that the logs capture all commands executed within the debug session.
      • Ensure that logging behavior is consistent between CLI-based debugging and Console-based debugging.

              rh-ee-mziska Marek Ziska (Inactive)
              jhadvig@redhat.com Jakub Hadvig
              None
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: