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

`oc debug` command does not work when AAQ enabled

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done-Errata
    • Icon: Blocker Blocker
    • CNV v4.15.2
    • CNV v4.15.0
    • CNV Virtualization
    • None
    • 3
    • False
    • Hide

      None

      Show
      None
    • False
    • aaq-operator-rhel9-container-v4.15.2-15
    • ---
    • ---
    • 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:
            9 Start watching this issue

              Created:
              Updated:
              Resolved: