Uploaded image for project: 'OpenShift Virtualization'
  1. OpenShift Virtualization
  2. CNV-39880

`oc debug` command does not work when AAQ enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • CNV v4.16.0
    • CNV v4.16.0
    • CNV Virtualization
    • None
    • High
    • No

      Description of problem:

      when AAQ enabled - `oc debug` command does not work (even when no any ARQ in the cluster)
      
      # AAQ Enabled:
      $ oc debug node/virt-den-415-4bfl6-worker-0-74h66
      The Pod "virt-den-415-4bfl6-worker-0-74h66-debug" is invalid: spec.nodeName: Forbidden: cannot be set until all schedulingGates have been cleared
      
      # No ARQ:
      $ oc get arq -A
      No resources found
      
      
      # AAQ Disabled:
      $ oc debug node/virt-den-415-4bfl6-worker-0-74h66
      Starting pod/virt-den-415-4bfl6-worker-0-74h66-debug ...
      .
      .
      sh-4.4#may be some other services affected..

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

      4.15

      How reproducible:

      100%

      Steps to Reproduce:

      1. enable AAQ on the cluster
      2. try to run `oc debug` for node or pods
      3.
      

      Actual results:

      error message:
      
      The Pod "virt-den-415-4bfl6-worker-0-74h66-debug" is invalid: spec.nodeName: Forbidden: cannot be set until all schedulingGates have been cleared

       

      Expected results:

      debug is working good

      Additional info:

       

              iholder@redhat.com Itamar Holder
              dshchedr@redhat.com Denys Shchedrivyi
              Denys Shchedrivyi Denys Shchedrivyi
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: