Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-29160

The example command for `oc adm copy-to-node` not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Critical Critical
    • 4.15.0, 4.16.0
    • 4.15.0, 4.16.0
    • oc
    • None
    • No
    • Rejected
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      The example command for `oc adm copy-to-node` does not work.

      Version-Release number of selected component (if applicable):

          4.16
          

      How reproducible:

         always
          

      Steps to Reproduce:

      1. oc adm copy-to-node --copy=new-bootstrap-kubeconfig=/etc/kubernetes/kubeconfig-test  -l node-role.kubernetes.io/master
      error: unable to get interesting nodes: at least one resource must be specified to use a selector
       echo $?
      1
      2.  oc adm copy-to-node --copy=new-bootstrap-kubeconfig=/etc/kubernetes/kubeconfig-test  
      error: unable to get interesting nodes: You must provide one or more resources by argument or filename.
      Example resource specifications include:
         '-f rsrc.yaml'
         '--filename=rsrc.json'
         '<resource> <name>'
         '<resource>'
       echo $?
      1
      

      Actual results:

      example command failed with error
      
          

      Expected results:

      no error 
          

      Additional info:

      
      

            aguclu@redhat.com Arda Guclu
            yinzhou@redhat.com ying zhou
            ying zhou ying zhou
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: