Uploaded image for project: 'OpenShift Request For Enhancement'
  1. OpenShift Request For Enhancement
  2. RFE-2855

Add Node support for copy commands in oc

XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Normal Normal
    • None
    • None
    • oc
    • False
    • None
    • False
    • Not Selected

      1. Proposed title of this feature request
        Add node support to oc cp commands
      1. What is the nature and description of the request?
        The Must-Gather tool inherently is a 'snapshot' tool, as all data is collected upon command execution and collected back in the single command.
        `oc adm must-gather --image=<image>`

      Sometimes the OpenShift support teams require ongoing data collection, such as the PCAP collection.

      This has previously been recommended to be approached through the use of Must-Gather images:
      [PCAPs](https://issues.redhat.com/browse/RFE-2050)

      I would be useful to have a way to copy from 'Nodes' directly.

      This could do the following:

        1. Run `oc cp node/<node1>:<filepath> node/<node2>:<dirpath>
          1. Pods are started on Node1 & Node2
          2. Directory is converted into a TAR file
          3. TARs are streamed back to the workstation
          4. TARs are extracted
          5. Pods are teminated
      1. Why does the customer need this? (List the business requirements here)
        More complex problems in OpenShift require ongoing data collection in OpenShift. The Must-Gather copy cannot be used in the same command.
      1. List any affected packages or components.
        oc

              gausingh@redhat.com Gaurav Singh
              rhn-support-mwasher Michael Washer (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: