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

NodeDisruptionPolicyStatus was not ready context deadline exceeded

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • premerge, 4.16.0
    • None
    • No
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      the node is in degraded state when enabling featuregate NodeDisruptionPolicy
      
      cloud.network.openshift.io/egress-ipconfig: '[{"interface":"eni-0a661acc82e4f09bf","ifaddr":{"ipv4":"10.0.32.0/19"},"capacity":{"ipv4":14,"ipv6":15}}]'
      csi.volume.kubernetes.io/nodeid: '{"ebs.csi.aws.com":"i-0eb124988fe42f9db"}'
      k8s.ovn.org/host-cidrs: '["10.0.60.100/19"]'
      k8s.ovn.org/l3-gateway-config: '{"default":{"mode":"shared","interface-id":"br-ex_ip-10-0-60-100.us-east-2.compute.internal","mac-address":"06:4a:37:05:35:ef","ip-addresses":["10.0.60.100/19"],"ip-address":"10.0.60.100/19","next-hops":["10.0.32.1"],"next-hop":"10.0.32.1","node-port-enable":"true","vlan-id":"0"}}'
      k8s.ovn.org/network-ids: '{"default":"0"}'
      k8s.ovn.org/node-chassis-id: 2703c0dc-b8d8-4319-b388-b742dd1c1398
      k8s.ovn.org/node-gateway-router-lrp-ifaddr: '{"ipv4":"100.64.0.3/16"}'
      k8s.ovn.org/node-id: '3'
      k8s.ovn.org/node-mgmt-port-mac-address: 96:ca:81:c9:14:7a
      k8s.ovn.org/node-primary-ifaddr: '{"ipv4":"10.0.60.100/19"}'
      k8s.ovn.org/node-subnets: '{"default":["10.129.0.0/23"]}'
      k8s.ovn.org/node-transit-switch-port-ifaddr: '{"ipv4":"100.88.0.3/16"}'
      k8s.ovn.org/remote-zone-migrated: ip-10-0-60-100.us-east-2.compute.internal
      k8s.ovn.org/zone-name: ip-10-0-60-100.us-east-2.compute.internal
      machine.openshift.io/machine: openshift-machine-api/rioliu-0422b-jvkwz-master-1
      machineconfiguration.openshift.io/controlPlaneTopology: HighlyAvailable
      machineconfiguration.openshift.io/currentConfig: rendered-master-bc5b96f3d748c5968a1d4395634870c2
      machineconfiguration.openshift.io/desiredConfig: rendered-master-2eccea6261ede12d987a08044d427853
      machineconfiguration.openshift.io/desiredDrain: drain-rendered-master-2eccea6261ede12d987a08044d427853
      machineconfiguration.openshift.io/lastAppliedDrain: uncordon-rendered-master-bc5b96f3d748c5968a1d4395634870c2
      machineconfiguration.openshift.io/lastObservedServerCAAnnotation: 'false'
      machineconfiguration.openshift.io/lastSyncedControllerConfigResourceVersion: '23698'
      machineconfiguration.openshift.io/reason: 'NodeDisruptionPolicyStatus was not ready:
        context deadline exceeded'
      machineconfiguration.openshift.io/state: Degraded
      volumes.kubernetes.io/controller-managed-attach-detach: 'true'
      
      this is a middle state, finally the rendered config can be applied on this node.

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

          

      How reproducible:

      always

      Steps to Reproduce:

      apply featuregate NodeDisruptionPolicy
      
      apiVersion: config.openshift.io/v1
      kind: FeatureGate
      metadata:
        name: cluster
      spec:
        featureSet: TechPreviewNoUpgrade 

      Actual results:

      node is in degraded state during featuregate enablement process

      Expected results:

      node should not be degraded

      Additional info:

          

              djoshy David Joshy
              rhn-support-rioliu Rio Liu
              Sergio Regidor de la Rosa Sergio Regidor de la Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: