Skip to content

Commit

Permalink
Bug 2079546: [release-4.10] call clearInitialNodeNetworkUnavailableCo…
Browse files Browse the repository at this point in the history
…ndition for noHostSubnet nodes

a correctly configured noHostSubnet node will never become avalible on
GCP because the unavailable condition will never be cleared.

slight changes required to make this work on 4.10
  • Loading branch information
JacobTanenbaum committed Apr 27, 2022
1 parent 1a1f1cb commit 6e475da
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions go-controller/pkg/ovn/ovn.go
Expand Up @@ -1141,7 +1141,9 @@ func (oc *Controller) WatchNodes() {
err := oc.lsManager.AddNoHostSubnetNode(node.Name)
if err != nil {
klog.Errorf("Error creating logical switch cache for node %s: %v", node.Name, err)
return
}
oc.clearInitialNodeNetworkUnavailableCondition(node)
return
}

Expand Down

0 comments on commit 6e475da

Please sign in to comment.