Newly added nodes are in NotReady state.

Solution Verified - Updated -

Issue

  • Newly added nodes are stuck in the NotReday state.

    $ oc logs ovnkube-master -c ovnkube-master
    
    2023-07-31T19:45:32.664131291Z I0731 19:45:32.664109       1 event.go:285] Event(v1.ObjectReference{Kind:"Node", Namespace:"", Name:"sandbox-5sd97-storage-nc6n2", UID:"xxxxxx-xxxxxx", APIVersion:"v1", ResourceVersion:"1241744", FieldPath:""}): type: 'Warning' reason: 'ErrorReconcilingNode' nodeAdd: error adding node "sandbox-storage": error allocating network for node sandbox-5sd97-storage-nc6n2: no subnets available.
    2023-07-31T19:45:32.664141990Z I0731 19:45:32.664130       1 event.go:285] Event(v1.ObjectReference{Kind:"Node", Namespace:"", Name:"sandbox-5sd97-storage-ngg4d", UID:"xxxxxx-xxxxxx", APIVersion:"v1", ResourceVersion:"1241753", FieldPath:""}): type: 'Warning' reason: 'ErrorReconcilingNode' nodeAdd: error adding node "sandbox-storage": error allocating network for node sandbox-5sd97-storage-ngg4d: no subnets available.
    
  • This is preventing the new nodes from starting because no IP address is available for the newly added nodes.

Environment

  • OpenShift Container Platform
    • 4.x
  • OVN-kubernetes

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content